LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-16-2010, 03:08 AM   #1
GitS
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Rep: Reputation: 0
qmail does not send or receive messages


My workstation is run under Slackware 13.0
I`ve installed the mail server based on pack, provided by qmailrocks.org :
qmail+vpopmail+vqadmin+spamassassin+clamav+courierpassd+courier-imap+courier-ssl

At first the problem was with clamav-0.95, qmailqueue.pl told, that it was unrecognized.

Code:
Mar 15 14:10:28 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter126865502780113451] clamdscan: corrupt or u$
Mar 15 14:11:42 SlackRouter spamd[10329]: unauthorized connection from 192.168.1.253 [192.168.1.253] at port 43186
Mar 15 14:11:43 SlackRouter spamd[10329]: unauthorized connection from 192.168.1.253 [192.168.1.253] at port 43187
falling back to supplied clamav 0.87 help to solve the "qq temporary problem"
In current state e-mail client says, that everything is good and mail is delivered (Mozilla Thunderbird), but mail recievers get no mail and cannot send anything to my server. The mail to my server is sent normally, but the incoming folders are empty

the example log of the processing a message from gmail:
maillog
Code:
Mar 16 08:17:20 SlackRouter vpopmail[17937]: vchkpw-smtp: (PLAIN) login success postmaster@mydomain.org:192.168.1.9
Mar 16 08:17:24 SlackRouter qmail-scanner-queue.pl: qmail-scanner[17938]: Clear:RC:0(192.168.1.9): 4.234833 497 postmaster@mydomain.org my.email@gmail.com test <4B9F7D56.9010204@mydomain.org> 1268734640.17940-0.SlackRouter:5 orig-SlackRouter126873464080117938:497
message is processed, but it does not show up in the "Incoming" folder
All permissions in work folders are set to 777.

qmailctl shows 3 messages stuck in a queue and logs say:
Code:
cat  /var/log/qmail/qmail-send/current
@400000004b9f8c7903927f54 delivery 68: deferral: Sorry,_message_has_wrong_owner._(#4.3.5)/
@400000004b9f8c790392833c status: local 0/10 remote 0/255
/var is mounted with "/", nothing shows nosuid
Code:
mount
/dev/root on / type ext4 (rw,barrier=1,data=ordered)
Any guesses about that?

Last edited by GitS; 03-16-2010 at 06:52 AM.
 
Old 03-16-2010, 09:26 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by GitS View Post
My workstation is run under Slackware 13.0
I`ve installed the mail server based on pack, provided by qmailrocks.org :
qmail+vpopmail+vqadmin+spamassassin+clamav+courierpassd+courier-imap+courier-ssl

At first the problem was with clamav-0.95, qmailqueue.pl told, that it was unrecognized.

Code:
Mar 15 14:10:28 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter126865502780113451] clamdscan: corrupt or u$
Mar 15 14:11:42 SlackRouter spamd[10329]: unauthorized connection from 192.168.1.253 [192.168.1.253] at port 43186
Mar 15 14:11:43 SlackRouter spamd[10329]: unauthorized connection from 192.168.1.253 [192.168.1.253] at port 43187
falling back to supplied clamav 0.87 help to solve the "qq temporary problem"
In current state e-mail client says, that everything is good and mail is delivered (Mozilla Thunderbird), but mail recievers get no mail and cannot send anything to my server. The mail to my server is sent normally, but the incoming folders are empty

the example log of the processing a message from gmail:
maillog
Code:
Mar 16 08:17:20 SlackRouter vpopmail[17937]: vchkpw-smtp: (PLAIN) login success postmaster@mydomain.org:192.168.1.9
Mar 16 08:17:24 SlackRouter qmail-scanner-queue.pl: qmail-scanner[17938]: Clear:RC:0(192.168.1.9): 4.234833 497 postmaster@mydomain.org my.email@gmail.com test <4B9F7D56.9010204@mydomain.org> 1268734640.17940-0.SlackRouter:5 orig-SlackRouter126873464080117938:497
message is processed, but it does not show up in the "Incoming" folder
All permissions in work folders are set to 777.

