Arno,

> > To turn on also quarantining at tag3 level (which is:  CC_SPAMMY,1 ),
> > and direct it to a dedicated directory, something like the following
> > can be used:
> >
> > $sa_tag2_level_deflt = 6.2;  # add 'spam' headers at that level
> > $sa_tag3_level_deflt = 8;    # add 'blatant spam' headers
> >
> > # optional but nice:
> > @spam_subject_tag2_maps = ('***SPAM*** _SCORE_ ');
> > @spam_subject_tag3_maps = ('***BLATANT*SPAM**** _SCORE_ ');
> >
> > # quarantining at tag2 level (optional)
> > $quarantine_to_maps_by_ccat{+CC_SPAMMY} = ['spam-quarantine'];
> > $quarantine_method_by_ccat{+CC_SPAMMY} = 'local:spammy2/%m.gz';
> >
> > # quarantining at tag3 level (this is the one we are talking about)
> > $quarantine_to_maps_by_ccat{CC_SPAMMY.",1"} = ['spam-quarantine'];
> > $quarantine_method_by_ccat{CC_SPAMMY.",1"} = 'local:spammy3/%m.gz';
> >
> > # quarantining at kill level (a default, stated explicitly)
> > $quarantine_to_maps_by_ccat{+CC_SPAM} = ['spam-quarantine'];
> > $quarantine_method_by_ccat{+CC_SPAM} = 'local:spam/%m.gz';


> if I understand you and the example correct, there is no problem to
> generate a second (rest of all) quarantine - but how can I define a second
> quarantine email ? it would be nice, for example: [EMAIL PROTECTED] for
> all mail above $sa_tag3_level_deflt = 8. local quarantine on the UNIX 
> machine is not always questioned.
>  $sa_tag_level_deflt  = -900;
>  $sa_tag2_level_deflt = 0.2;
>  $sa_kill_level_deflt = $sa_tag2_level_deflt;
>  $spam_quarantine_to = "[EMAIL PROTECTED]";
> to send all mail above 0.2 points to [EMAIL PROTECTED]

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

The quarantine_to (resulting from %quarantine_to_maps_by_ccat)
(when quarantine_method is 'local:') can be a pseudo-alias 
like 'spam-quarantine' above, or can be an 'e-mail address'.

So instead of the (as above):
  $quarantine_to_maps_by_ccat{+CC_SPAMMY} =     ['spam-quarantine'];
  $quarantine_to_maps_by_ccat{CC_SPAMMY.",1"} = ['spam-quarantine'];
  $quarantine_to_maps_by_ccat{+CC_SPAM} =       ['spam-quarantine'];

you could do:
  $quarantine_to_maps_by_ccat{+CC_SPAMMY}     = ['[EMAIL PROTECTED]'];
  $quarantine_to_maps_by_ccat{CC_SPAMMY.",1"} = ['[EMAIL PROTECTED]'];
  $quarantine_to_maps_by_ccat{+CC_SPAM}       = ['[EMAIL PROTECTED]'];


To make it more obvious, you may want to replace the:
  $quarantine_method_by_ccat{+CC_SPAMMY}     = 'local:spammy2/%m.gz';
  $quarantine_method_by_ccat{CC_SPAMMY.",1"} = 'local:spammy3/%m.gz';
  $quarantine_method_by_ccat{+CC_SPAM}       = 'local:spam/%m.gz';
with:
  $quarantine_method_by_ccat{+CC_SPAMMY}     = 'smtp:127.0.0.1:10025';
  $quarantine_method_by_ccat{CC_SPAMMY.",1"} = 'smtp:127.0.0.1:10025';
  $quarantine_method_by_ccat{+CC_SPAM}       = 'smtp:127.0.0.1:10025';

although this is not required. The trick where quarantine_to contains
an '@' with method local: is just an ugly hack that has stayed
in the code for compatibility with old versions.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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