Qmail
[Top] [All Lists]

Re: unable to parse comma-delimited addresses

To: qmail@list.cr.yp.to
Subject: Re: unable to parse comma-delimited addresses
From: Charles Cazabon <qmail@discworld.dyndns.org>
Date: Wed, 8 Aug 2007 16:02:40 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <54066.128.165.148.97.1186607646.squirrel@webmail.lanl.gov>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <54066.128.165.148.97.1186607646.squirrel@webmail.lanl.gov>
User-agent: Mutt/1.5.11
Quellyn L. Snead <quellyn@lanl.gov> wrote:
> I've noticed some odd behaviors while testing simple email to multiple
> recipients with addresses delimited by comma.

Multiple addresses are delimited by commas in an RFC822 header, however:

> > [root@testbox etc]# mail -s "TEST" djo@lanl.gov,quellyn@lanl.gov

That's not what you're doing here -- here, you're expecting the `mail` program
to parse multiple email addresses from a single commandline argument.

Your `mail` program documentation (not part of qmail) will tell you whether
that's supported or not -- looks like not.

To do that in a standard way, supply multiple recipients to the qmail-inject
command, or sendmail wrapper, or mailsubj wrapper:

  mailsubj 'this is my subject' recipient-1 recipient-2 ...

> Delivery fails, apparently because the addresses aren't being parsed:

They're not supposed to be in that instance.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>