On Sat, Jun 26, 2010 at 01:13:59AM +0200, Jeroen Geilman wrote: > On 06/26/2010 01:01 AM, Keld Simonsen wrote: > > > >My scenario is: > > > >I - or somebody else - submit the mail from another machine by a mail > >command: > > > > mail listn...@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. > > This is a weird construction. > Sendmail has to know all the addresses UPON SUBMISSION to be able to > modify the sender. > Think about this. > > You are depending on alias expansion AFTER submission. > > It's not going to work.
No it did not work. I also tried listname: "|/user/sbin/sendmail -XV :include: /some/file/in/filesystem" it did not work either - the include expansion was not done... Best regards keld