[EMAIL PROTECTED] writes: > I am attempting to migrate from FreeBSD 4.9/Exim 4.22/TMDA 0.85 to > FreeBSD 5.1/Exim 4.24/TMDA 0.87 > > Mostly my old configuration seems to work fine, except for > BOUNCE_ENV_SENDER, which is being set to the From address. > > Here is the line from my config file > > BOUNCE_ENV_SENDER="[EMAIL PROTECTED]" > > and here is a snippet from my tmda_incoming log > > Date: Sat Nov 8 08:49:27 AST 2003 > From: "Hilary Polk" <[EMAIL PROTECTED]> > Rept: "Hilary Polk" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subj: Customized home equity loans aokqekdydscpefdwwzcj > Actn: CONFIRM action_incoming (1971) > > Date: Sat Nov 8 08:49:27 AST 2003 > From: "Hilary Polk" <[EMAIL PROTECTED]> > Rept: "Hilary Polk" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subj: Customized home equity loans aokqekdydscpefdwwzcj > Actn: CONFIRM pending 1068295767.7048.msg (1971) > > Date: Sat Nov 8 08:49:28 AST 2003 > Sndr: <> > From: Mail Delivery System <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subj: Mail delivery failed: returning message to sender > Actn: OK (from <> ok) (4760) > > > I checked two things: > > 1) By telneting to port 25, I can send out mail with that > particular envelope sender.
As of 0.87, TMDA switched back to sending mail via the sendmail program (/usr/sbin/sendmail on FreeBSD). > 2) Looking at the logs, and checking the return path (on a > diffent host) indicates that the configuration really is > setting the envelope sender to [EMAIL PROTECTED] > > Any suggestions? > > Did something change in the handling of BOUNCE_ENV_SENDER from 0.85 to > 0.87 Nope. But perhaps /usr/sbin/sendmail doesn't end up calling the Exim version of sendmail. Sendmail (the real thing) won't allow you to change the envelope sender via the '-f' switch unless it is specifically configured to do so. I haven't looked at the 5.x line yet, but on later 4.x versions, /etc/mail/mailer.conf is used to set appropriate paths to alternate MTA programs, like sendmail. Any program that uses /usr/sbin/sendmail will end up consulting that file to determine which binary to actually use. man mailwrapper Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
