Date: Thu, 9 May 2002 00:47:48 +0200 From: Munish Chopra <mchopra@engmail.uwaterloo.ca> To: freebsd-questions@freebsd.org Subject: Sendmail masquerades (again) Message-ID: <20020508224748.GA97121@daemon.chronias.ninth-circle.org>
next in thread | raw e-mail | index | archive | help
Well the masquerades are still troubling me. When trying to send mail to -hackers/-current, I get the following in my log: May 8 18:34:08 dhcppc1 sendmail[43659]: g48MY7YS043659: to=current@FreeBSD.ORG, ctladdr=mchopra@engmail.uwaterloo.ca (1001/1001), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30820, relay=localhost [127.0.0.1], dsn=2.0.0, stat=Sent (g48MY8jA043660 Message accepted for delivery) May 8 18:34:21 dhcppc1 sm-mta[43662]: g48MY8jA043660: to=<current@FreeBSD.ORG>, delay=00:00:13, xdelay=00:00:13, mailer=esmtp, pri=31064, relay=hub.freebsd.org. [216.136.204.18], dsn=4.2.0, stat=Deferred: 450 <dhcppc1>: Helo command rejected: Host not found So it's accepted for delivery, then deferred because of a hostname check? (just trying to make sure I understand the messages correctly) To get the masquerade going, I did the following: MASQUERADE_AS(`rogers.com') FEATURE(`masquerade_envelope') FEATURE(`allmasquerade') ...all added to the freebsd.mc file (which was renamed arcadia.mc). cd /usr/share/sendmail/cf/cf (dumped mc file here) m4 /usr/share/sendmail/cf/m4/cf.m4 arcadia.mc > /etc/mail/sendmail.cf killall -HUP sendmail Then, upon a suggestion from someone on this list, I added this to my .muttrc: my_hdr From: Your Name <valid@email.address> set envelope_from=yes set use_from This worked fine for most things, but still leaves me unable to send mail to the freebsd lists. It also screws up my nightly reports mailed to root (the come in with the subject line 'Returned Mail...'. So, could someone explain to me what's going on and what I'm doing wrong? I believe a while back when I had to masquerade this machine I had everything going fine without the need to add those three lines to my .muttrc - I'd like to get back to that but unfortunately I never wrote down what I did (back in the super newbie days). I'd really appreciate any help. 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?20020508224748.GA97121>