4 messages in net.sourceforge.lists.courier-maildrop[maildropl] FROM and TO
FromSent OnAttachments
Omer Faruk SenNov 7, 2005 4:36 am 
Thorsten HaudeNov 7, 2005 5:05 am 
Sam VarshavchikNov 7, 2005 3:22 pm 
Omer Faruk SenNov 8, 2005 3:57 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] FROM and TOActions...
From:Omer Faruk Sen (omer@gmail.com)
Date:Nov 7, 2005 4:36:35 am
List:net.sourceforge.lists.courier-maildrop

Hi,

I wonder how can I get exact email addresses from From: and To: header

I have used /^To:\s+(.*)@domain.com/ and /^From:\s+(.*)@domain.com/)

but I am sure there are better regex for getting From and To.

What I want to do is to use always_bcc feature of Posix. After sending all email to a spesific user I will filter those emails according to From and To lines which contains domain.com than create ./Maildir/.from.${USER} or ./Maildir/.to.${USER} and deliver email to that folder.

Has anyone done that before?