OT - Sendmail and Unqualified addresses

Mark Nienberg mark at TIPPINGMAR.COM
Mon Jul 29 18:28:37 IST 2002


I had this problem.  I think I fixed it by turning off the
feature
FEATURE(always_add_domain)

that is, add dnl in front of it in sendmail.mc, then m4 it
again.

On 29 Jul 2002, at 11:24, Michael Dahlberg wrote:
> We are running Mailscanner on server1 with a mostly default
> configuration.  The MX record for our domain points to server1.
> Once messages have been scanned for viruses on server1, the
> messages are sent to the primary mail server, server2, which
> either delivers the local mail or sends mail to the appropriate
> mail server.  Server1 is used exclusively for virus scanning; it
> does not try to send mail to any other system other than server2.
> This is done using the MAIL_HUB and SMART_HOST defines (which
> point to server2) in the sendmail.mc.
>
> Occasionally, users will send mail out with unqualified
> addresses for local delivery.  Sendmail running on the
> Mailscanner system will add the fully qualified host address to
> the header/envelope, which confuses our users.  We'd like the
> header/envelope to be either left alone or rewritten from "user"
> to "user at localdomain.edu" (rather than
> "user at server1.localdomain.edu").  Unfortunately, the nocanonify
> feature does not correct this problem.  Masquerading does solve
> it but we have to use the allmasquerade feature,  which rewrites
> everything, preventing ultimate delivery to any other system on
> campus.


Mark W. Nienberg, SE
Tipping Mar + associates
Berkeley, CA
visit our website at http://www.tippingmar.com



More information about the MailScanner mailing list