$QUARANTINEDIR is commented out.

So I need to set:

$QUARANTINEDIR = '/var/virusmails';

create with the right permission the dir:

/var/virusmails

More over I need to set:

 @spam_quarantine_to_maps = (
  { '.example.com' => '[EMAIL PROTECTED]', # spam for this domain goes here
    '.' => undef, # everyone else's spam is dumped (discarded)
  }
 );

In this way the messages are filtered for 'example.com' and moreover the
spam is all forwarded to [EMAIL PROTECTED]

Right?

BR,

rocsca

----- Original Message ----- 
From: "Gary V" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 11, 2005 5:16 PM
Subject: Re: [AMaViS-user] Redirect all spam for one domain into a mailbox


> Rocco wrote:
>
> > Hello,
> > $final_spam_destiny =  D_DISCARD;
>
> > the $sa_* are not set but the following is set:
>
> > $sa_tag_level_deflt  = 2.0;  # add spam info headers if at, or above
that level
> > $sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level
> > $sa_kill_level_deflt = 6.31; # triggers spam evasive actions
> > $sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent
>
> > $the spam_quarantine_to is not set
>
> Did you know that the default for $spam_quarantine_to is
'spam-quarantine'?
> So if you don't set this, you are actually using the default,
> which will quarantine your spam to your $QUARANTINEDIR. At least
> amavisd-new will try to quarantine there. It may fail if the
> $QUARANTINEDIR does not exist, or the amavisd-new user does not have
> permission to write to that directory. Look at your $QUARANTINEDIR
> setting, then look in that directory and let me know if you find
> many thousands of files there, or let me know if your $QUARANTINEDIR
> directory exists. If the amavisd-new user is unable to quarantine, you
> may have messages in your log like "FAILED: temporarily unable to
> quarantine". I think if amavisd-new was actually quarantining spam to
> your box, your machine would have crashed by now, so my guess would be
> you never created $QUARANTINEDIR (default is /var/virusmails).
>
> If you really don't want to quarantine, if you want to discard
> anything over 6.31 (for everyone except example.com), then this is the
> setting you are looking for:
>
> @spam_quarantine_to_maps = (
>  { '.example.com' => '[EMAIL PROTECTED]', # spam for this domain goes here
>    '.' => undef, # everyone else's spam is dumped (discarded)
>  }
> );
>
>
> >From RELEASE_NOTES:
> "- changed defaults for variables $virus_quarantine_to,
$banned_quarantine_to,
>   $bad_header_quarantine_to and $spam_quarantine_to from undef (no
quarantine)
>   to values 'virus-quarantine', 'banned-quarantine',
'bad-header-quarantine'
>   and 'spam-quarantine' respectively.  Set them to undef or '' (empty
string)
>   to disable quarantine;"
>
> Gary V
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> 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/



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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