On Monday 24 January 2011 18:38:55 polofuzzu wrote: > On 24 January 2011 17:35, Noel Jones <njo...@megan.vbhcs.org> wrote: > > 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. > > I wholeheartedly agree. But unfortunately that is the boundaries I have > been given to work with. The script is unmodifiable, sadly :( > > Kind regards, > Polo
Just curious, how does the script handle BCC ? Eg. where none of the TO and CC headers actually contain a "valid" email for the domain because that was in the BCC? -- Joost