Hi,

I'm using the bsmtp format for quarantining my banned mails:
$banned_files_quarantine_method  = 'bsmtp:banned-%m';

Let's say I have a message with 3 recipients. 2 of them are not allowed to 
receive the mail (Blocked BANNED), 1 is allowed to receive (Passed BANNED):

(06436-01) Passed BANNED (.asc,FILE_ID.DIZ), [192.168.122.1] [192.168.122.1] 
<[email protected]> -> <allo...@localdomain>, quarantine: banned-
ONzLfQdpqUhL, Message-ID: <[email protected]>, 
mail_id: ONzLfQdpqUhL, Hits: 1.945, size: 3021381, queued_as: D31FB3EDE, 30513 
ms
(06436-01) Blocked BANNED (.asc,FILE_ID.DIZ), [192.168.122.1] [192.168.122.1] 
<[email protected]> -> 
<forbidd...@localdomain>,<forbidd...@localdomain>, quarantine: banned-
ONzLfQdpqUhL, Message-ID: <[email protected]>, 
mail_id: ONzLfQdpqUhL, Hits: 1.945, size: 3021381, 30513 ms

Now the resulting bsmtp file has all 3 recipients, even if the file is just 
blocked for 2 of them:

EHLO localhost
MAIL FROM:<[email protected]> BODY=7BIT
RCPT TO:<allo...@localdomain> ORCPT=rfc822;allo...@localdomain
RCPT TO:<forbidd...@localdomain> ORCPT=rfc822;forbidd...@localdomain
RCPT TO:<forbidd...@localdomain> ORCPT=rfc822;forbidd...@localdomain
DATA
...

When the admin later reviews the quarantine and releases the mail, the user 
allo...@localdomain gets the mail twice.

Is there a way to configure the bsmtp quarantine to just store the recipients 
the mail was blocked for?

Kind regards,

Gerd

-- 
Address (better: trap) for people I really don't want to get mail from:
[email protected]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to