Aleš 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 [email protected] redirected to [email protected] > * i have an alias [email protected] redirected to my personal > e-mail, [email protected] > * i have a virtual mail box, in dovecot, [email protected] > > These are only examples (of course) and there are more aliases than > [email protected] (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 [email protected] (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 [email protected] to [email protected], ... 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 > [email protected] and [email protected]). > > 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 [email protected] e-mail address is an option > but not much good for me. > > Thanks for your advice! > Ales Krajnik >
