🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Frank Slootweg Wed, 07 Apr 2004 15:17
[tin+ssmtp] Multiple To: addresses?
#145932
Author: Frank Slootweg
Date: Wed, 07 Apr 2004 15:17
61 lines
2886 bytes
[Note: I realize that this might well be an e-mail question or/and a
ssmtp question, but assume that some people in this (newsreader) group
know the answer, so to keep things simple I start here.]

  What is the right format for multiple To: addresses when sending mail
with tin?

  FWIW, I'm using tin on (MS-)Windows, i.e. with Cygwin, and use ssmtp
(a send-only clone of sendmail) instead of sendmail.

  I tried:

1. <address><space><address>
============================

> To: address1 address2

i.e. <address><space><address>.

  That failed. The mailserver said that the To: line was:

> To:      address1; address2

i.e. it translated the space to "; " (<semicolon><space>) which looks
reasonable, but the failure said:

> did not reach the following recipient(s):
> "user1@domain1user2"@domain2

(note the missing space and the strange quote placement)

and

> 550 relaying denied for <user1@domain1user2@domain2> (in reply to RCPT
> TO command)>

(note the missing space).

2. <address><comma><space><address>
===================================

> To: address1, address2

i.e. <address><comma><space><address>.

  That was *delivered* to the inbox of address1 and the inbox of
address2 (i.e. so far, so good), *but* *both* copies had

> To: address1

i.e. user "address1" doesn't know it was also sent to "address2" and
user "address2" does not see his name in the To: line (so has to assume
that the message has been Bcc:-ed or worse).

  So what *is* the correct format for multiple To: addresses when
sending mail with tin (and ssmtp)?

  Looking forward to any and all responses.

[Note: I *think* I did this in my tin_on_UNIX_with_sendmail days, but am
not sure, and in any case do not remember how.]
Re: [tin+ssmtp] Multiple To: addresses?
#145957
Author: anon
Date: Wed, 07 Apr 2004 19:59
10 lines
1348 bytes
Frank Slootweg <this@ddress.is.invalid> wrote:

>   What is the right format for multiple To: addresses when sending mail
> with tin?

address1,address2,address3, etc...

BTW, if anyone knows of a free email provider that's compatible with
pine (linux), please let me know. I've tried yahoo and netzero; I either
can't connect at all, or can only receive, not send mail.
Re: [tin+ssmtp] Multiple To: addresses?
#145986
Author: Frank Slootweg
Date: Thu, 08 Apr 2004 07:50
14 lines
1605 bytes
anon <anon@anonn.com> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:
> 
>>   What is the right format for multiple To: addresses when sending mail
>> with tin?
> 
> address1,address2,address3, etc...

  No, at least for ssmtp, that does not work. The results are the same
as for <comma><space> (instead of just <comma>), i.e. mail is delivered
to all mailboxes (good), but all copies only have "To: address1" in
their headers (wrong).

  Any other suggestions?
Re: [tin+ssmtp] Multiple To: addresses?
#145993
Author: Blinky the Shark
Date: Thu, 08 Apr 2004 14:47
23 lines
1952 bytes
Frank Slootweg wrote:
> anon <anon@anonn.com> wrote:
>> Frank Slootweg <this@ddress.is.invalid> wrote:

>>>   What is the right format for multiple To: addresses when sending
>>>   mail with tin?

>> address1,address2,address3, etc...

>   No, at least for ssmtp, that does not work. The results are the same
>   as for <comma><space> (instead of just <comma>), i.e. mail is
>   delivered to all mailboxes (good), but all copies only have "To:
>   address1" in their headers (wrong).

Wrong?  Sounds like a feature to me -- it keeps you from broadcasting
every recipient's address to all the other recipients.  Put your own
address first, and you will honor the privacy of your recipients.

