Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2002 10:05:57 +0200
From:      Munish Chopra <mchopra@engmail.uwaterloo.ca>
To:        questions@freebsd.org
Subject:   sendmail masquerading
Message-ID:  <20020421080557.GA48477@daemon.chronias.ninth-circle.org>

next in thread | raw e-mail | index | archive | help
Having a bit of trouble getting sendmail to masquerade properly.

I added the following lines to my .mc file:

MASQUERADE_AS(`rogers.com')
FEATURE(`masquerade_envelope')
FEATURE(`allmasquerade')

...then dumped it in /usr/share/sendmail/cf/cf and executed:

m4 /usr/share/sendmail/cf/m4/cf.m4 arcadia.mc > /etc/mail/sendmail.cf

...after which I restarted sendmail using 'killall -HUP sendmail'

But now I still get Data Format Errors (#65) when trying to send mail
with mutt. The sendmail log shows things like this:

Apr 21 03:54:08 dhcppc1 sm-mta[1951]: g3L7s8nI001951:
ruleset=check_mail, arg1=<munish@dhcppc1>, relay=localhost [127.0.0.1],
reject=553 5.1.8 <munish@dhcppc1>... Domain of sender address
munish@dhcppc1 does not exist
Apr 21 03:54:08 dhcppc1 sendmail[1950]: g3L7s8PH001950:
to=layth@eudoramail.com, ctladdr=munish (1001/1001), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30499, relay=localhost [127.0.0.1],
dsn=5.6.0, stat=Data format error
Apr 21 03:54:08 dhcppc1 sendmail[1950]: g3L7s8PH001950: g3L7s8PI001950:
DSN: Data format error

So, I'm obviously not getting the masquerading part right. Any input
would be appreciated. This is a -CURRENT system from March 19.

Please cc any replies, thanks.

-- 
-Munish

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020421080557.GA48477>