Keld Simonsen:
> On Sat, Jun 26, 2010 at 11:02:40PM +0200, Keld Simonsen wrote:
> > Hi
> > 
> > I now trached down my sendlail delivery line for my email
> > list server, and adding the -XV option I changed it to :
> > 
> > /usr/lib/sendmail -XV -odq -oee -oi -f $LIST-request $LIST-list < munge1$$
> > 
> > My problem is now that it does not generate the return addresses I want.
> > I want the recipient address to be reflected in the envelope, instead
> > I get the sender address:
> > 
> > 
> > > Fromm dansk-request+dansk-list=ghz.klid...@klid.dk  Sat Jun 26 22: 7:50 
> > > 2010
> > > Return-Path: <dansk-request+dansk-list=ghz.klid...@klid.dk>
> > > X-Original-To: k...@rap.rap.dk
> > > Delivered-To: k...@rap.rap.dk   
> > 
> > postfix-2.3.5-0.2.20060mlcs4
> 
> Nah, it does get the recipient address dansk-l...@klid.dk - but - it is not
> expanded via the *include* expansion. how do I do that? 
> 

With an aliases entry like this:
    whatever: :include:/file/name

If you don't have the machine itself listed in mydestination:
    /usr/lib/sendmail -XV ... -f stuff whate...@localhost ...

If you have the machine itself listed in mydestination:
    /usr/lib/sendmail -XV ... -f stuff whatever

        Wietse

Reply via email to