|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Virtual aliases and "Delivered-To:" headerHi guys,
I have a problem setting up my postfix so it records all (virtual) aliases' expansions into e-mail headers. I have a postfix 2.6.5, amavis 2.6.3 and (virtual) delivery to dovecot 1.2.6 (on Gentoo which is probably not important). The thing is that I want e-mail headers to contain all aliases expansions, for example: * i have an alias mysql@... redirected to server@... * i have an alias server@... redirected to my personal e-mail, ales@... * i have a virtual mail box, in dovecot, ales@... These are only examples (of course) and there are more aliases than mysql@... (otherwise it would not make any sense). I would like to setup filtering rules in dovecot's sieve so it moves all e-mails sent to server@... (and all aliases that expand to this one) to some folder. I searched through all the Postfix documentation but did not found how to achieve this. My e-mail headers contain the "Delievered-To:" headers only for the first and the last e-mail in the aliases' expansion cycle (that is mysql@... and ales@...). It seems that some daemon, that does the aliases' expansion (cleanup?), logs only the first and the last e-mail address in the expansion cycle. So I tried adding "frozen_delivered_to=no" to main.cf, local daemon in master.cf, trivial-rewrite daemon in master.cf and some others but the result is always the same. So... is there a way how to record all aliases' expansions in the e-mail headers? Using directly the server@... e-mail address is an option but not much good for me. Thanks for your advice! Ales Krajnik |
|
|
Re: Virtual aliases and "Delivered-To:" headerAle? Krajn?k:
> So... is there a way how to record all aliases' expansions in the e-mail > headers? No. Postfix Delivery agents prepend X-Original-To: for the initial recipient and they prepend Delivered-To: for the final recipient. Postfix does not add information to a queue file once it has taken responsibility for delivery. This absence of queue file updates minimizes the risk of loss of mail due to queue file corruption. Wietse |
|
|
Re: Virtual aliases and "Delivered-To:" headerAleš Krajník a écrit :
> Hi guys, > > I have a problem setting up my postfix so it records all (virtual) aliases' > expansions into e-mail headers. > > I have a postfix 2.6.5, amavis 2.6.3 and (virtual) delivery to dovecot 1.2.6 > (on Gentoo which is probably not important). > > The thing is that I want e-mail headers to contain all aliases expansions, > for example: > * i have an alias mysql@... redirected to server@... > * i have an alias server@... redirected to my personal > e-mail, ales@... > * i have a virtual mail box, in dovecot, ales@... > > These are only examples (of course) and there are more aliases than > mysql@... (otherwise it would not make any sense). > > I would like to setup filtering rules in dovecot's sieve so it moves all > e-mails sent to server@... (and all aliases that expand to this one) > to some folder. > if your goal is to ease sieve filtering, consider using extensions in your aliases. for example, redirect mysql@... to server+mysql@..., ... etc. > I searched through all the Postfix documentation but did not found how to > achieve this. My e-mail headers contain the "Delievered-To:" headers only > for the first and the last e-mail in the aliases' expansion cycle (that is > mysql@... and ales@...). > > It seems that some daemon, that does the aliases' expansion (cleanup?), logs > only the first and the last e-mail address in the expansion cycle. So I > tried adding "frozen_delivered_to=no" to main.cf, local daemon in master.cf, > trivial-rewrite daemon in master.cf and some others but the result is always > the same. > > So... is there a way how to record all aliases' expansions in the e-mail > headers? Using directly the server@... e-mail address is an option > but not much good for me. > > Thanks for your advice! > Ales Krajnik > |
| Free embeddable forum powered by Nabble | Forum Help |