On Tue, Aug 01, 2000 at 04:33:42PM +0000, [EMAIL PROTECTED] wrote:
> Hello,
> 
> I have come across a minor problem with mutt-1.2.5: when I bounce
> a message, my ISP's SMTP server always refuses to accept it.

I have a similair problem -- bounced messages are lost and never reach
the destination.

> It tries 
> to resolve my home computer's name, and since the address look-up always 
> fails it refuses the connection attempt from my local MTA.
> 
> Can you tell me why this happens?

I think I can.  I've set $sendmail to a wrapper script and noticed, that
the "-f user@host" is not added when bouncing a message, despite
$envelope_from being turned on.

> In my .muttrc I set the variable envelope_from, which fills the "From "
> field in all my sent/forwarded emails correctly (by "hiding" my local address),
> but perhaps this doesn't work with bounced emails and my local address 
> ([EMAIL PROTECTED]) show up in the header and confuses my ISP's 
> server. If this is the problem, how can I overcome it?

You can add -fyour@address to $sendmail variable or you can make your
MTA do envelope masquerading.  These solutions are not perfect, as they
override $envelope_from (I think... what would sendmail do if it got
two -f options?), and sometimes you need to have your envelope from
equal to the From: field.

Marius Gedminas
-- 
Q:      Why do mountain climbers rope themselves together?
A:      To prevent the sensible ones from going home.

Reply via email to