On Tuesday 02 December 2003 16:45, Jon Nelson wrote:
> Questions:
> 1. What went wrong?

If you want multiple recipients you specify them separated by whitespace, not 
by a comma.   This message was injected with ONE recipient since there was no 
whitespace between the address  "[EMAIL PROTECTED],[EMAIL PROTECTED]" is seen as a 
single address.

You needed to use 

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

> 2. why is '[EMAIL PROTECTED]' after the host= line

Courier parses the address looking for a '@'.  Everything after the '@' is 
assumed to be the domain.  So in the address "[EMAIL PROTECTED],[EMAIL PROTECTED]", 
"domain.com,[EMAIL PROTECTED]" is what's after the first '@'.  Hence courier 
sets that as the mailhost.

> 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.

Well two out of three isn't bad! ;-)

I just submitted a message using exactly the line that you indicated and I can 
see the message with mailq run both as root and as the user who injected the 
message.

Jeff Jansen



-------------------------------------------------------
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