On Thursday 26 March 2015 13:17:18 Matus UHLAR - fantomas wrote: > On 26.03.15 13:55, Nikolay Shaplov wrote: > >I am trying to send message with custom Return-Path via msmtp. > > > ># sendmail dhyan@...396... > >Return-Path: dhyan@...396... > > > >But the message I receive have Return-Path constructed by msmtp: > > > >Return-Path: <root@...397...> > > Return-Path: is header that some MTAs add to indicate senders' > envelope from. in this case, the envelope from: was apparently > root@...397... so the MTA added it to the mail delivered to > mailbox. > > change your envelope from... I am trying to configure sympa mailing list engine to be running at the separate virtual server. When it is runned on the same VM as as postfix, it uses posfix'es sendmail and somehow send mails wish [list-name]-owner@[list-domain] return path. Are there any way to make msmtp to take sender's "envelope from" from sympa (as postfix'es sendmail takes it) and pass it to the postfix as "envelope from"?
Attachment:
signature.asc
Description: This is a digitally signed message part.