maillog: 08/05/2007-13:34:24(+0200): Samuel Murez types
>
> >
> >Hmmm... Are you still getting CNAME failures? It may have been a
> >temporary problem.
> Yes, still getting the CNAME failures, as well as "I wasn't able to
> establish an SMTP connection", even though host doesn't ever fail.
> >
> >If you're still getting failures but host doesn't fail, then something
> >fishy is going on. My only suggestion at that point would be to strace
> >qmail to find out exactly what queries it is making (and to what
> >server), and attempt to recreate those queries exactly.
>
> I've been trying to use strace to get more information, but I'm not
> making much headway.
>
> I'm using strace -o /home/baronsam/qmailsendstrace.txt -fp 6310
> where 6310 is the pid of qmail-send, but the resulting file doesn't seem
> to say much about what queries are being made. (file attached)
> What commands should I be using ?
If you are going to strace remote deliveries, then try stracing
qmail-rspawn (PID 6313 in the example below).
Try "pstree -p 6310" to get the idea.
> I'm also appending the output of ps -aux grep qmail, does it look ok to
> you ?
>
> As far as I can tell, everthing's working fine, except for the fact that
> qmail seems to be unable to send any mail out.
>
> [root@yoruban qmail-send]# ps -aux |grep qmail
> root 3052 0.0 0.0 1356 64 ? S Mar02 0:00 supervise
> qmail-send
> root 3054 0.0 0.0 1356 64 ? S Mar02 0:00 supervise
> qmail-smtpd
> root 3056 0.0 0.0 1356 64 ? S Mar02 0:00 supervise
> qmail-pop3d
> qmaill 5536 0.0 0.0 1376 108 ? S Apr22 0:02 multilog
> t s100000 n20 /var/log/qmail/qmail-send
> vpopmail 5537 0.0 0.0 1428 100 ? S Apr22 0:00
> /usr/local/bin/tcpserver -v -R -l samuelmurez.com -x /etc/tcp.smtp.cdb
> -c 20 -u 510 -g 505 0 smtp rblsmtpd -r sbl-xbl.spamhaus.org
> /var/qmail/bin/qmail-smtpd samuelmurez.com /home/vpopmail/bin/vchkpw
> /usr/bin/true
> qmaill 5538 0.0 0.0 1376 60 ? S Apr22 0:00 multilog
> t s2000000 n10 /var/log/qmail/qmail-smtpd
> root 5539 0.0 0.0 1376 80 ? S Apr22 0:00 tcpserver
> -H -R -v -c100 0 110 qmail-popup samuelmurez.com
> /home/vpopmail/bin/vchkpw qmail-pop3d Maildir
> qmaill 5540 0.0 0.0 1376 60 ? S Apr22 0:00 multilog
> t s100000 n20 /var/log/qmail/qmail-pop3d
> root 6312 0.0 0.0 1376 108 ? S Apr22 0:02
> qmail-lspawn ./Maildir/
> qmailr 6313 0.0 0.0 1380 112 ? S Apr22 0:01 qmail-rspawn
> qmailq 6314 0.0 0.0 1364 84 ? S Apr22 0:00 qmail-clean
> root 18981 0.0 0.0 1568 556 pts/0 S 13:14 0:00 strace -o
> /home/baronsam/qmailsendstrace.txt -fp 6310
> qmails 6310 0.0 0.0 1448 172 ? S Apr22 0:06 qmail-send
> root 19090 0.0 0.0 3760 564 pts/1 S 13:26 0:00 grep qmail
--
(* Georgi Georgiev (* This place just isn't big enough for all (*
*) chutz@gg3.net *) of us. We've got to find a way off this *)
(* http://www.gg3.net/ (* planet. (*
|