> I am appending my /etc/postfix/main.cf
>
> When asking for help on this mailing list, please never paste your main.cf
> .
> Instead, as directed in DEBUG_README, paste the output of 'postconf -n'.
>

My apologies. I posted to this list after a long time, and am not,
evidently, well versed with postfix commands.


>
> > I shall be happy to provide (samples of) other configuration files, if
> > necessary.
> >
> > I shall be grateful if anyone could point me to a useful guide on the
> issue.
>
> Without really looking at your main.cf parameters, I suspect your
> "problem"
> has nothing to do with Postfix, and is due to an incomplete mutt
> configuration.  See the mutt manual for use_envelope_from if you are using
> a
> recent version; otherwise see envelope_from.  Also see:
> http://wiki.mutt.org/?MuttFaq/Header
>
> All follow-ups should probably go to the mutt mailing list.
>

This was a useful lead. This was, however, only part of the problem. I fixed
the envelope setting in mutt but postfix still changed the address.

The problem was solved by adding the following lines to main.cf

smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay

And then setting up sender_relay and sasl password authentication files
correctly.

The useful instructions on the matter were at
http://www.postfix.org/SASL_README.html#client_sasl_sender

Thanks for your help.

Vikas



>
> --
> Sahil Tandon <sa...@tandon.net>
>

Reply via email to