On Sat, Jun 14, 2003 at 10:34:11PM -0400, Tim Legant wrote: > Guy Middleton <[EMAIL PROTECTED]> writes: > > > My confirmation messages are coming from @localhost.obstruction.com, instead > > of from @obstruction.com as I expect. Any idea what's going on, before I dive > > into the code. I already set HOSTNAME in .tmda/config, it didn't have an > > effect. > > HOSTNAME doesn't play a part in this. The From: and Reply-To: > addresses are based on the envelope recipient address. Your machine > is delivering to <user>@localhost.obstruction.com. You'll have to > figure out why. If you provide us with a few more details, such as > what MTA you're using, any virtual/alias configuration, any forwarding > in effect, etc., we can probably help you figure it out.
It turns out this was due to a strange interaction between fetchmail and postfix, not caused by TMDA. In case anybody is interested, this is what happens. Fetchmail grabs a message, and delivers it to localhost via SMTP. When it does this, Postfix sets the RECIPIENT environment variable (as passed to procmail) to localhost.obstruction.com (which is one of the names of 127.0.0.1 in /etc/hosts). I can fix this either by getting fetchmail to connect to a real IP address on the machine (not elegant, but it works), or fixing the RECIPIENT environment variable in my .procmailrc file (expensive, but it works). Anyway, sorry for the confusion. :-) _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
