[TriLUG] sendmail question -ONoRecipientAction=Add-To-Undisclosed
Jon Carnes
jonc at nc.rr.com
Fri May 23 12:49:28 EDT 2003
Here is a moronic question for you:
Why don't you simply include a bogus or valid email address in the TO:
field... like all legitimate email does?
Whenever I've blasted out mass-mailings (code word for spam *from* my
company) I always put the From: address in the To: field as well, but
change the display name to "Undisclosed Recipients".
NBD and the mail doesn't look radioactive to the end-user or to spam
filters.
Jon
On Fri, 2003-05-23 at 12:28, Jeremy Portzer wrote:
> Hello,
>
> According to the documentation, enabling this option will add an
> "Undisclosed Recipients:;" header to email that doesn't have a To:
> field. I need this behavior for sending out email with BCC recipients
> from an application.
>
> However, it doesn't actually work. Email continues to be sent out with
> no To: header at all (which tends to trigger spam filters).
>
> I've put this in sendmail.mc, rebuilt sendmail.cf, and restarted the
> daemon:
> define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
>
> I've also tried running "/usr/sbin/sendmail -t
> -ONoRecipientAction=Add-To-Undisclosed" and feeding it mail with BCC
> headers. It doesn't work... the special "To: Undisclosed Recipients:;"
> header NEVER gets added.
>
> I've also tried just including the "To: Undisclosed Recipients:;" from
> my application. I've also tried the syntax of "To:
> undisclosed-recipients:;" which seems to be sometimes used. However,
> the mail then gets bounced with this error:
> 553 5.1.3 undisclosed-recipients:;... List:; syntax illegal for
> recipient addresses
>
> I'm using sendmail-8.11.6-25.73 on Red Hat Linux 7.3. Any ideas on how
> to get this option working?
>
> This requirement is important enough to me that I'll switch to postfix
> if Postfix can do this properly. Does anyone have experience with
> similar options in Postfix ?
>
> Thanks!
>
> Jeremy Portzer
More information about the TriLUG
mailing list