xcmail  

XCmail: Sending email - multiple recipients

David Pilgram
Tue, 07 May 2002 03:04:19 -0700

Dear Jürgen,

XCmail using sendmail (not tested this with it's own STMP - yet)

I sent an email with two "To:" recipients.

But I had an error in it, so I deleted the copy in the /var/spool/mqueue,
(both files, called it up from the outbox as "Resent", corrected the piece
and re-sent it.  


It was rejected.  

The reason seems to be as follows.

The first time I sent it, this is the entry in the qfxxxxxx file in
/var/spool/mqueue (I have altered the names, but not the formats)

RPFD:user@domain1
RPFD:user@domain2
H?P?Return-Path: <account>
HReceived: (from account@localhost)
        by mycomputername (8.9.3/8.9.3) id LAA11137;
        Tue, 7 May 2002 11:05:34 +0100
H?F?From: myaccount
H?x?Full-Name: My Name
H?M?Message-Id: <200205071005.LAA11137@mycomputername>
HTo: user@domain1, user@domain2
HReply-To: [EMAIL PROTECTED]
....

If I call it up from the outbox, and simply resend it, this is in the 
qfxxxxxx file:

RPFD:"user@domain1,user@domain2"
H?P?Return-Path: <account>
HReceived: (from account@localhost)
        by mycomputername (8.9.3/8.9.3) id LAA11149;
        Tue, 7 May 2002 11:05:34 +0100
H?F?From: myaccount
H?x?Full-Name: My Name
H?M?Message-Id: <200205071005.LAA11149@mycomputername>
HTo: "user@domain1,user@domain2"
HReply-To: [EMAIL PROTECTED]
....

Note the differences.  The successful sending had the two accounts (or it
could be more) each on separate lines starting RPFD, whereas the
unsuccessful sending had them all on one line. 

Also, the second time, the two users are grouped together within "" in
both places.

The message back from the server is:

   ----- The following addresses had permanent fatal errors -----
"user@domain1,user@domain2"

   ----- Transcript of session follows -----
... while talking to twicksci.com.:
>>> RCPT To:<user@domain1,user@domain2>
<<< 550 <user@domain1,user@domain2>... Relaying denied.  Please
check
your mail first.
550 "user@domain1,user@domain2"... User unknown


This happens whether or not the *automatic* addressbook is on or off.  In
order to give a fair test, the examples above were done with addresses I
had made up, and never used before, so no confusion with existing entries
in the addressbook.

This also happens with Cc: entries.  However, it must be a recent
"problem", because I'm sure I've resent emails with multiple recipients
in the Cc: line before now, without problems.  It also throws the errors. 
In this case, the message back from the server is the same.

Regards,

David.