qmailctl shows 3 messages stuck in a queue and logs say:
Code:
cat  /var/log/qmail/qmail-send/current
@400000004b9f8c7903927f54 delivery 68: deferral: Sorry,_message_has_wrong_owner._(#4.3.5)/
@400000004b9f8c790392833c status: local 0/10 remote 0/255
/var is mounted with "/", nothing shows nosuid
Code:
mount
/dev/root on / type ext4 (rw,barrier=1,data=ordered)
Any guesses about that?

what about the ownership of the queue folders??
this aspect of qmail is particularly easy to break....as i have found in the past..
This *could* be the problem..
Have a look at http://qmail.jms1.net/scripts/qfixq.shtml
 
Old 03-17-2010, 01:22 AM   #3
GitS
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
after applying qfixq script maillog gives me
Code:
Mar 17 06:52:59 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter12688159728019188] Unable to open pipe to /var/qmail/bin/qmail-queue [16777215] (#4.3.0) - Broken pipe
Mar 17 06:52:59 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter12688159728019188] Unable to close pipe to /var/qmail/bin/qmail-queue [255] (#4.3.0) - Illegal seek
setting /var/qmail/ perms to 777 gives a queue stack again
Code:
qmailctl queue
messages in queue: 2
messages in queue but not yet preprocessed: 0
17 Mar 2010 07:09:03 GMT  #705389  988  <postmaster@mydomain.org>
        local   root@mydomain.org
17 Mar 2010 07:08:38 GMT  #704499  986  <postmaster@mydomain.org>
        local   root@mydomain.org
maillog says :
Code:
Mar 17 07:09:03 SlackRouter qmail-scanner-queue.pl: qmail-scanner[9506]: Clear:RC:0(192.168.1.9): 4.809611 499 postmaster@mydomain.org root@mydomain.org rgrg <4BA0B0B8.9040106@mydomain.org> orig-SlackRouter12688169388019506:499 1268816938.9508-0.SlackRouter:5

Last edited by GitS; 03-17-2010 at 01:45 AM.
 
Old 03-17-2010, 02:20 AM   #4
freelinuxtutorials
Member
 
Registered: Oct 2009
Posts: 70

Rep: Reputation: 21
would you mind showing here the output of the ffg. during sending out to see any errors
/var/log/maillog
/var/spool/qmailscan/qmail-queue.log
/var/log/qmail/qmail-smtpd/current
 
Old 03-17-2010, 06:41 AM   #5
GitS
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
qmail-queue.log
Code:
Wed, 17 Mar 2010 11:57:51 GMT+2:18640: ------ Process 18640 finished. Total of 0.837337 secs
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: +++ starting debugging for process 18863 (ppid=18861) by uid=1012
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: w_c: elapsed time from start 0.0308 secs
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: return-path='postmaster@mydomain.org', recips='postmaster@mydomain.org'
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: from='postmaster <postmaster@mydomain.org>', subj='test2', via SMTP from 192.168.1.9
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: p_s: finished scan in 0.037666 secs
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: ini_sc: finished scan of "/var/spool/qmailscan/tmp/SlackRouter126883500080118863"...
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: ------ Process 18863 finished. Total of 0.512388 secs
maillog
Code:
Mar 17 11:57:51 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter126883427080118640] Unable to open pipe to /var/qmail/bin/qmail-queue [16777215] (#4.3.0) - Broken pipe
Mar 17 11:57:51 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter126883427080118640] Unable to close pipe to /var/qmail/bin/qmail-queue [255] (#4.3.0) - Illegal seek
Mar 17 12:02:22 SlackRouter vpopmail[18729]: vchkpw-pop3: (APOP) login success postmaster@mydomain.org:192.168.1.9
Mar 17 12:02:51 SlackRouter vpopmail[18731]: vchkpw-pop3: (PLAIN) login success root@mydomain.org:192.168.1.9
Mar 17 12:09:59 SlackRouter vpopmail[18862]: vchkpw-smtp: (PLAIN) login success postmaster@mydomain.org:192.168.1.9
Mar 17 12:10:00 SlackRouter qmail-scanner-queue.pl: qmail-scanner[18863]: Clear:RC:0(192.168.1.9): 0.104785 507 postmaster@mydomain.org postmaster@mydomain.org test2 <4BA0F742.9020202@mydomain.org> 1268835000.18865-0.SlackRouter:6 orig-SlackRouter126883500080118863:507
smtpd/current
Code:
@400000004ba0abb1079060e4 tcpserver: pid 14869 from 192.168.1.9
@400000004ba0abb70e5d21b4 tcpserver: ok 14869 mydomain.org:178.93.245.53:25 :192.168.1.9::59317
@400000004ba0abba09a6062c tcpserver: end 14869 status 0
@400000004ba0abba09a615cc tcpserver: status: 0/30
@400000004ba0dfe71140e0b4 tcpserver: status: 1/30
@400000004ba0dfe71140f054 tcpserver: pid 18638 from 192.168.1.9
@400000004ba0dfe717eb9e7c tcpserver: ok 18638 mydomain.org:178.93.245.53:25 :192.168.1.9::48567
@400000004ba0dfeb1809483c tcpserver: end 18638 status 0
@400000004ba0dfeb180953f4 tcpserver: status: 0/30
@400000004ba0e2c11c71a784 tcpserver: status: 1/30
@400000004ba0e2c11c71b33c tcpserver: pid 18861 from 192.168.1.9
@400000004ba0e2c1212918fc tcpserver: ok 18861 mydomain.org:178.93.245.53:25 :192.168.1.9::35596
@400000004ba0e2c2232e4b54 tcpserver: end 18861 status 0
@400000004ba0e2c2232e5af4 tcpserver: status: 0/30
qmail-send/current
Code:
@400000004ba0e3271cbace14 starting delivery 24: msg 706914 to local postmaster@mydomain.org
@400000004ba0e3271cbaddb4 status: local 1/10 remote 0/255
@400000004ba0e3271cbae19c delivery 24: deferral: Sorry,_message_has_wrong_owner._(#4.3.5)/
@400000004ba0e3271cbae584 status: local 0/10 remote 0/255
@400000004ba0e358204b632c starting delivery 25: msg 704499 to local root@mydomain.org
@400000004ba0e358204b6ee4 status: local 1/10 remote 0/255
@400000004ba0e35820f2b334 delivery 25: deferral: Uh-oh:_home_directory_is_writable._(#4.7.0)/
@400000004ba0e35820f2c2d4 status: local 0/10 remote 0/255
 
Old 03-17-2010, 07:12 AM   #6
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by GitS View Post
qmail-queue.log
Code:
Wed, 17 Mar 2010 11:57:51 GMT+2:18640: ------ Process 18640 finished. Total of 0.837337 secs
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: +++ starting debugging for process 18863 (ppid=18861) by uid=1012
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: w_c: elapsed time from start 0.0308 secs
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: return-path='postmaster@mydomain.org', recips='postmaster@mydomain.org'
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: from='postmaster <postmaster@mydomain.org>', subj='test2', via SMTP from 192.168.1.9
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: p_s: finished scan in 0.037666 secs
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: ini_sc: finished scan of "/var/spool/qmailscan/tmp/SlackRouter126883500080118863"...
Wed, 17 Mar 2010 12:10:00 GMT+2:18863: ------ Process 18863 finished. Total of 0.512388 secs
maillog
Code:
Mar 17 11:57:51 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter126883427080118640] Unable to open pipe to /var/qmail/bin/qmail-queue [16777215] (#4.3.0) - Broken pipe
Mar 17 11:57:51 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter126883427080118640] Unable to close pipe to /var/qmail/bin/qmail-queue [255] (#4.3.0) - Illegal seek
Mar 17 12:02:22 SlackRouter vpopmail[18729]: vchkpw-pop3: (APOP) login success postmaster@mydomain.org:192.168.1.9
Mar 17 12:02:51 SlackRouter vpopmail[18731]: vchkpw-pop3: (PLAIN) login success root@mydomain.org:192.168.1.9
Mar 17 12:09:59 SlackRouter vpopmail[18862]: vchkpw-smtp: (PLAIN) login success postmaster@mydomain.org:192.168.1.9
Mar 17 12:10:00 SlackRouter qmail-scanner-queue.pl: qmail-scanner[18863]: Clear:RC:0(192.168.1.9): 0.104785 507 postmaster@mydomain.org postmaster@mydomain.org test2 <4BA0F742.9020202@mydomain.org> 1268835000.18865-0.SlackRouter:6 orig-SlackRouter126883500080118863:507
smtpd/current
Code:
@400000004ba0abb1079060e4 tcpserver: pid 14869 from 192.168.1.9
@400000004ba0abb70e5d21b4 tcpserver: ok 14869 mydomain.org:178.93.245.53:25 :192.168.1.9::59317
@400000004ba0abba09a6062c tcpserver: end 14869 status 0
@400000004ba0abba09a615cc tcpserver: status: 0/30
@400000004ba0dfe71140e0b4 tcpserver: status: 1/30
@400000004ba0dfe71140f054 tcpserver: pid 18638 from 192.168.1.9
@400000004ba0dfe717eb9e7c tcpserver: ok 18638 mydomain.org:178.93.245.53:25 :192.168.1.9::48567
@400000004ba0dfeb1809483c tcpserver: end 18638 status 0
@400000004ba0dfeb180953f4 tcpserver: status: 0/30
@400000004ba0e2c11c71a784 tcpserver: status: 1/30
@400000004ba0e2c11c71b33c tcpserver: pid 18861 from 192.168.1.9
@400000004ba0e2c1212918fc tcpserver: ok 18861 mydomain.org:178.93.245.53:25 :192.168.1.9::35596
@400000004ba0e2c2232e4b54 tcpserver: end 18861 status 0
@400000004ba0e2c2232e5af4 tcpserver: status: 0/30
qmail-send/current
Code:
@400000004ba0e3271cbace14 starting delivery 24: msg 706914 to local postmaster@mydomain.org
@400000004ba0e3271cbaddb4 status: local 1/10 remote 0/255
@400000004ba0e3271cbae19c delivery 24: deferral: Sorry,_message_has_wrong_owner._(#4.3.5)/
@400000004ba0e3271cbae584 status: local 0/10 remote 0/255
@400000004ba0e358204b632c starting delivery 25: msg 704499 to local root@mydomain.org
@400000004ba0e358204b6ee4 status: local 1/10 remote 0/255
@400000004ba0e35820f2b334 delivery 25: deferral: Uh-oh:_home_directory_is_writable._(#4.7.0)/
@400000004ba0e35820f2c2d4 status: local 0/10 remote 0/255

qmail directory permissions are still broken...and the messages in the queue have wrong owner too....
did you follow that link i gave you..?? you do have to stop the qmail queue - bring down all the qmail services *before* running it.....
it takes a while too.....but that was the only way i could fix my qmail directories and permissions when the exact thing happened to me...
if this isnt working for you, then you have to stop qmail, remove your queue completely, and create a new queue by doing "make setup check" from the qmail source directory, and then restart qmail.

of course this last part means losing everything in the queue....
 
Old 03-17-2010, 09:57 AM   #7
GitS
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
after i followed your advice, i have received "qq temporary problem 4.3.0" .. making the 777 perms made my e-mail-client send messages.. though they are stuck in a queue
715 qmailctl stop
716 ./qfixq
717 ./qfixq live empty
718 qmailctl start
then tried to send msg
719 tail /var/log/maillog
Code:
Mar 17 15:37:15 SlackRouter vpopmail[22387]: vchkpw-smtp: (PLAIN) login success postmaster@mydomain.org:192.168.1.9
Mar 17 15:37:16 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter126884743680122388] Unable to open pipe to /var/qmail/bin/qmail-queue [16777215] (#4.3.0) - Broken pipe
Mar 17 15:37:16 SlackRouter qmail-scanner-queue.pl: X-Antivirus-MYDOMAIN-1.25-st-qms:[SlackRouter126884743680122388] Unable to close pipe to /var/qmail/bin/qmail-queue [255] (#4.3.0) - Illegal seek
qmail-smtpd/current
Code:
@400000004ba0e7fa30f6dbd4 tcpserver: ok 19246 mydomain.org:178.93.245.53:25 :192.168.1.9::34816
@400000004ba0e7fb1de00494 tcpserver: end 19246 status 0
@400000004ba0e7fb1de01434 tcpserver: status: 0/30
@400000004ba11341210d6724 tcpserver: status: 0/30
@400000004ba113542c981594 tcpserver: status: 1/30
@400000004ba113542c98214c tcpserver: pid 22386 from 192.168.1.9
@400000004ba11354325a53d4 tcpserver: ok 22386 mydomain.org:178.93.245.53:25 :192.168.1.9::52475
@400000004ba1135c002b82ac tcpserver: end 22386 status 0
@400000004ba1135c002b8e64 tcpserver: status: 0/30
qmail-send/current
Code:
@400000004ba112382d03db6c starting delivery 54: msg 704499 to local root@mydomain.org
@400000004ba112382d03eb0c status: local 1/10 remote 0/255
@400000004ba11238321ba8dc delivery 54: deferral: Uh-oh:_home_directory_is_writable._(#4.7.0)/
@400000004ba11238321bb494 status: local 0/10 remote 0/255
@400000004ba112fd36b731cc status: exiting
@400000004ba1134123e1247c status: local 0/10 remote 0/255
qmail-queue.log
Code:
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: +++ starting debugging for process 22388 (ppid=22386) by uid=1012
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: w_c: elapsed time from start 0.102207 secs
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: return-path='postmaster@mydomain.org', recips='postmaster@mydomain.org'
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: from='postmaster <postmaster@mydomain.org>', subj='test4', via SMTP from 192.168.1.9
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: p_s: finished scan in 0.093291 secs
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: ini_sc: finished scan of "/var/spool/qmailscan/tmp/SlackRouter126884743680122388"...
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: error_condition: X-Antivirus-MYDOMAIN-1.25-st-qms: Unable to open pipe to /var/qmail/bin/qmail-queue [16777215] (#4.3.0) - Broken pipe
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: ------ Process 22388 finished. Total of 0.52923 secs
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: error_condition: X-Antivirus-MYDOMAIN-1.25-st-qms: Unable to close pipe to /var/qmail/bin/qmail-queue [255] (#4.3.0) - Illegal seek
Wed, 17 Mar 2010 15:37:16 GMT+2:22388: ------ Process 22388 finished. Total of 0.791798 secs

Last edited by GitS; 03-17-2010 at 10:10 AM.
 
Old 03-17-2010, 10:18 AM   #8
GitS
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
now i`ve run 'make setup check' in the qmail source directory
Code:
qmailctl stop
make setup check
qmailctl start
then tried to send a message
logs for now:
qmail-send/current
Code:
@400000004ba1153804ded18c new msg 703622
@400000004ba1153804dedd44 info msg 703622: bytes 998 from <postmaster@mydomain.org> qp 22585 uid 1012
@400000004ba115380993417c starting delivery 1: msg 703622 to local postmaster@mydomain.org
@400000004ba115380993511c status: local 1/10 remote 0/255
@400000004ba115380aa1f25c delivery 1: deferral: Uh-oh:_.qmail_file_is_writable._(#4.7.0)/
@400000004ba115380aa1fe14 status: local 0/10 remote 0/255
qmail-queue.log:
Code:
Wed, 17 Mar 2010 15:45:17 GMT+2:22580: +++ starting debugging for process 22580 (ppid=22578) by uid=1012
Wed, 17 Mar 2010 15:45:17 GMT+2:22580: w_c: elapsed time from start 0.001653 secs
Wed, 17 Mar 2010 15:45:18 GMT+2:22580: return-path='postmaster@mydomain.org', recips='postmaster@mydomain.org'
Wed, 17 Mar 2010 15:45:18 GMT+2:22580: from='postmaster <postmaster@mydomain.org>', subj='test5', via SMTP from 192.168.1.9
Wed, 17 Mar 2010 15:45:18 GMT+2:22580: p_s: finished scan in 0.012783 secs
Wed, 17 Mar 2010 15:45:18 GMT+2:22580: ini_sc: finished scan of "/var/spool/qmailscan/tmp/SlackRouter126884791780122580"...
Wed, 17 Mar 2010 15:45:18 GMT+2:22580: ------ Process 22580 finished. Total of 0.342112 secs
qmail-smtpd/current:
Code:
@400000004ba1152727a5509c tcpserver: status: 0/30
@400000004ba1153728fbff2c tcpserver: status: 1/30
@400000004ba1153728fc0ae4 tcpserver: pid 22578 from 192.168.1.9
@400000004ba115372e332fc4 tcpserver: ok 22578 mydomain.org:178.93.245.53:25 :192.168.1.9::44486
@400000004ba11538154af744 tcpserver: end 22578 status 0
@400000004ba11538154b06e4 tcpserver: status: 0/30
maillog:
Code:
Mar 17 15:45:17 SlackRouter vpopmail[22579]: vchkpw-smtp: (PLAIN) login success postmaster@mydomain.org:192.168.1.9
Mar 17 15:45:18 SlackRouter qmail-scanner-queue.pl: qmail-scanner[22580]: Clear:RC:0(192.168.1.9): 0.021458 507 postmaster@mydomain.org postmaster@mydomain.org test5 <4BA129B6.3050301@mydomain.org> orig-SlackRouter126884791780122580:507 1268847918.22582-0.SlackRouter:6
 
Old 03-17-2010, 10:25 AM   #9
GitS
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
then ran again
Code:
qmailctl stop
./qfixq live empty
qmailctl start
sent a message.
logs :
qmail-send/current:
Code:
@400000004ba11720263b8f3c new msg 684045
@400000004ba11720263b9edc info msg 684045: bytes 998 from <postmaster@mydomain.org> qp 22799 uid 1012
@400000004ba117202af07074 starting delivery 1: msg 684045 to local postmaster@mydomain.org
@400000004ba117202af08014 status: local 1/10 remote 0/255
@400000004ba117202afd5154 delivery 1: deferral: Uh-oh:_.qmail_file_is_writable._(#4.7.0)/
@400000004ba117202afd5d0c status: local 0/10 remote 0/255
qmail-queue.log:
Code:
Wed, 17 Mar 2010 15:45:18 GMT+2:22580: ------ Process 22580 finished. Total of 0.342112 secs
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: +++ starting debugging for process 22794 (ppid=22792) by uid=1012
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: w_c: elapsed time from start 0.00186 secs
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: return-path='postmaster@mydomain.org', recips='postmaster@mydomain.org'
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: from='postmaster <postmaster@mydomain.org>', subj='test6', via SMTP from 192.168.1.9
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: p_s: finished scan in 0.029886 secs
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: ini_sc: finished scan of "/var/spool/qmailscan/tmp/SlackRouter126884840680122794"...
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: ------ Process 22794 finished. Total of 0.386954 secs
maillog:
Code:
Mar 17 15:53:26 SlackRouter vpopmail[22793]: vchkpw-smtp: (PLAIN) login success postmaster@mydomain.org:192.168.1.9
Mar 17 15:53:26 SlackRouter qmail-scanner-queue.pl: qmail-scanner[22794]: Clear:RC:0(192.168.1.9): 0.038514 507 postmaster@mydomain.org postmaster@mydomain.org test6 <4BA12B9F.4050503@mydomain.org> orig-SlackRouter126884840680122794:507 1268848406.22796-0.SlackRouter:6
maybe... something else?
 
Old 03-17-2010, 11:46 AM   #10
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by GitS View Post
then ran again
Code:
qmailctl stop
./qfixq live empty
qmailctl start
sent a message.
logs :
qmail-send/current:
Code:
@400000004ba11720263b8f3c new msg 684045
@400000004ba11720263b9edc info msg 684045: bytes 998 from <postmaster@mydomain.org> qp 22799 uid 1012
@400000004ba117202af07074 starting delivery 1: msg 684045 to local postmaster@mydomain.org
@400000004ba117202af08014 status: local 1/10 remote 0/255
@400000004ba117202afd5154 delivery 1: deferral: Uh-oh:_.qmail_file_is_writable._(#4.7.0)/
@400000004ba117202afd5d0c status: local 0/10 remote 0/255
qmail-queue.log:
Code:
Wed, 17 Mar 2010 15:45:18 GMT+2:22580: ------ Process 22580 finished. Total of 0.342112 secs
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: +++ starting debugging for process 22794 (ppid=22792) by uid=1012
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: w_c: elapsed time from start 0.00186 secs
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: return-path='postmaster@mydomain.org', recips='postmaster@mydomain.org'
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: from='postmaster <postmaster@mydomain.org>', subj='test6', via SMTP from 192.168.1.9
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: p_s: finished scan in 0.029886 secs
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: ini_sc: finished scan of "/var/spool/qmailscan/tmp/SlackRouter126884840680122794"...
Wed, 17 Mar 2010 15:53:26 GMT+2:22794: ------ Process 22794 finished. Total of 0.386954 secs
maillog:
Code:
Mar 17 15:53:26 SlackRouter vpopmail[22793]: vchkpw-smtp: (PLAIN) login success postmaster@mydomain.org:192.168.1.9
Mar 17 15:53:26 SlackRouter qmail-scanner-queue.pl: qmail-scanner[22794]: Clear:RC:0(192.168.1.9): 0.038514 507 postmaster@mydomain.org postmaster@mydomain.org test6 <4BA12B9F.4050503@mydomain.org> orig-SlackRouter126884840680122794:507 1268848406.22796-0.SlackRouter:6
maybe... something else?

yes permissions


Code:
 Uh-oh:_.qmail_file_is_writable._(#4.7.0)/

try chmod 600 your .qmail files

Last edited by centosboy; 03-17-2010 at 11:56 AM.
 
Old 03-26-2010, 08:07 AM   #11
GitS
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
[solved]

Yeah, those were perms.
I managed to install the qmail server, but only on a "virgin" OS installation. The most unpleasant moments were installation and testing spamd (it failed on spamc.t) and permissions in qmail dirs. qfixq doesn`t solve the problem (in my case it has messed up the results of my efforts). Fresh and thorough installation is the only way i could get all this stuff working. Thx for your help.
 
  


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
Is it possible to send and receive "Net Send" messages in Linux? Avatar Linux - Networking 16 07-11-2010 09:42 PM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
Unable to send and receive messages in Gaim gnaditya Linux - Newbie 2 02-26-2006 08:03 AM
qmail wont send messages The_Nerd Linux - Software 5 11-26-2004 01:37 PM
Can send but not receive any emails with Qmail. anorman Linux - Software 1 12-11-2003 02:51 PM

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

All times are GMT -5. The time now is 09:43 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