Click to See Complete Forum and Search --> : Mail stuck in Queue...


Mhaddy
10-30-2001, 12:57 AM
Hey guys, just ended up reinstalling sendmail and though I don't get any errors, the mail isn't being sent. It's just left in the /var/spool/mqueue directory. Anyone know what's up?

X_console
10-30-2001, 01:03 AM
What are your logs saying?

Mhaddy
10-30-2001, 01:23 AM
Last few logs:
Oct 29 11:57:42 mdsnexus sendmail[779]: starting daemon (8.12.1): SMTP+queueing@01:00:00
Oct 29 12:00:14 mdsnexus ipop3d[957]: pop3 service init from 192.168.0.2
Oct 29 12:00:14 mdsnexus ipop3d[957]: Login user=nexus host=[192.168.0.2] nmsgs=0/0
Oct 29 12:00:14 mdsnexus ipop3d[957]: Logout user=nexus host=[192.168.0.2] nmsgs=0 ndele=0
Oct 29 12:00:14 mdsnexus ipop3d[958]: pop3 service init from 192.168.0.2
Oct 29 12:00:14 mdsnexus ipop3d[958]: Login user=web host=[192.168.0.2] nmsgs=0/0
Oct 29 12:00:14 mdsnexus ipop3d[958]: Logout user=web host=[192.168.0.2] nmsgs=0 ndele=0
Oct 29 12:00:41 mdsnexus sendmail[959]: f9TH0eIa000959: from=<mhaddy@the-junkyard.net>, size=1896, class=0, nrcpts=1, msgid=<NDBBKAFHJMANCBBFGKMLOEABCHAA.mhaddy@the-junkyard.net>, proto=ESMTP, daemon=MTA, relay=[12.108.162.16]
Oct 29 12:00:41 mdsnexus sendmail[959]: f9TH0eIa000959: to=<nexus@mdsnexus.net>, delay=00:00:00, mailer=local, pri=33084, stat=queued
Oct 29 12:00:50 mdsnexus ipop3d[960]: pop3 service init from 192.168.0.2
Oct 29 12:00:50 mdsnexus ipop3d[960]: Login user=nexus host=[192.168.0.2] nmsgs=0/0
Oct 29 12:00:50 mdsnexus ipop3d[960]: Logout user=nexus host=[192.168.0.2] nmsgs=0 ndele=0
Oct 29 12:00:50 mdsnexus ipop3d[961]: pop3 service init from 192.168.0.2
Oct 29 12:00:50 mdsnexus ipop3d[961]: Login user=web host=[192.168.0.2] nmsgs=0/0
Oct 29 12:00:51 mdsnexus ipop3d[961]: Logout user=web host=[192.168.0.2] nmsgs=0 ndele=0
Oct 29 12:10:25 mdsnexus ipop3d[983]: pop3 service init from 192.168.0.2
Oct 29 12:10:25 mdsnexus ipop3d[983]: Login user=nexus host=[192.168.0.2] nmsgs=0/0
Oct 29 12:10:25 mdsnexus ipop3d[983]: Logout user=nexus host=[192.168.0.2] nmsgs=0 ndele=0
Oct 29 12:10:25 mdsnexus ipop3d[984]: pop3 service init from 192.168.0.2
Oct 29 12:10:25 mdsnexus ipop3d[984]: Login user=web host=[192.168.0.2] nmsgs=0/0
Oct 29 12:10:25 mdsnexus ipop3d[984]: Logout user=web host=[192.168.0.2] nmsgs=0 ndele=0

X_console
10-30-2001, 01:30 AM
Does this just happen for a certain email address or different types? Send email to different types of addresses with different domains, eg ___@yahoo.com, ____@hotmail.com, etc and see if after a few minutes they're still in mqueue.

posterboy
10-30-2001, 07:34 AM
Sendmail has got to look up the address, of course. Be sure nslookup will resolve that address, and that you can telnet into it on port 25, and talk to it's MTA. If you have those 2 things, you eliminate the causes of most email queuing. Now, if that address is you, send the mail through 127.0.0.1 and see what happens. Then, send mail to a user, with no domain information at all. Finally, try
echo hello |sendmail -v user@mydomain and read carefully the error, and the maillog. Some of this is going to narrow down the issue. HTH, Ray

Mhaddy
10-30-2001, 04:22 PM
All right, just received the emails back:
----- Transcript of session follows -----
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
Rather undescriptive, eh? :(

Mhaddy
10-30-2001, 06:37 PM
X_console, yes, it happens for all email addies.

lm72
10-30-2001, 07:40 PM
Mhaddy are you using Sympatico High speed Internet (Bell Nexxia aka BCE )

I read a while back that they where filtering port 25 so could only send via their smtp.


Regards,

Alex :)

Mhaddy
10-30-2001, 08:03 PM
Fortunately not, I'm on @home cable. :)

Mhaddy
10-30-2001, 08:10 PM
My previous installation of sendmail was running under the user 'mail' I believe. When I installed this new version, 8.12 I believe (whatever the latest is) it had me create the smmsp user and group (gid 25).

Posterboy, when I typed in your 'echo hello |sendmail -v user@mydomain' command' this is what it echo'ed back:
collect: Cannot write ./d9309ad93000ads0 (bfcommit, uid=25): Permission denied
queueup: cannot create queue temp file ./d093990ads0f9030, uid=520: Permission denied
All right, I'll take a wild stab at it and say that there's a problem with the permissions ;)

Now.. what?