procmail
[Top] [All Lists]

Re: forward to multiple addresses

2003-04-03 18:04:07
At 01:03 2003-04-04 +0200, Dallman Ross did say:
On Thu, Apr 03, 2003 at 02:46:00PM -0800, Brad Wright wrote:
> ! somebody(_at_)somewhere(_dot_)com, 
somebody_else(_at_)somewhere_else(_dot_)com

SANDBOX.  Run it in a SANDBOX.
VERBOSE=ON, examine the logs. Before assuming that procmail isn't forwarding to multiple recipients properly, make sure that the recipe is matching the conditions as you expect them (as Dallman said, that lack of space between the header and content probably means your recipe isn't matching).

As for commas, the point was discussed here about a week ago (again),

IIRC, it was in the context of adding comments, and my point (besides that commas aren't asked for by Sendmail) was that the addresses on the !-forward line are effectively BCC'd to the message, so comments were meaningless, even if they didn't aggravate Sendmail.

In any event, $SENDMAIL contains the name of the program (possibly with options) which is invoked to send messages (basically, for forwarding, but it is also useful wherever you may wish to manually send something - in delivery pipelines for instance), and the contents of the ! line (minus the bang of course) are tacked onto that.

IOW, check what your $SENDMAIL is set to, and then check the manpage for that program - ultimatley, that's what determines if the syntax you provide on the ! line is acceptable.

I'm with Dallman though - no spaces works, is less cruft, and just happens to match the sendmail manpage, so that's what I use, even if commas were allowed.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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