I'm capturing all email for a domain into one mailbox, using procmail.
Works fine. I'm doing this so I can read each "To:" header field and
send the body of the email to a fax machine (The "To:" field contains
phone number & related information).
This works great _except_ on email originating from mailing lists.
Mailing list mail has the list name (i.e. sample-list(_at_)foobar(_dot_)com) in
the
"To:" field, effectively obliterating the "real" address (which is
strange as the email arrives at the machine just fine).
My question: How can I capture the "real" To: address of email arriving
from mailing lists? Any info greatly appreciated - I'm to the point of
desperation as I cannot implement my fax server without solving this!
Sincerely,
Brian Rankin