Sendmail mungs sender address

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Dec 4 17:27:10 PST 2004


On 2004-12-04 08:01, orville weyrich <weyrich_comp at yahoo.com> wrote:
> I was running a FreeBSD 4.3 system.  It crashed and I built up a new
> FreeBSD 4.10 system.  But I cannot get Sendmail to work the way it did
> before.
>
> The relevant part of my network includes two hosts, call them FIRE and
> BASHFUL.  FIRE is my firewall machine, It runs FreeBSD 4.3 and has not
> changed.  It relays mail from my internal network to the world and
> back.  BASHFUL is behind the firewall, is my new 4.10 machine, and is
> configured to use FIRE as its "smart host."  FIRE is known to the
> universe as FIRE.MYDOMAIN.COM.
>
> I want mail sent from BASHFUL to carry a sender address of
> me at MYDOMAIN.COM.  Instead it carries a sender address of
> me at mailhost.MYDOMAIN.COM (if sent from pine on BASHFUL) or
> me at localhost.MYDOMAIN.COM (if sent from a command-line invocation of
> sendmail itself).  All changes to sendmail.cf and pine configuration
> seem to be ignored).
>
> What has changed that my outgoing mail is broken?  My incoming mail
> works fine.

What do the sendmail.mc and submit.mc files in your /etc/mail look like
in both hosts?  It seems like one of the machines is masquerading as
mailhost.MYDOMAIN.COM.



More information about the freebsd-questions mailing list