1

Topic: [SOLVED] Unexpected quarantine behavior

Hey ZhangHuangbin,

Is there anyway to configure amavisd so that it does quarantining (mysql) per-recipient, not by originating message?

I've tested by sending a spam/virus check from iredmail to multiple (let say 4) recipients, and the quarantine list showed that there are 4 quarantined outgoing messages.
When I take an action to one of the quarantined message, all 4 messages get the same action.
eg, releasing 1 message makes all 3 other messages get released too.

2

Re: [SOLVED] Unexpected quarantine behavior

No idea yet, you can try to ask in Amavisd mail list. Sorry.

3 (edited by beez 2011-06-22 18:15:06)

Re: [SOLVED] Unexpected quarantine behavior

edit: I found the solution,
in /etc/postfix/main.cf

add
smtp-amavis_destination_recipient_limit = 1

IMHO this is better to control which mail to release,delete for multi-recipient addresses

4

Re: [SOLVED] Unexpected quarantine behavior

That's cool.
Does iRedAdmin-Pro work well (Viewing quarantined mails) with this setting?

5

Re: [SOLVED] Unexpected quarantine behavior

ZhangHuangbin wrote:

That's cool.
Does iRedAdmin-Pro work well (Viewing quarantined mails) with this setting?


Yea, works perfectly.

this setting only change the way postfix handle recipients list for amavisd so that each get different mail-id.

6

Re: [SOLVED] Unexpected quarantine behavior

Great. Committed into iRedMail:
http://code.google.com/p/iredmail/sourc … 05ec5d7a12