--- On Wed, 2/3/10, Paul Murphy <[email protected]> wrote:
> From: Paul Murphy <[email protected]>
> Subject: Re: [Mimedefang] Enumerate Email Address parts
> To: [email protected]
> Date: Wednesday, February 3, 2010, 6:10 AM
>
> > Sender email address: [email protected]
> > Need to get 'Joe' and make the recipient's email
> address: [email protected]
>
> use the VIRTUSERTABLE feature within Sendmail, with an
> entry like this:
>
> @abc.com %[email protected],%[email protected]
One can't do that in the virtual user table. Expansions are permitted only in
the alias table.
>> There is of course "more than one way to do it", but here's one:
>> my ($localpart,$domainpart) = split('@',$Sender);
>
> /me waits for D. Stussy to point out the 100+ ways that can go wrong...
That's exactly what you should be doing. Just remember to re-join it.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang