LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-12-2011, 02:27 AM   #1
aliabbass
Member
 
Registered: Jun 2008
Posts: 57

Rep: Reputation: 0
problem in the qmail server running in the secondary office


hi. there is qmail server running in the secondary office and it was working fine. yesterday qmail suffered some problem.i came to know about the problem today.now after troubleshooting and looking into the server, the qmailclt stat commands shows that all services are working and there is nothing going crazy in the server. The maillog is showing errors which i am pasting here for the convienance. i hope that somebody will get to the problem and suggest some solution.

# tail -f /var/log/maillog
Feb 12 13:05:37 mail X-Antivirus-MYDOMAIN-1.25-st-qms: [mail.marriott-city.com12974979367752852] Unable to open pipe to /var/qmail/bin/qmail-queue [72057594037927935] (#4.3.0) - Broken pipe
Feb 12 13:05:37 mail X-Antivirus-MYDOMAIN-1.25-st-qms: [mail.marriott-city.com12974979367752852] Unable to close pipe to /var/qmail/bin/qmail-queue [255] (#4.3.0) - Illegal seek
Feb 12 13:05:37 mail spamd[2467]: prefork: child states: II
Feb 12 13:05:37 mail spamd[2684]: spamd: connection from mail.marriott-city.com [127.0.0.1] at port 60217
Feb 12 13:05:37 mail spamd[2684]: spamd: checking message <026401cbca8b$42fc3180$c8f49480$@it@marriott-city.com> for qscand:511
Feb 12 13:05:37 mail spamd[2684]: spamd: clean message (0.6/5.0) for qscand:511 in 0.3 seconds, 24925 bytes.
Feb 12 13:05:37 mail spamd[2684]: spamd: result: . 0 - ALL_TRUSTED,AWL,BAYES_00,FH_DATE_PAST_20XX,HTML_IMAGE_RATIO_04,HTML_MESSAGE,MSGID_MULTIPLE_AT scantime=0.3,size=24925,user=qscand,uid=511,required_score=5.0,rhost=mail.marriott-city.com,raddr=127.0.0.1,rport=60217,mid=<026401cbca8b$42fc3180$c8f49480$@it@marriott-city.com>,bayes=0.000000,autolearn=no
Feb 12 13:05:37 mail X-Antivirus-MYDOMAIN-1.25-st-qms: [mail.marriott-city.com12974979377752862] Unable to open pipe to /var/qmail/bin/qmail-queue [72057594037927935] (#4.3.0) - Broken pipe
Feb 12 13:05:37 mail X-Antivirus-MYDOMAIN-1.25-st-qms: [mail.marriott-city.com12974979377752862] Unable to close pipe to /var/qmail/bin/qmail-queue [255] (#4.3.0) - Illegal seek
Feb 12 13:05:37 mail spamd[2467]: prefork: child states: II
Feb 12 13:06:18 mail X-Antivirus-MYDOMAIN-1.25-st-qms: [mail.marriott-city.com12974979717752888] Unable to open pipe to /var/qmail/bin/qmail-queue [72057594037927935] (#4.3.0) - Broken pipe
Feb 12 13:06:18 mail X-Antivirus-MYDOMAIN-1.25-st-qms: [mail.marriott-city.com12974979717752888] Unable to close pipe to /var/qmail/bin/qmail-queue [255] (#4.3.0) - Illegal seek
i just added city inplace of the real name of the city in the log file.
so anyone its really urgent
 
Old 02-12-2011, 01:18 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
qmail is a major pain. In Bernstein's (original)qmail, mail is directed to qmail-queue and smtp virus checking is then messy. Trust me, I tried.

A solution was the $QMAILQUEUE variable to replace the hard coding to qmail-queue. This patch was never mainstreamed. I ran away from qmail ready to scream 10 years back. Many patches have been added, and documented, but chances are if you have qmail-1.03 it's the Bernstein version with some unknown patches, if it's 1.05 it's netqmail (qmail with sane patches)

1. $QMAILQUEUE is set to your spam filter.
2. Qmail sends the message to $QMAILQUEUE
3. $QMAILQUEUE is then set to qmail-queue
4. Your spam filter finishes it's thing and throws the message back at qmail
5. Qmail again sends the message to $QMAILQUEUE
6. This time it goes as directed by your ~/.qmail file.

There is lifewithqmail.org, and a community of fellow sufferers.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running VNC server on a secondary video card rguima Linux - General 3 04-29-2009 07:10 AM
Mail server software? Qmail, Sendmail, Exim, Postfix? Running on Slackware, Assist? dtetech Linux - Software 8 05-12-2008 10:57 PM
redundant qmail servers (primary & secondary) littleking Linux - Networking 3 08-15-2004 10:18 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
problem whit running qmail W0uter Linux - Software 0 05-27-2004 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration