On 1/24/2011 11:20 AM, polofuzzu wrote:
Thank you Victor for taking the time to answer my questions.
Please see respond inline
On 24 January 2011 16:46, Victor Duchovni
<victor.ducho...@morganstanley.com
<mailto:victor.ducho...@morganstanley.com>> wrote:
<snip>
> I have postfix setup to deliver all emails to
@my-domain.com <http://my-domain.com> to an smrsh
> script.
It is not clear why forgetting who the message was really
sent to is a
good idea with messages to this domain. Can you explain
what you are
really trying to achieve and why?
This is because the script reads all email addresses in "To:"
and "Cc:" header
and then perform action on bob@ and charles@.
Acting on the headers is broken by design.
You should be acting on the envelope information, not headers.