On Sat, Jun 26, 2010 at 05:55:09PM -0400, Wietse Venema wrote:
> 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

Oh, I may have been a bit unclear here. I was talking about VERP
expansion. That is that the from address gets expanded to
list-owner+recipient=recipient-dom...@site.tld

I do of cause have an include line of the kind you mention ala

     whatever: :include:/file/name

This does not  get expanded as VERP addresses with each of the email addresses
in the /file/name file, but only generated VERP addresses 
as list-owner+whatever=site....@site.tld

where "whatever" is the list name.

the mail does get sent to each recipient on the list, but with the list name
as the sender and bounce address in the envelope.

best regards
keld

Reply via email to