[Mimedefang] Enumerate Email Address parts
-
kd6lvw at yahoo.com
Wed Feb 3 15:24:53 EST 2010
--- On Wed, 2/3/10, Paul Murphy <Paul.Murphy at argentadiscovery.com> wrote:
> From: Paul Murphy <Paul.Murphy at argentadiscovery.com>
> Subject: Re: [Mimedefang] Enumerate Email Address parts
> To: mimedefang at lists.roaringpenguin.com
> Date: Wednesday, February 3, 2010, 6:10 AM
>
> > Sender email address: Joe at abc.com
> > Need to get 'Joe' and make the recipient's email
> address: Joe at abc.local
>
> use the VIRTUSERTABLE feature within Sendmail, with an
> entry like this:
>
> @abc.com %1 at abc.com,%1 at abc.local
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.
More information about the MIMEDefang
mailing list