Emails factices et reception de dizaines de spam

Slt,

Pour

C’est une ligne à rajouter car non présente à l’origine ?

[code]# /etc/default/spamassassin

Duncan Findlay

WARNING: please read README.spamd before using.

There may be security risks.

Change to one to enable spamd

ENABLED=1

Options

See man spamd for possible options. The -d option is automatically added.

SpamAssassin uses a preforking model, so be careful! You need to

make sure --max-children is not set to anything higher than 5,

unless you know what you’re doing.

OPTIONS="–create-prefs --max-children 5 --helper-home-dir"

Pid file

Where should spamd write its PID to file? If you use the -u or

–username option above, this needs to be writable by that user.

Otherwise, the init script will not be able to shut spamd down.

PIDFILE="/var/run/spamd.pid"

Set nice level of spamd

#NICE="–nicelevel 15"

Cronjob

Set to anything but 0 to enable the cron job to automatically update

spamassassin’s rules on a nightly basis

CRON=0
[/code]

oui tu rajoute la ligne
et tu passe CRON=1

Slt,

j’ai une erreur pour /etc/default/spamassassin

[quote]Jun 22 14:42:20.543 [20044] error: spamd: unable to determine home directory for user 'spamd’
spamd: unable to determine home directory for user ‘spamd’
[/quote]
:confused:

il faut créer le user spamd

useradd --home /var/lib/spamassassin --create-home --system spamd

changer le propriétaire du répertoire /var/lib/spamassassin

chown spamd:spamd /var/lib/spamassassin

la j’ai fait une erreur dans /etc/default/spamassassin :013 remplace la ligne
par celle de dessous

OPTIONS="--create-prefs --max-children 5 --helper-home-dir --username spamd -H /var/lib/spamassassin -s /var/log/spamd.log"

vérifie avant si tu a /var/lib/spamassassin