-- 
Blinky                                          Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.net
http://blinkynet.net/spag/w2000src.html - Win Source Code Leak
Re: [tin+ssmtp] Multiple To: addresses?
#145995
Author: Frank Slootweg
Date: Thu, 08 Apr 2004 15:37
20 lines
2076 bytes
Blinky the Shark <no.spam@box.invalid> wrote:
> Frank Slootweg wrote:
>> anon <anon@anonn.com> wrote:
>>> Frank Slootweg <this@ddress.is.invalid> wrote:
> 
>>>>   What is the right format for multiple To: addresses when sending
>>>>   mail with tin?
> 
>>> address1,address2,address3, etc...
> 
>>   No, at least for ssmtp, that does not work. The results are the same
>>   as for <comma><space> (instead of just <comma>), i.e. mail is
>>   delivered to all mailboxes (good), but all copies only have "To:
>>   address1" in their headers (wrong).
> 
> Wrong?  Sounds like a feature to me -- it keeps you from broadcasting
> every recipient's address to all the other recipients.  Put your own
> address first, and you will honor the privacy of your recipients.

  That is what Bcc: is for.
Re: [tin+ssmtp] Multiple To: addresses?
#146008
Author: Blinky the Shark
Date: Thu, 08 Apr 2004 20:11
31 lines
2354 bytes
Frank Slootweg wrote:
> Blinky the Shark <no.spam@box.invalid> wrote:
>> Frank Slootweg wrote:
>>> anon <anon@anonn.com> wrote:
>>>> Frank Slootweg <this@ddress.is.invalid> wrote:

>>>>>   What is the right format for multiple To: addresses when sending
>>>>>   mail with tin?

>>>> address1,address2,address3, etc...

>>>   No, at least for ssmtp, that does not work. The results are the same
>>>   as for <comma><space> (instead of just <comma>), i.e. mail is
>>>   delivered to all mailboxes (good), but all copies only have "To:
>>>   address1" in their headers (wrong).

>> Wrong?  Sounds like a feature to me -- it keeps you from broadcasting
>> every recipient's address to all the other recipients.  Put your own
>> address first, and you will honor the privacy of your recipients.

>   That is what Bcc: is for.

And that would be where you should be doing your recipients' addresses, instead
of using To, in the first place.  But since you were using To, I tried to keep
it simple.

-- 
Blinky                                          Linux RU 4892F
http://linuxnotjustforgeeks.org
http://blinkynet.net
http://blinkynet.net/spag/w2000src.html - Win Source Code Leak
Re: [tin+ssmtp] Multiple To: addresses?
#146036
Author: Frank Slootweg
Date: Fri, 09 Apr 2004 07:26
34 lines
2643 bytes
Blinky the Shark <no.spam@box.invalid> wrote:
> Frank Slootweg wrote:
>> Blinky the Shark <no.spam@box.invalid> wrote:
>>> Frank Slootweg wrote:
>>>> anon <anon@anonn.com> wrote:
>>>>> Frank Slootweg <this@ddress.is.invalid> wrote:
> 
>>>>>>   What is the right format for multiple To: addresses when sending
>>>>>>   mail with tin?
> 
>>>>> address1,address2,address3, etc...
> 
>>>>   No, at least for ssmtp, that does not work. The results are the same
>>>>   as for <comma><space> (instead of just <comma>), i.e. mail is
>>>>   delivered to all mailboxes (good), but all copies only have "To:
>>>>   address1" in their headers (wrong).
> 
>>> Wrong?  Sounds like a feature to me -- it keeps you from broadcasting
>>> every recipient's address to all the other recipients.  Put your own
>>> address first, and you will honor the privacy of your recipients.
> 
>>   That is what Bcc: is for.
> 
> And that would be where you should be doing your recipients'
> addresses, instead of using To, in the first place.  But since you
> were using To, I tried to keep it simple.

  I beg to differ. There are perfectly valid reasons for having multiple
To: (and Cc:) addresses.

  So my original question still stands:

  What is the right format for multiple To: addresses when sending mail
with tin?
Re: [tin+ssmtp] Multiple To: addresses?
#146042
Author: Dirk Nimmich
Date: Fri, 09 Apr 2004 10:53
27 lines
2461 bytes
Frank Slootweg wrote:
>  So my original question still stands:
> 
>  What is the right format for multiple To: addresses when sending mail
> with tin?

