All variables you mention are unset  in my amavisd.conf

Le Friday 23 May 2008 07:58:28 Mark Martinec, vous avez écrit :
> Luis Daniel,
>
> > I saw that amavis can disperse quarantine, but how I made this?  I've
> > already specify number at amavisd.conf but at my quarantine dir all spam
> > seems to be in same dir.
> >
> > $QUARANTINEDIR = '/var/spool/amavis/virusmails';  # -Q
> > $quarantine_subdir_levels = 5;
>
> That should suffice (with other settings at default) to split a
> spam directory into 62 subdirectories. Btw, the $quarantine_subdir_levels
> value is only checked to be either greater or equal to 1, or zero.
> The exact value does not matter, amavisd currently provides only one
> level of automatically generated subdirectories (or none).
>
> Have you modified a %local_delivery_aliases? What are your
> setting for $spam_quarantine_to and $spam_quarantine_method
> (or their @spam_quarantine_to_maps, %quarantine_method_by_ccat
> and %quarantine_to_maps_by_ccat big brothers)?
>
> This is what I'm driving at: if a mapping of your *_quarantine_to
> through %local_delivery_aliases provides a fixed name for a quarantine
> file, then $quarantine_subdir_levels is ignored.
>
> Besides the 62-way split $quarantine_subdir_levels, there are
> other possibilities for separating quarantine files, e.g.
> have separate directories for spam, viruses, banned, badh:
>
> $virus_quarantine_method        = 'local:virus/%m';
> $banned_files_quarantine_method = 'local:banned/%m';
> $spam_quarantine_method         = 'local:spam/%m.gz';
> $bad_header_quarantine_method   = 'local:badh/%m';
> $clean_quarantine_method        = 'local:clean/%m';
> $archive_quarantine_method      = 'local:archive/%m.gz';
>
> or perhaps as posted with a patch yesterday (only a small subset
> of the posted patch is needed (ask if you want it separate),
> providing a %P substitution in a quarantine file name generation
> template), have per-week quarantine subdirectory(ies), e.g.
>
> $sql_partition_tag =
>   sub { my($msginfo)[EMAIL PROTECTED]; iso8601_week($msginfo->rx_time) };
> $virus_quarantine_method = 'local:W%P/virus/%m';
> $spam_quarantine_method  = 'local:W%P/spam/%m.gz';
>
>   Mark
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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