Page 1 of 1

New qmail + clamd + qmailscanner + spamassasin + greylisting

Posted: Sat Nov 06, 2010 3:13 pm
by nobody
Ok. I recently switched from postfix to qmail.

I also installed the qmail scanner at that time and I have spamassasin as well + greylisting. Maybe I mixed too many things together ?

Now I am getting constantly errors that I never had before.

I seached the internet but didn't find something that is actually relative and focused to my case.

Error 1 :

Code: Select all

Nov  6 11:52:01 serverhostname spamd[8264]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /var/qmail/mailnames///.spamassassin/auto-whitelist.lock.plesk.8264 for /var/qmail/mailnames///.spamassassin/auto-whitelist.lock: No such file or directory 
Error 2 :

Code: Select all

Nov  4 17:35:40 serverhostname X-Qmail-Scanner-2.08st: [plesk12888847077905607] Unable to close pipe to /var/qmail/bin/qmail-queue.orig [61] (#4.3.0) - Illegal seek 
Error 3 :

Code: Select all

Hi. This is the qmail-send program at serverhostname.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<root@localhost.serverhostname>:
Sorry, I couldn't find any host named localhost.plesk. (#5.1.2)

--- Below this line is a copy of the message.

Any ideas ?

P.S : Offcourse "serverhostname" was changed by me its not a wrong configuration server hostname configuration :P

Re: New qmail + clamd + qmailscanner + spamassasin + greylis

Posted: Sat Nov 06, 2010 4:35 pm
by BruceLee
ERROR 1: do you run psa-spamassassin?
If so, remove it and just install spamassassin from ART.
After that configure the settings in /etc/qmail-scanner.ini and run
qmail-scanner-reconfigure

ERROR 2: It looks like an bug I remember discussed here in the forum. Which Plesk version do you use? Either a fix (microupdate) installed manually or the latest version might help.
Please read this post completely https://atomicorp.com/forums/viewtopic. ... n&start=30
before installing this patch http://forum.parallels.com/showpost.php ... stcount=51

ERROR 3: Could be a lot of things. First get the other errors fixed. After that it might be resolved.

Re: New qmail + clamd + qmailscanner + spamassasin + greylis

Posted: Sun Nov 07, 2010 12:19 pm
by nobody
Aha ...

I have installed on the system both !!! psa-spamassasin and the art spamassasin !!!!

Should I simply remove psa-spamassasin from yum ?

And then ? Will the configuration options for spamassasin in Plesk still be functional ???

Re: New qmail + clamd + qmailscanner + spamassasin + greylis

Posted: Sun Nov 07, 2010 12:26 pm
by BruceLee
I would remove both and reinstall ARTs spamassassin. You will have to configure it from scratch.
if you remove psa-spamassassin you will have to configure spamassassin via qmail-scanner.ini
and you will NOT have the interface you have with psa-spamassassin.
just config files.

Re: New qmail + clamd + qmailscanner + spamassasin + greylis

Posted: Sun Nov 07, 2010 4:49 pm
by nobody
BruceLee wrote:I would remove both and reinstall ARTs spamassassin. You will have to configure it from scratch.
if you remove psa-spamassassin you will have to configure spamassassin via qmail-scanner.ini
and you will NOT have the interface you have with psa-spamassassin.
just config files.
Don't you think that if you are using greylisting you are just fine ?

On the other mailserver that we use that has nothing to do with plesk and runs postfix and we only have greylisting we have zero spam as well.

So why make things so complex ?

I only installed qmail scanner due to the reason that many emails come infected because pc's infected spread the outlook contacts with the same virus.

Do we really need spamassasin ?

Re: New qmail + clamd + qmailscanner + spamassasin + greylis

Posted: Mon Nov 08, 2010 4:49 am
by BruceLee
I don't think it's that complex. After taking the time configuring and working into it it's fine.
Gre(a)ylisting does not handle all spam at all. Some emails still get trough and then they can be catched by spamassassin.
I would use spamassassin. It's up to you.

Re: New qmail + clamd + qmailscanner + spamassasin + greylis

Posted: Mon Nov 08, 2010 5:41 am
by biggles
Totally agree with Brucelee. Greylisting is great, especially for lessen the server load in detecting spammers. But at least I cannot live without spamassassin. The other way around is possible, but it some server power. So for me, it's greylisting, qmail-scanner with clamav and spamassassin.

Re setup. It's some things to fiddle with the first time you set it up. Then everything just runs. There are numerous threads discussing this on the forum.

Re: New qmail + clamd + qmailscanner + spamassasin + greylis

Posted: Mon Nov 08, 2010 11:36 am
by scott
Its an arms race, the badguys are good at what they do so you build layers into the anti-spam/anti-malware system to counter the various methods they use.

Re: New qmail + clamd + qmailscanner + spamassasin + greylis

Posted: Mon Nov 08, 2010 12:51 pm
by mikeshinn
Defense in Depth. Never ever rely on one thing to protect you.