Discussion:
simscan not send rcpt address to spamassassin
Sossi Andrej
2010-02-19 14:39:49 UTC
Permalink
I'm a system administrator. In our company we use Qmail with vpopmail,
simscan, ClamAV and SpamAssassin on FreeBSD. All softwares are installed
from FreeBSD's ports.
Past week I updated SpamAssassin from version 3.2.5 to version 3.3. The
old version of SpamAssassin, when not founding userdir (home directory
of the user), scans the e-mail without using the user's prefers. The new
version of SpamAssassin, when not founding userdir, simply die.
From the documentation of simscan:
[...]
--enable-spamc-user=y|n

This option turns per-user spamassassin on or off. When enabled, the
email
address of the first rcpt to user is sent to spamassassin. This allows
spamassassin to use customized rules and settings for that email.
[...]

This is false. Simscan send "-u" parameter with first RCPT only if the
number or RCPT is 1. If the number of RCPT is greater than 1 simscan
doesn't send any "-u" parameter.
I corrected this bug with the patch in attach.
Is it possible to insert this patch in the next version of simscan?

Thanks
--
Sossi Andrej
-------------------------
DotCom Information technology

Via Trento, 16
34132 - Trieste (TS)
Italy

tel: +39 040 2158191
fax: +39 040 0641954
E-mail: asossi-***@public.gmane.org
----------------------------

Ai sensi del D.lgs n. 196 del 30.06.03 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie

This message, for the D.lgs n. 196 / 30.06.03 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.



!DSPAM:4b7ea2b632716660299226!
Loading...