Hans,

> >        $suggested_filename =~ s{%(.)}
> >          {  $1 eq 'b' ? $msginfo->body_digest
> >           : $1 eq 'm' ? $msginfo->mail_id
> >           : $1 eq 'i' ? iso8601_timestamp($msginfo->rx_time,1,'-')
> >           : $1 eq 'n' ? am_id()
> >           : $1 eq '%' ? '%' : '%'.$1 }egs;

> Is this the default?

Yes it is a default, the %b, %m, %i and %n in quarantine method
get replaced by these respective items.

> I have no mail_to_local_mailbox or 
> $suggested_filename in my config file.

It is a code section from file amavisd, not in amavisd.conf.

> How can I add say envelope recipient and sender macros?

In the name of a quarantine file? It is a bit awkward, see
assignment to %Amavis::Conf::local_delivery_aliases in file
amavisd. You can have in 'virus-quarantine' or 'spam-quarantine'
some other code to generate a file name based on available
information, like the example entry 'sender-quarantine' there.

Trying to use recipient addresses in quarantine file name is even
trickier, because a single quarantine file can represent mail
to hundreds of recipients, and there is no room in the file name
to preserve them all - and it would look ugly anyway.

  Mark


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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