New qmail + clamd + qmailscanner + spamassasin + greylisting

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
nobody
Forum Regular
Forum Regular
Posts: 349
Joined: Sun Mar 29, 2009 6:52 pm

New qmail + clamd + qmailscanner + spamassasin + greylisting

Unread post 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
Last edited by nobody on Sun Apr 10, 2011 10:03 am, edited 1 time in total.
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
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

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

Unread post 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.
nobody
Forum Regular
Forum Regular
Posts: 349
Joined: Sun Mar 29, 2009 6:52 pm

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

Unread post 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 ???
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
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

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

Unread post 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.
nobody
Forum Regular
Forum Regular
Posts: 349
Joined: Sun Mar 29, 2009 6:52 pm

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

Unread post 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 ?
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
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

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

Unread post 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.
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

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

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

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

Unread post 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.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

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

Unread post by mikeshinn »

Defense in Depth. Never ever rely on one thing to protect you.
Post Reply