CentOS HowTos
Robert Moskowitz
rgm at htt-consult.com
Tue Dec 31 00:58:36 UTC 2013
On 12/30/2013 07:43 PM, Timothy Murphy wrote:
> Joe Zeff wrote:
>>> I'm really puzzled by the fact that none of the CentOS documentation
>>> I have looked at deals with what seems to me a rather important step
>>> in processing email.
>> Why should it? There's nothing about the process that's specific to
>> CentOS.
> It is a part of the postfix/amavis/clamav/spamassassin amalgam,
> which as far as I can see is now considered the standard CentOS setup,
> and which is well documented in the CentOS wiki.
>
> It just seems curious that what seems to me an important part of the setup
> is not described in the same way.
> As I see it, if you tag spam then you must want to do something with it.
Again, I did give you the variables to play with:
You need to edit /etc/amavisd/amavisd.conf
$mydomain = 'example.com'; # Edit: a convenient default
for other settings
$helpers_home = "$MYHOME/var"; # Uncomment: working
directory for SpamAssassin, -S
$myhostname = 'mail.example.com'; # Uncomment & Edit: must be
a fully-qualified domain name!
$log_level = 1; # set the log level to one
$sa_tag_level_deflt = -999; # i want to see the headers so change
to -99
$sa_tag2_level_deflt = 5.0; # start with 5
$sa_kill_level_deflt = 9; # change to 9
$sa_dsn_cutoff_level = 9; # change to 9
$sa_quarantine_cutoff_level = 50; # remove the starting # and
change to 50
$notify_method = 'smtp:[127.0.0.1]:10025'; # uncomment the line
$forward_method = 'smtp:[127.0.0.1]:10025'; # uncomment the line
$final_banned_destiny = D_BOUNCE; # change to D_DISCARD
$final_spam_destiny = D_PASS; #
http://www200.pair.com/mecham/spam/amavisd-settings.html
Play with these. First read the docs about what they do and set them to
take the action you wish.
'Everyone' sets these to their own tastes.
More information about the users
mailing list