Hi guys.
When you use qmail scanner it bypasses the spamassassin settings of each user for spam. Even if you disable spamassassin on a specific mailbox it doesn't matter if you are using qmail scanner.
Is there anyway to set qmail scanner not use spamassassin but simply scan for viruses on mail messages ? I haven't found an answer to that while searching ...
Thanks
Qmail scanner without spamassassin
Qmail scanner without spamassassin
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Qmail scanner without spamassassin
Yup, just edit it out in the @scanners array in qmail-scanner-queue.pl
Re: Qmail scanner without spamassassin
Hi Scott !
Thanks for your reply.
So if I comment out the following lines it will stop doing spamassassin check and spamassassin will only check if the user has enabled spamassassin in his mailbox ?
I also noticed this line and I was curious on what it actually means.
Thanks Scott !
Regards
Thanks for your reply.
So if I comment out the following lines it will stop doing spamassassin check and spamassassin will only check if the user has enabled spamassassin in his mailbox ?
Code: Select all
# Spamassassin settings
SA_SETTINGS="-d -c -m5 -H" # Default settings for spamd
SA_SQL="no" # [yes|no], runs spamassassin with the 'rcpt to' as option. Only use if mysql is enabled in SA
SA_DELTA="1" # [num]
SA_SUBJECT="****SPAM****" # <"some text">
SA_QUARANTINE="0" # [num], required_hits + sa_quarantine will go to SPAMDIR, 0 disables
SA_DELETE="0" # [num], required_hits + sa_delete will be deleted, 0 disables
SA_REJECT="no" # [yes|no], changes deletes to rejects
SA_ALT="no" # [yes|no], runs in *fast_spamassassin* mode and doesn't pass the '-u' optio
SA_DEBUG="no" # [yes|no], requires sa-alt: yes
SA_REPORT="no" # [yes|no], requires sa-alt: yes, sa-debug: yes
SA_FORWARD="" # <username@domain>, User to redirect quarantined spam mails, unmodified for sa-learn (not used)
SA_VERBOSE="no" # [yes|no], requires SA-FORWARD (not used)
Code: Select all
SETTINGS_PER_DOMAIN="yes"
Regards
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Qmail scanner without spamassassin
No, you have to edit the @scanners array in /var/qmail/bin/qmail-scanner-queue.pl. (Or make sure that SpamAssassin isn't running when you run qmail-scanner-reconfigure, I believe that works too.)nobody wrote:So if I comment out the following lines it will stop doing spamassassin check and spamassassin will only check if the user has enabled spamassassin in his mailbox ?Code: Select all
# Spamassassin settings SA_SETTINGS="-d -c -m5 -H" # Default settings for spamd SA_SQL="no" # [yes|no], runs spamassassin with the 'rcpt to' as option. Only use if mysql is enabled in SA SA_DELTA="1" # [num] SA_SUBJECT="****SPAM****" # <"some text"> SA_QUARANTINE="0" # [num], required_hits + sa_quarantine will go to SPAMDIR, 0 disables SA_DELETE="0" # [num], required_hits + sa_delete will be deleted, 0 disables SA_REJECT="no" # [yes|no], changes deletes to rejects SA_ALT="no" # [yes|no], runs in *fast_spamassassin* mode and doesn't pass the '-u' optio SA_DEBUG="no" # [yes|no], requires sa-alt: yes SA_REPORT="no" # [yes|no], requires sa-alt: yes, sa-debug: yes SA_FORWARD="" # <username@domain>, User to redirect quarantined spam mails, unmodified for sa-learn (not used) SA_VERBOSE="no" # [yes|no], requires SA-FORWARD (not used)
qmail-scanner has support for custom settings per domain (and even mailbox). See http://toribio.apollinare.org/qmail-sca ... omain.html or /usr/share/qmail-scanner/settings_per_domain.txt for more information.I also noticed this line and I was curious on what it actually means.Code: Select all
SETTINGS_PER_DOMAIN="yes"
Lemonbit Internet Dedicated Server Management