If a user places multiple email addresses in the 'To' header with commas
betweeen the addresses, like this:
To:
adr1(_at_)domain(_dot_)com,adr2(_at_)domain(_dot_)com,adr3(_at_)domain(_dot_)com
procmail is only seeing the first address routing it correctly. the
others are ignored.
how can this be fixed (and when the same multi. addressing occurs in a CC
header)?
also, do I need to have separate lines for CC in my .procmailrc file too?
it is really a pain. here's my .procmailrc file where these offenses are
occuring. THANX!
SHELL=/bin/sh
LINEBUF=4096
PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin
VERBOSE=off
MAILDIR=$HOME/mail #make sure it exists
DEFAULT=$ORGMAIL #default is /var/mail/username
SENDMAIL=/usr/lib/sendmail
FORMAIL=/usr/local/bin/formail
LOGFILE=$MAILDIR/from-log #recommended
:0
* ^TOadr1
! popbox1
:0
* ^CCadr1
! popbox1
:0
* ^TOadr2
! popbox2
:0
* ^CCadr2
! popbox2
-----Original Message-----
From: Philip Guenther [mailto:guenther(_at_)gac(_dot_)edu]
Sent: Tuesday, March 16, 1999 12:59 AM
To: Stan Ryckman
Cc: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: Re: procmailrc h and b options
Stan Ryckman <stanr(_at_)sunspot(_dot_)tiac(_dot_)net> writes:
At 04:58 PM 3/15/99 -0500, Mark Swanson wrote:
I only want to pipe the body to a program. I notice that 'h' and 'b'
only turn on 'send header to pipe' and 'send body to pipe' but both are
on by default. So How do I specify 'send only body to pipe'?
It's not an oddity
Use just 'b' for the body;
But 'h' is much better
if you want just the header.
But to pipe both, you see,
confuses me to distraction;
Use 'bh' or 'hb'
or neither one for this action.
I like this! Maybe all answers on this list should be phrased as
poetry:
'hb' or nothing
They give the same result here:
everything, no more
How did the rhyming go on a sonnet? ababcdcdefefgg?
Philip Guenther