Code: Select all
[root@mail tmp]# mailq
/var/spool/mqueue (6 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
k6QLs2L6020895* 194 Thu Jul 27 07:54 <range@client.com.au>
(reply: read error from mail.server.com.au)
<gina@server.com.au>
k6Q86uX8015686 779 Wed Jul 26 18:06 <range@client.com.au>
(reply: read error from mail.server.com.au)
<gina@server.com.au>
k6Q6wueX015092 63004 Wed Jul 26 16:58 <range@client.com.au>
(reply: read error from mail.server.com.au)
<bonnie@server.com.au>
k6O83KcS025129 65020 Mon Jul 24 18:03 <range@client.com.au>
(reply: read error from mail.server.com.au)
<tracey@server.com.au>
k6O7hSSb024937 65020 Mon Jul 24 17:43 <range@client.com.au>
(reply: read error from mail.server.com.au)
<tracey@server.com.au>
and when I ask sendmail for debugging:
Code: Select all
[root@mail tmp]# sendmail -v -d10-12.32 -qIk6Q86uX8015686
Running /var/spool/mqueue/k6Q86uX8015686 (sequence 1 of 1)
--deliver, id=k6QLs2L6020895, mailer=scalix, host=`mail', first user=`gina@server.com.au'
remotename(<range@client.com.au>)
remotename => `range@client.com.au'
send to 0x9cdb6b0=<gina@server.com.au>:
mailer 10 (scalix), host `mail'
user `gina@server.com.au', ruser `<null>'
state=OK, next=0x0, alias 0x0, uid 0, gid 0
flags=80000182<QPRIMARY,QPINGONFAILURE,QPINGONDELAY,QRCPTOK>
owner=(none), home="(none)", fullname="(none)"
orcpt="(none)", statmta=(none), status=(none)
finalrcpt="RFC822; gina@server.com.au"
rstatus="(none)"
statdate=(none)
ctladdr=[NULL]
openmailer: unix.in -s mail
<gina@server.com.au>... Connecting to mail via scalix...
openmailer: running as r/euid=8/8, r/egid=12/12
220 Scalix ESMTP Ready.
>>> EHLO mail.serverl.com.au
250-Hello, pleased to meet you.
250 DSN
openmailer: MCI@0x9cec3e8: flags=808<ESMTP,DSN>,
errno=0, herrno=0, exitstat=0, state=2, pid=24979,
maxsize=0, phase=client EHLO, mailer=scalix,
status=(null), rstatus=(null),
host=(null), lastuse=Thu Jul 27 10:22:24 2006
>>> MAIL From:<range@client.com.au>
250 Ok
>>> RCPT To:<gina@server.com.au>
250 Ok
>>> DATA
354 Enter mail, end with "." on a line by itself.
remotename(Mobil Range <range@client.com.au>)
remotename => `Mobil Range <range@client.com.au>'
remotename("range@client.com.au" <range@client.com.au>)
remotename => `"range@client.com.au" <range@client.com.au>'
remotename("'Gina McMahon'" <gina@server.com.au>)
remotename => `"'Gina McMahon'" <gina@server.com.au>'
>>> .
Cannot read message data.
(I have to push ^C here to abort it, as it just sits there forever)
[root@mail tmp]#
I can't really debug unix.in, as when I try to do a strace -ff, it breaks DNS lookups (or something) and bounces the mail back to the sender. However, sendmail _IS_ definately sending the mail through to unix.in - I have, however, managed to accidently duplicate this issue when I was trying to strace unix.in by sending the message body and then closing stdout (stdin on unix.in) before sending the closing . - but as you can see the dot is definately being sent by sendmail.
Note that uid 8 and gid 18 are both 'mail' - should unix.in be running as 'scalix'?
I've had a look through the admin manual, but I can't find any explicit place to debug what's going in and out of unix.in!
FYI, this is a RHEL machine that was installed with the scalix installer.
Anyone have any clues?
--Rob