I sent an email that had a bad recipient.
I will sanitize the actual recipients and the recipient MX, but
otherwise everything is the same.


Instead of being sent to

[EMAIL PROTECTED]
and
[EMAIL PROTECTED]
(there were two recipients)

I accidentally sent it to

[EMAIL PROTECTED],[EMAIL PROTECTED]

This is what my logs show (sanitized slightly):

Dec  2 10:26:21 honker courierd: newmsg,id=0000E495.3FCCBD2D.00002488:
dns; localhost (localhost [127.0.0.1])

Dec  2 10:26:21 honker courierd:
started,id=0000E495.3FCCBD2D.00002488,from=<[EMAIL PROTECTED]>,module=esmtp,
host=domain.com,[EMAIL PROTECTED],addr=<[EMAIL PROTECTED],[EMAIL PROTECTED]>

^^^^ Why does this line show [EMAIL PROTECTED] after the host= part?

Dec  2 10:26:21 honker courierd: Waiting.  shutdown time=none, wakeup
time=none, queuedelivering=1, inprogress=1


Dec  2 10:27:21 honker courieresmtp:
id=0000E495.3FCCBD2D.00002488,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED],[EMAIL 
PROTECTED]>:
Connection refused

Dec  2 10:27:21 honker courieresmtp:
id=0000E495.3FCCBD2D.00002488,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED],[EMAIL 
PROTECTED]>,status:
deferred

Dec  2 10:27:21 honker courierd: completed,id=0000E495.3FCCBD2D.00002488

Dec  2 10:27:21 honker courierd: Waiting.  shutdown time=Mon Dec 15
10:23:40 2003, wakeup time=Tue Dec  2 10:32:21 2003, queuedelivering=1,
inprogress=0




=======

OK.  However, 'mailq' did not, at any point, show this message.
I had to manually remove the message (I suppose I could have used
cancelmsg from the information from the logs, but I forgot).
Why would mailq not have shown the message?

I retained the original C and D files (3 of them).  One from msgq and 2
from msgs.

Also, the 'D' file has as it's To line:

To: [EMAIL PROTECTED], [EMAIL PROTECTED]

and the invocation was using the 'mail' command:

mail -s 'subject here' [EMAIL PROTECTED],[EMAIL PROTECTED]
...


Questions:
1. What went wrong?
2. why is '[EMAIL PROTECTED]' after the host= line
3. most importantly, why didn't the 'mailq' command show the message.
   I ran mailq both as a normal user and as root, and the mailq
   executable is setuid to daemon, mode daemon.daemon, and the queue
   files were jnelson.daemon.

--
Your ideas are intriguing to me and I wish to subscribe to your
newsletter.

Jon Nelson <[EMAIL PROTECTED]>
C and Python Code Gardener


-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to