[KLUG Members] Question on sendmail. ***new***
Adam Tauno Williams
members@kalamazoolinux.org
Tue, 31 Dec 2002 08:55:48 -0500
>OK. I've got an issue here that I simply cannot debug.
>I've got a machine. I'm building it for personal use. It's a gentoo
>1.4rc_1 machine. I did *not* use emerge, I built from a tarball. (I
>couldn't get it to 'emerge'.
Preface: Don't know anything about gentoo, or even what emerge is.
>So, sendmail is built, and my cf file is working (same cf file as another
>machine, running the same ver of sendmail.
>Here's what I do:
>telnet 192.168.1.22 25
>helo 192.168.1.6
>mail from: adamb@mydomain # (it's a diff domain)
>rcpt to: adamb@glaven.org # it accepts mail for glaven.org
>data
>d
>d
>d
>d
>.
><message accepted for delivery>
Can you devlier mail locally by running sendmail at the CLI with a debug level,
of say 21.
sendmail -d21 -v adamb@glaven.org
blah blah
.<Enter>
blah blah
What does it say?
>Here's my output on the server:
> ==> /var/log/mail.log <==
> Dec 31 00:03:37 dualie sendmail[3708]: NOQUEUE: connect from
> IDENT:1000@[192.168.1.6]
First, nuke identd.
>==> /var/log/mail.info <==
>Dec 31 00:03:59 dualie sendmail[3708]: gBV03bwe003708:
>from=adamb@otherdomain.com, size=6, class=0, nrcpts=1,
>msgid=<200212310003.gBV03bwe003708@dualie.glaven.org>, proto=SMTP,
>daemon=MTA, relay=IDENT:1000@[192.168.1.6]
>Dec 31 00:03:59 dualie sendmail[3709]: gBV03bwe003708:
>to=adamb@glaven.org, delay=00:00:02, xdelay=00:00:00, mailer=local,
>pri=30318, dsn=2.0.0, stat=Sent
>Dec 31 00:03:59 dualie sendmail[3709]: gBV03bwe003708: done;
>delay=00:00:02, ntries=1
The message looks delivered to me.
>==> /var/log/mail.log <==
>Dec 31 00:03:59 dualie sendmail[3708]: gBV03bwe003708:
>from=adamb@otherdomain.com, size=6, class=0, nrcpts=1,
>msgid=<200212310003.gBV03bwe003708@dualie.glaven.org>, proto=SMTP,
>daemon=MTA, relay=IDENT:1000@[192.168.1.6]
>Dec 31 00:03:59 dualie sendmail[3709]: gBV03bwe003708:
>to=adamb@glaven.org, delay=00:00:02, xdelay=00:00:00, mailer=local,
>pri=30318, dsn=2.0.0, stat=Sent
>Dec 31 00:03:59 dualie sendmail[3709]: gBV03bwe003708: done;
>delay=00:00:02, ntries=1
What is the difference between these two log file snapshots? Are they from
different hosts?
>However, mail is not delivered. It's a valid user, with a valid mailbox,
>yadda yadda yadda. /var/spool/clientmqueue is 777, so is mail and mqueue.
If those are the permissions, they are wrong.
drwxrwxr-x 2 root mail 4096 Dec 31 04:02 mail
drwx------ 2 root mail 4096 Dec 31 08:55 mqueue
I'm really surprised sendmail isn't crabbing about it.
>This makes no sense. It's accepting mail,m but not delivering it. Procmail
>is installed (and if there were procmail errors, it'd tell me.
>Ideas? I'm going to fiddle more, but this is wierd.
Have you looked in roots mailbox to see if anything is there?