postfix-users June 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: customizing received: headers

Re: customizing received: headers

From: Keld Simonsen <keld_at_nospam>
Date: Fri Jun 25 2010 - 23:01:59 GMT
To: Wietse Venema <wietse@porcupine.org>

On Fri, Jun 25, 2010 at 04:20:56PM -0400, Wietse Venema wrote:
> Keld Simonsen:
> > On Fri, Jun 25, 2010 at 08:56:49AM -0400, Wietse Venema wrote:
> > > Keld Simonsen:
> > > [ Charset ISO-8859-1 unsupported, converting... ]
> > > > On Thu, Jun 24, 2010 at 06:35:04PM -0400, Wietse Venema wrote:
> > > > > Keld Simonsen:
> > > > > > For postfix proper, does postfix invoke the postfix sendmail command somewhere
> > > > > > in the process as an MTA to deliver a mail, - for aliases expansion?
> > > > >
> > > > > The Postfix sendmail command RECEIVES mail INTO Postfix.
> > > > > The Postfix sendmail command is not used to DELIVER mail.
> > > >
> > > > OK, What can you recommend to me to have postfix do VERP
> > > > for a recipient listed in an alias file, and where this recipient
> > > > is specified via an :include: statement?
> > >
> > > You invoke "sendmail -XV ..." as per the instructions from Majordomo.
> > >
> > > Postfix VERP support works for remote and local recipients
> > > whether they are mailboxes or aliases.
> >
> > I am not using majordomo here, only postfix.
> >
> > So should I then have a sendmail -XV included in the alias file?
> > I do not do that for majordomo.
> > Or should I so something in master.cf with the SMPT handler or some such?
> >
> > Thanks for all your answers.
>
> As documented in VERP_README, use "sendmail -XV ..." to submit mail.
>
> VERP_README does not tell you to change aliases, so don't do that.

I still don't get it.

My scenario is:

I - or somebody else - submit the mail from another machine by a mail command:

    mail listname@domain.tld

This goes into postfix at my domain.tld MTA.

It gets expanded via my ailas file /etc/postfix/aliases :

listname: :include: /some/file/in/filesystem

....

I am now trying in the alias file something like

listname: "|/user/sbin/sendmail -XV listnameinclude"
listnameinclude: :include: /some/file/in/filesystem

It does generate new from addresses, but not with info on the
names in the include file.

Best regards
keld