Inet-Admins mailing list archive (inet-admins@info.east.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: update Re: [inet-admins] UUCP to SMTP
>>>>> "E" == Evgeniy Denisov <dve@lab321.ru> writes:
E> Date: Wed, 04 Sep 2002 10:40:51 +0700
E> To: inet-admins@info.east.ru
E> Sergey Mukhin пишет:
опять промахнулся, извините :-[ таки нельзя одновременно
делать две вещи.
надо:
echo '3,0 l321.ru!sales' | sendmail -bt -d21.20 | less
или
sendmail -bv -d21.20 'l321.ru!sales' | less
обращаем внимание на слова
rule matches: и rewritten as:
Менять надо перед этими строками:
# resolve locally connected UUCP links
R$* < @ $=Z . UUCP. > $* $#uucp-uudom $@ $2 $: $1 < @ $2 .UUCP. > $3
R$* < @ $=Y . UUCP. > $* $#uucp-new $@ $2 $: $1 < @ $2 .UUCP. > $3
R$* < @ $=U . UUCP. > $* $#uucp-old $@ $2 $: $1 < @ $2 .UUCP. > $3
в отладке видно, что именно туда приходит.
Например, штатный uucpproto.cf достаточно изменить так:
$ diff -bc
/home/violet/soft/mail/sendmail/sendmail-8.12.5.V/cf/cf/uucpproto.cf
/tmp/uucpproto.cf
*** /home/violet/soft/mail/sendmail/sendmail-8.12.5.V/cf/cf/uucpproto.cf
Tue Sep 3 18:09:38 2002
--- /tmp/uucpproto.cf Wed Sep 4 15:03:26 2002
***************
*** 90,95 ****
--- 90,97 ----
C{ResOk}OKR
+ DXl321
+
# Hosts for which relaying is permitted ($=R)
FR-o /etc/mail/relay-domains
***************
*** 761,766 ****
--- 763,769 ----
R$=L < @ $=w . > $#local $: @ $1 special local names
R$+ < @ $=w . > $#local $: $1 regular local
name
+ R$* < @ $X . UUCP. > $* $#esmtp $@ l321.ru $: $1 @ l321.ru
# resolve locally connected UUCP links
R$* < @ $=Z . UUCP. > $* $#uucp-uudom $@ $2 $: $1 < @ $2 .UUCP. > $3
( если отвлечься от того, что там нет Mesmtp; у вас он быть должен )
>> 2) делаем
>> echo '3,0 этот адрес' | sendmail -bd -d21.20 | less
>>
E> Делаю
E> echo '3,0 l321.ru!sales' | sendmail -bd -d21.20 |
E> а в ответ тишина
E> вот кусок логов может поможет:
E> Aug 22 05:25:50 inet sendmail[27313]: g7LMPoP27313:
E> from=ltusm2.commed.ru!eurobusiness.ru!price, size=148706, class=0,
E> nrcpts=1, msgid=<auto-000139215650@frontend2.aha.ru>, proto=UUCP,
E> relay=uucp@localhost
E> Aug 22 05:25:50 inet sendmail[27313]: g7LMPoP27313: to=l321!sales,
E> ctladdr=ltusm2.commed.ru!eurobusiness.ru!price (10/14), delay=00:00:00,
E> xdelay=00:00:00, mailer=uucp-old, pri=178706, relay=l321, dsn=2.0.0,
E> stat=Sent
E> =============================================================================
E> "inet-admins" Internet access mailing list. Maintained by East Connection
ISP.
E> Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
E> Archive is accessible on http://info.east.ru/rus/inetadm.html
--
------------------------------------------------------------------------
Sergey Mukhin |
Head of Internet department | http://sm.msk.ru/
WestCall LTD, Moscow, Russia | SM45-RIPE
------------------------------------------------------------------------
* If you can't learn do it well learn to enjoy doing it badly. *
------------------------------------------------------------------------
=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html
|