Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-23-2011, 09:50 AM
|
#1
|
Member
Registered: Jun 2011
Posts: 48
Rep: 
|
Installed clamav / spamassassin, now I have no email...
hi guys
I have a dedicated server which is running CentOS release 5.5
I'm still learning this as I go, but, frustrated at the amount of spam I was getting, I decided to install the Qmail scanner.
I followed the instructions here, all of which seemed to go well.
http://netweblogic.com/linux/mail/qm...r-linux-plesk/
however, now when I try to send mail I am getting the following error:
The mail server responded: qq temporary problem (#4.3.0).
does anyone have any ideas? thanks in advance
|
|
|
06-23-2011, 12:11 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,281
|
If you're just learning this, drop qmail and use something configurable and secure like postfix.
If you're stuck with qmail, go to http://www.lifewithqmail.org and start there.
The thing with qmail-1.03 is that mail is delivered via qmailqueue. It is not spam network friendly. There is a patched qmail (netqmail-1.05) which uses a $QMAILQUEUE variable to say what should be doing the delivering, and this changes during a delivery, iirc. I never sorted it and went down in flames, btw.
Also, if your mailboxes are not owned by the user perms 0600, things freak.
|
|
|
06-23-2011, 05:02 PM
|
#3
|
Member
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 119
Rep:
|
Quote:
Originally Posted by highrise
hi guys
I have a dedicated server which is running CentOS release 5.5
I'm still learning this as I go, but, frustrated at the amount of spam I was getting, I decided to install the Qmail scanner.
I followed the instructions here, all of which seemed to go well.
http://netweblogic.com/linux/mail/qm...r-linux-plesk/
however, now when I try to send mail I am getting the following error:
The mail server responded: qq temporary problem (#4.3.0).
does anyone have any ideas? thanks in advance
|
Yes, you have to put qmail-scanner inside the QMAILQUEUE environment variable, hopefully modifing your tcp.smtp
If you want to test simscan (a mail scanner from inter7.com) I have a short guide here http://notes.sagredo.eu/node/38.
|
|
|
06-23-2011, 10:04 PM
|
#4
|
Member
Registered: Jun 2011
Posts: 48
Original Poster
Rep: 
|
thanks guys. How do I put the qmail-scanner insider that environment variable? don't know enough about this really.
The whole thing is running really slowly now and I am not getting all my messages. Is what I have done reversible even? Any help is much appreciated.
thanks in advance.
UPDATE: I have had a look at the logs and I am getting the following error:
error_condition: X-Qmail-Scanner-2.08st: clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2
I have gone through all the directories and CHOWN them to qscand but this has not helped. I don't mind if I have to go back to getting the spam, I just want my email to work again 
Last edited by highrise; 06-23-2011 at 11:10 PM.
|
|
|
06-24-2011, 03:44 AM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,281
|
A simple test is to throw things around This is all extremely rusty
cat testmail |spamc -r(?) for a spam report
cat testmail > 127.0.0.1:25
etc.
|
|
|
06-24-2011, 03:38 PM
|
#6
|
Member
Registered: Jun 2011
Posts: 48
Original Poster
Rep: 
|
I tried those commands and I just got 'unknown file or directory'
|
|
|
06-25-2011, 03:48 AM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,281
|
Quote:
Originally Posted by highrise
I tried those commands and I just got 'unknown file or directory'
|
Save a mail off as testmail. I forgot that bit. Any mail will do, but it helps if it triggers at least one rule in spamassassin. I would also save off some spam and some viruses individually, as you want to see spamassassin & clamav clamp their jaws on them.
|
|
|
06-25-2011, 08:28 AM
|
#8
|
Member
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 119
Rep:
|
Hi, you wrote me in private but my reply bounced: 451 qq temporary problem (#4.3.0) (state 18)
ANyway, I can be on help just on simscan, as I dropped qmail-scanner years ago
Roberto
Quote:
Originally Posted by highrise
thanks guys. How do I put the qmail-scanner insider that environment variable? don't know enough about this really.
The whole thing is running really slowly now and I am not getting all my messages. Is what I have done reversible even? Any help is much appreciated.
thanks in advance.
UPDATE: I have had a look at the logs and I am getting the following error:
error_condition: X-Qmail-Scanner-2.08st: clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2
I have gone through all the directories and CHOWN them to qscand but this has not helped. I don't mind if I have to go back to getting the spam, I just want my email to work again 
|
|
|
|
06-27-2011, 08:17 AM
|
#9
|
Member
Registered: Jun 2011
Posts: 48
Original Poster
Rep: 
|
just in case anyone has a similar issue - in the end I just ran:
yum remove qmail-scanner
and the system started receiving email again. It seems Plesk uses its own config and build of qmail.
|
|
|
All times are GMT -5. The time now is 09:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|