As someone already said in this thread, the valid format for
multiple addresses in To is to separate them by commas (white space
is ignored, so you may add as much as you want). See RFC 2822 for
further reference.

This hasn't anything to do with tin since it just hands over the
complete mail to your sendmail replacement. If you don't receive
what you saw in tin (or, to be more precise, in your editor), it's
most likely your sendmail replacement doing things it shouldn't do.

If you really want to be sure what is handed over to your sendmail
replacement, just review the contents of the letter file before
typing 'y' or 's' to send the e-mail.


(JFTR: I agree with you that there are legimate reasons to put
several addresses into the To header. I routinely do so on many
occasions, as I do with the Cc header. There's a semantic meaning
by using the differently named headers, and I want to be able to
express these meanings.)
Re: [tin+ssmtp] Multiple To: addresses?
#146041
Author: Frank Slootweg
Date: Fri, 09 Apr 2004 11:57
35 lines
2826 bytes
Dirk Nimmich <nimmich@muenster.de> wrote:
> Frank Slootweg wrote:
>>  So my original question still stands:
>> 
>>  What is the right format for multiple To: addresses when sending mail
>> with tin?
> 
> As someone already said in this thread, the valid format for
> multiple addresses in To is to separate them by commas (white space
> is ignored, so you may add as much as you want). See RFC 2822 for
> further reference.

  Thanks. Call me silly, but I value information from you more than from
someone called "anon"! :-)

> This hasn't anything to do with tin since it just hands over the
> complete mail to your sendmail replacement. If you don't receive
> what you saw in tin (or, to be more precise, in your editor), it's
> most likely your sendmail replacement doing things it shouldn't do.
> 
> If you really want to be sure what is handed over to your sendmail
> replacement, just review the contents of the letter file before
> typing 'y' or 's' to send the e-mail.

  I will do some testing outside tin, i.e. with just ssmtp, and if this
(as to be expected) also fails, I will take it up with the Cygwin ssmtp
people.

> (JFTR: I agree with you that there are legimate reasons to put
> several addresses into the To header. I routinely do so on many
> occasions, as I do with the Cc header. There's a semantic meaning
> by using the differently named headers, and I want to be able to
> express these meanings.)

  Thanks.
Re: [tin+ssmtp] Multiple To: addresses?
#146048
Author: anon
Date: Fri, 09 Apr 2004 17:42
7 lines
1391 bytes
Frank Slootweg <this@ddress.is.invalid> wrote:

>   Any other suggestions?

Oops, I didn't realize you had already tried it with the comma. Anyway,
putting the addresses in the Cc: header instead should make them visible
to your recipients.
Re: [tin+ssmtp] Multiple To: addresses?
#146079
Author: Frank Slootweg
Date: Sat, 10 Apr 2004 14:31
27 lines
2665 bytes
Yesterday, I wrote:
[deleted]
>   I will do some testing outside tin, i.e. with just ssmtp, and if this
> (as to be expected) also fails, I will take it up with the Cygwin ssmtp
> people.

  Outside tin, ssmtp failed as well, so it clearly was a ssmtp problem.

  I could not see anything related in the ssmtp documentation, so I went
to the Cygwin site (<http://cygwin.com>) to see if there was a new ssmtp
package. There was: 2.60.4-3 (I had the previous version 2.38.7-4).

  So I updated to the new version. While the documentation of that new
version did not mention this problem, it mentioned quite significant
changes. So I tested the new version and lo and behold, the problem is
gone! I.e. "To: address1,address2" works and so does
"Cc: address1,address2". So I am a happy camper!

  Lesson (to self! :-)): Always check for a new version and test that,
especially if the new version is only 1 level newer (i.e. you can roll-
back to the old version if neccessary (AFAIK, the Cygwin site also keeps
the previous version, so one can roll-back one version)).

  Sorry to have bothered everyone with this, in hindsight, trivial
problem.

[deleted]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads