Right now, I host few accounts where mail is actually _delivered_ locally. I mostly have mailing lists and vanity email addresses that actually forward mail elsewhere (hotmail, gmail, etc.)

Postfix is set up to use virtual_alias_domains and maps for all hosted domains.

Postfix calls DSPAM via a content filter that then reinjects mail back to another postfix process.

What happens is that mail to [EMAIL PROTECTED], which ultimately goes to [EMAIL PROTECTED], is processed by DSPAM using the [EMAIL PROTECTED] address. This means that these users cannot use the web tool. Local users (where [EMAIL PROTECTED] goes to [EMAIL PROTECTED]) are processed by DSPAM using the [EMAIL PROTECTED] address. I actually want this because [EMAIL PROTECTED] and [EMAIL PROTECTED] may both map to [EMAIL PROTECTED] and I don't want them to have separate DSPAM profiles to manage.

What I want is to have postfix delay alias mappings for the _externally delivered addresses_ but to do it for the _internal_ users. I thought that I could split the alias maps into external and internal and then de-alias the external _after_ DSPAM, but with alias maps, you cannot accept mail if the users aren't actually listed in the alias map initially.

Anyone know of a way that this could be accomplished in postfix?

Tks,

-Jason

!DSPAM:394,47424670250433681519548!


Reply via email to