Sendmail 8.13.x and uucp
A bit of help from sendmail gurus pls
I recently upgraded to sarge with sendmail 8.13.x a machine that is both email
and uucp getaway (connected to uucp machines straight with modems).
Please DO NOT ask WHY I use uucp, there are specific reasons for this.
The machine used to have sendmail 8.9.x and the setup described below used to
work for years. UUCP setup is working fine, and also I can send outgoing
messages with sendmail without a problem. Receiving messages from uucp to
sendmail is the problem.
With 8.13.x, when I receive a mail from uucp, let say from myfriend!uucp,
rmail sends it to MSP, which is rewriting it as
myfriend!uucp@getaway.mydomain.com. With the old setup an address like this
was acceptable from sendmail. Now MTA rejects it as "sender's domain does not
exist". I tried to force MSP to rewrite it as myfriend!uucp@mydomain.com, but
again MTA rejects it. Mind that both 'getaway.mydomain.com' and
'mydomain.com' are resovalble, and they are accepted by sendmail if used with
an smtp address. It seems that MTA has a problem with the mixed uucp+smpt
address. Mind also that -since the machine is also email getaway- I can not
afford allowing unresolved domains. I finally used in submit.mc :
FEATURE(`uucpdomain')dnl
and in /etc/mail/uudomain :
myfriend!uucp mydomain.com
which forces MSP to rewrite to uucp@mydomain.com. This is acceptable from MTA
and I can receive the messages, but of course this way I can not reply to the
sender. Unfortunatelly I have more than one uucp sites connected, so this
trick is not working.
Any help will be match appriciated.
----- setup below ------
In sendmail.mc (among others) I have :
CUmyfriend # real uucp
CUmyfriend2 # real uucp
CUmyfriend3 # real uucp
CUmyfriend4 # real uucp
define(`UUCP_MAILER_ARGS',`uux - -z -a$g -gC $h!rmail ($u)')dnl
define(`UUCP_MAILER_MAX',`200000000')dnl
FEATURE(`mailertable')dnl
and at the end:
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
MAILER(uucp)dnl
In /etc/mail/mailertable I have :
myfriend.mydomain.com uucp:myfriend
myfriend2.mydomain.com uucp:myfriend2
myfriend3.mydomain.com uucp:myfriend3
myfriend4.mydomain.com uucp:myfriend4
And in local-host-names (among others)
getaway.UUCP
--
Rgrds
iik1
Reply to: