[SuSE Linux] email attachment using sendmail
Just a followon question about sendmail and its default settings. I am using mutt so I place an attachment. Sendmail reports its using the q30m option but email just sits on my local system past the 30 minutes. Here is the output of mailq merwyn ~: mailq Mail Queue (2 requests) --Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------ IAA05299* 1481899 Sat Feb 13 08:21 mperry eriddle@lcare.com JAA05589* 1481897 Sat Feb 13 09:10 mperry eriddle@hd-consulting.com Its now 9:30 and the mail at 8:21 should have gone out at 8:51. I have been connected all the time waiting for the queued email to go. The second one should go at 8:51 if the queue time is observed. Is sendmail waiting for the actual recipient to come up? Does it send to the domain part of things or does it wait for eriddle to come up on the net? How long will sendmail wait to send email attachments? This behavior does not seem consistent with sendmail's options which are the default ones defined in the config file. Thanks for any help. BTW, sendmail -q does not send the queued email either. -- Michael Perry mperry@basin.com ------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Thanks for any help. BTW, sendmail -q does not send the queued email either.
endmail *is* a strange beast. but if you say "sendmail -q -v" instead, sendmail will go into "verbose" mode, which will tell you a bit more about why the mail doesn't get delivered. Hope this helps, - Peter -- Peter N. M. Hansteen peter@datadok.no <A HREF="http://www.datadok.no"><A HREF="http://www.datadok.no</A">http://www.datadok.no</A</A>> Datadokumentasjon A/S, Bredsgaarden 2, N-5003 Bergen, Norway Tel: +47 55 32 08 02 Fax: +47 55 32 14 95 - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Thus spake Peter N. M. Hansteen on Sat, Feb 13, 1999 at 07:13:26PM +0100:
Thanks for any help. BTW, sendmail -q does not send the queued email either.
sendmail *is* a strange beast.
but if you say "sendmail -q -v" instead, sendmail will go into "verbose" mode, which will tell you a bit more about why the mail doesn't get delivered.
Hope this helps,
- Peter -- Thanks for the additional switch. Man, oh man, sendmail has switches for everything I think. I ran the -v switch and it says:
merwyn /home/mperry: sendmail -q -v Running IAA05299 (sequence 1 of 2) IAA05299: locked Running JAA05589 (sequence 2 of 2) JAA05589: locked So what in hell does locked mean? Where is the key? -- Michael Perry mperry@basin.com ------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
On Sat, Feb 13, 1999 at 09:33:54AM -0800, Michael Perry wrote:
Just a followon question about sendmail and its default settings. I am using mutt so I place an attachment. Sendmail reports its using the q30m option but email just sits on my local system past the 30 minutes. Here is the output of mailq
merwyn ~: mailq Mail Queue (2 requests) --Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------ IAA05299* 1481899 Sat Feb 13 08:21 mperry eriddle@lcare.com JAA05589* 1481897 Sat Feb 13 09:10 mperry eriddle@hd-consulting.com
Its now 9:30 and the mail at 8:21 should have gone out at 8:51. I have been connected all the time waiting for the queued email to go. The second one should go at 8:51 if the queue time is observed.
Is sendmail waiting for the actual recipient to come up? Does it send to the domain part of things or does it wait for eriddle to come up on the net? How long will sendmail wait to send email attachments? This behavior does not seem consistent with sendmail's options which are the default ones defined in the config file.
Thanks for any help. BTW, sendmail -q does not send the queued email either.
What do you see in the logs? I frequently tail -f /var/log/mail (or whatever log-name you use for mail) to see if/when important mail goes out. If it's a problem talking to the remote's SMTP port, the log files will give you an indication. -- Brad Shelton bshelton@ole.net On Line Exchange <A HREF="http://ole.net"><A HREF="http://ole.net</A">http://ole.net</A</A>> Detroit News <A HREF="http://detnews.com"><A HREF="http://detnews.com</A">http://detnews.com</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Thus spake Brad Shelton on Sat, Feb 13, 1999 at 01:27:50PM -0500:
What do you see in the logs?
I frequently tail -f /var/log/mail (or whatever log-name you use for mail) to see if/when important mail goes out.
If it's a problem talking to the remote's SMTP port, the log files will give you an indication.
-- Brad Shelton bshelton@ole.net On Line Exchange <A HREF="http://ole.net"><A HREF="http://ole.net</A">http://ole.net</A</A>> Detroit News <A HREF="http://detnews.com"><A HREF="http://detnews.com</A">http://detnews.com</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
I ran tail -f against the user account and get this: Feb 13 11:24:00 mperry sendmail[6880]: LAA06880: from=mperry, size=312478, class=0, pri=342478, nrcpts=1, msgid=<19990213112358.A6845@basin.com>, relay=mperry@localhost This email is sitting in the mail queue right now. Here is mailq's output on this particular one. LAA06880* 312212 Sat Feb 13 11:23 mperry mperry@lcare.com I have doctored the lower to address; but it is a real one nonetheless. Can some kind soul explain exactly what this tail -f is telling me in english? I see that msgid was released to basin.com with an ID number. Is the message actually sitting in basin.com (which is my isp's smtp host) waiting for delivery? I guess I need an email 101 lesson. This seems rather obtuse and complex to me. The msgid block seems to say that it was released to basin.com. I dont use basin.com's smtp services directly because of some issues in the past. Thanks for any help. -- Michael Perry mperry@basin.com ------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
On Sat, Feb 13, 1999 at 11:31:35AM -0800, Michael Perry wrote:
Thus spake Brad Shelton on Sat, Feb 13, 1999 at 01:27:50PM -0500:
What do you see in the logs?
I frequently tail -f /var/log/mail (or whatever log-name you use for mail) to see if/when important mail goes out.
If it's a problem talking to the remote's SMTP port, the log files will give you an indication.
-- Brad Shelton bshelton@ole.net On Line Exchange <A HREF="http://ole.net"><A HREF="http://ole.net</A">http://ole.net</A</A>> Detroit News <A HREF="http://detnews.com"><A HREF="http://detnews.com</A">http://detnews.com</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
I ran tail -f against the user account and get this:
Feb 13 11:24:00 mperry sendmail[6880]: LAA06880: from=mperry, size=312478, class=0, pri=342478, nrcpts=1, msgid=<19990213112358.A6845@basin.com>, relay=mperry@localhost
This email is sitting in the mail queue right now. Here is mailq's output on this particular one.
LAA06880* 312212 Sat Feb 13 11:23 mperry mperry@lcare.com
It would appear that the message was dropped on the localhost. See where it says relay=.... Here's an example of what a remote send looks like: Feb 13 16:11:15 pc70 sendmail[3726]: QAA03723: to=bshelton@ole.net, ctladdr=bshelton (500/1001), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, relay=ole.net. [207.252.176.1], stat=Sent (ok 918940275 qp 18539) Relay doesn't say localhost and there's a "stat" indicating that it was successfully sent to the remote SMTP server. -- Brad Shelton bshelton@ole.net On Line Exchange <A HREF="http://ole.net"><A HREF="http://ole.net</A">http://ole.net</A</A>> Detroit News <A HREF="http://detnews.com"><A HREF="http://detnews.com</A">http://detnews.com</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
bshelton-suse-linux@ole.net
-
mperry@basin.com
-
peter@datadok.no