Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail scanner not working properly, see my logs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
scoy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2002
Posts: 95

PostPosted: Thu Apr 14, 2005 12:34 am    Post subject: qmail scanner not working properly, see my logs Reply with quote

I've tried my best to follow the 'qmail/vpopmail Virtual Mail Hosting System Guide' with some success. I can send and receive email just fine with no problems. The problem is using spamassassin/clamav/dcc with qmail-scanner. I followed the qmailrocks.org setup on a redhat machine and the spam filters worked awsome. With this new install some accounts that have been around for a while are getting 75+ spam per day. I used to be able to filter these out and add ':SPAM:' to the subject so mail clients to filter them locally.

I've read so many posts on these forums that my head is starting to spin. Can somebody take a look at my setup and try to help me figure out this problem?

I'll start with the errors I'm getting in the qmail logs...


Code:
# tail -f /var/log/qmail/qmail-smtpd/current
@40000000425db53c2808488c qmail-smtpd: Stray newline from XX.XX.XX.XX.
@40000000425db53c387fff34 X-Qmail-Scanner-1.25st: Process 23287 closed, parent process died



And a get a number of these ...
Code:
# tail -f /var/log/qmail/qmail-send/current
@40000000425dba0204639e7c delivery 69877: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@40000000425dba020463b5ec status: local 0/10 remote 2/20


I'm sure that's not enough information to solve this issue, but I don't know what else to post. Instead of posting every single config file I would like to see if anyone could point me in the right direction. Let me know if any other config/log would help solve this issue.

Thanks
Back to top
View user's profile Send private message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Thu Apr 14, 2005 8:57 am    Post subject: Reply with quote

when i had a problem with qmail-scanner it wrote some error messages into
the /var/spool/qmailscan/qmail-queue.log file. does it say anything in your file?
_________________
hegga
Back to top
View user's profile Send private message
scoy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2002
Posts: 95

PostPosted: Thu Apr 14, 2005 2:12 pm    Post subject: looks to be working Reply with quote

Code:
# tail -f /var/spool/qmailscan/qmail-queue.log
Thu, 14 Apr 2005 10:08:51 EST:1059: +++ starting debugging for process 1059 (ppid=1058) by uid=201
Thu, 14 Apr 2005 10:08:51 EST:1059: w_c: elapsed time from start 0.008188 secs
Thu, 14 Apr 2005 10:08:51 EST:1059: return-path='loans@primaverazing.com', recips=user@example.com'
Thu, 14 Apr 2005 10:08:51 EST:1059: from='Student Loan Department<loans@primaverazing.com>', subj='Student loan fixed interest rates as low as 1.625%', via SMTP from 140.186.153.158
Thu, 14 Apr 2005 10:08:51 EST:1059: clamdscan: finished scan in 0.051299 secs
Thu, 14 Apr 2005 10:08:53 EST:1059: SA: yup, this smells like SPAM - hits=6.1 - tagging message...
Thu, 14 Apr 2005 10:08:53 EST:1059: SA: required_hits 5.0 / sa_quarantine +2.1 / sa_delete +4.2
Thu, 14 Apr 2005 10:08:53 EST:1059: SA: finished scan in 1.501572 secs - hits=6.1
Thu, 14 Apr 2005 10:08:53 EST:1059: p_s: finished scan in 0.10723 secs
Thu, 14 Apr 2005 10:08:53 EST:1059: ini_sc: finished scan of "/var/spool/qmailscan/tmp/trunk11134913316941059"...
Thu, 14 Apr 2005 10:08:53 EST:1059: ------ Process 1059 finished. Total of 1.76469 secs


Well it seems to be working, which is a good thing. But how can I explain the log errors? I have another Gentoo server running the same setup and I don't get errors in my qmail logs.

I need to figure this out and cut down on the number of spams that don't get filtered.
Back to top
View user's profile Send private message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Fri Apr 15, 2005 7:50 am    Post subject: Reply with quote

ok, i think i found the answer for you in tha qmail-scanner mailinglist regarding the
qmail-scanner log message:
http://www.mail-archive.com/qmail-scanner-general@lists.sourceforge.net/msg06170.html

for the qmail-send error, it's probably a message it's trying to deliver that fails,
check the qmail queue to see if you find any.
_________________
hegga
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum