Bruno,

> I found the following in the amavisd.conf-sample:
> $spam_quarantine_method = 'local:spam-%m.gz';
> but did not found explanation about its syntax or parameters.

http://www.ijs.si/software/amavisd/amavisd-new-docs.html#quarantine

> What is %m ?

RELEASE_NOTES:

  For the record, here is a complete list of place-holders currently
  recognized in filename templates:
    %P  =>  $msginfo->partition_tag
    %b  =>  $msginfo->body_digest
    %m  =>  $msginfo->mail_id
    %n  =>  $msginfo->log_id
    %i  =>  iso8601 timestamp of a message reception time by amavisd
    %%  =>  %

> I would like to spam_quarantine to the personal spam folder
> defined for each user.
> Is this possible with $spam_quarantine_method ?

Not really, quarantining works per-message, not per-recipient.
The difference would show with multi-recipient messages.

What you probably need is to let amavisd tag spam messages with
an address extension (plus addressing), e.g. changing recipient
address from [email protected] to [email protected], then
configure your MTA and its local delivery agent (or IMAP server)
to deliver such tagged messages to users' dedicated folders.

amavisd.conf:

$recipient_delimiter = '+';
$addr_extension_spam = 'spam';
$final_spam_destiny = D_PASS;

Postfix main.cf:

recipient_delimiter = +

Cyrus/Dovecot/... :

consult its documentation


  Mark


------------------------------------------------------------------------------
Download Intel® 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