3

We have a configuration where we have multiple shared IMAP folders (using dovecot) for a given group of people (e.g one for ressort A, one for ressort B). These groups have a mailaddress e.g. [email protected] and [email protected]. The people of this group can decide that they want the mail to be forwarded to an external account. (e.g. [email protected])

I implemented this using virtual_alias_maps (e.g. [email protected] -> [email protected], [email protected])

now we have implemented spamassassin (postfix -> spamassassin -> postfix) where the first iteration does no alias resolution but just accepts the mail if the rcpt to address exists and the second iteration through postfix then resolves the aliases.

my problem is, that I do not want our server to actually send spam to those external accounts, but place the spam in a Spam/Junk folder on the local dovecot. so, I do not want the alias lookups to happen (or that they work differently) when the X-Spam: yes header is set.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.