Re: [Mimedefang] Enumerate Email Address parts

2010-02-04 Thread Jan-Pieter Cornet
Op 3 feb 2010, om 19:45 heeft Kees Theunissen het volgende geschreven: On Wed, 3 Feb 2010, Paul Murphy wrote: Sender email address: j...@abc.com Need to get 'Joe' and make the recipient's email address: j...@abc.local use the VIRTUSERTABLE feature within Sendmail, with an entry like this:

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread -
--- On Wed, 2/3/10, Paul Murphy wrote: > From: Paul Murphy > Subject: Re: [Mimedefang] Enumerate Email Address parts > To: mimedefang@lists.roaringpenguin.com > Date: Wednesday, February 3, 2010, 6:10 AM > > > Sender email address:  j...@abc.com > > Need to get &#x

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Paul Murphy
--- Paul Murphy Head of I.T. Argenta Discovery 2009 Ltd Tel. 01279 645 554 Fax. 01279 645 646 >>> Kees Theunissen 03/02/2010 18:45 >>> > I'm not sure about this use of multiple addresses on the RHS of the > VIRTUSERTABLE. The 'bat book' (3rd

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Kees Theunissen
On Wed, 3 Feb 2010, Paul Murphy wrote: > >> Sender email address: j...@abc.com >> Need to get 'Joe' and make the recipient's email address: j...@abc.local > >use the VIRTUSERTABLE feature within Sendmail, with an entry like this: > >@abc.com %...@abc.com,%...@abc.local I'm not sur

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Brian Shallenberger
Looks like any one of the proposed solutions would suit my needs. In this particular scenario, the filtering sendmail server is internal to our organization. It is the server our email clients see as the SMTP server. I'm relaying the outbound email to our domain's 'real' SMTP server. From this I

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Kevin A. McGrail
It sounds like you are trying to get the local user and that you are assuming the first half of the email address is the username. Instead, might be worth a caching system that uses sendmail -bv to verify it's a local user: For example, sendmail -bv kmcgrail-t...@pccc.com kmcgr

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Paul Murphy
> Sender email address: j...@abc.com > Need to get 'Joe' and make the recipient's email address: j...@abc.local use the VIRTUSERTABLE feature within Sendmail, with an entry like this: @abc.com%...@abc.com,%...@abc.local Then all users at abc.com will have their mail deliver

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread David F. Skoll
Joseph Brennan wrote: > I learned on Usenet in 1989 that the way to get discussion going is > to post something that other people can correct! The more quickly > written the better. Wow... in 1989, I learned that the way to get discussion [sic] going is to mention guns, abortion and the Middle E

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Joseph Brennan
"David F. Skoll" wrote: Joseph Brennan wrote: 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... I learned on Usenet in 1989 that the way to get discuss

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 3 Feb 2010, Brian Shallenberger wrote: Sender email address: j...@abc.com Need to get 'Joe' and make the recipient's email address: j...@abc.local The abc.com and abc.local will not change. The purpose is to archive email for each user

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread David F. Skoll
Joseph Brennan wrote: > 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... But seriously, that's going to work fine in practice. I'd tweak it just a tiny bit

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Joseph Brennan
Brian Shallenberger wrote: Is there a way to parse the part of the Sender's email address that precedes the '@' character so I can build a recipient's email address? For example: Sender email address: j...@abc.com There is of course "more than one way to do it", but here's one: my ($local

Re: [Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Brian Shallenberger
I've updated sendmail to latest source 8.14 version. Compiled with latest available mimedefang Brian ___ 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.mimedef

[Mimedefang] Enumerate Email Address parts

2010-02-03 Thread Brian Shallenberger
I have sendmail 8.13.8 with mimedefang running. I have successfully created a simple filter to add a recipient to outbound email for a specific sender. I am new to mimedefang and not a wiz at perl, but can pick it up quick with some direction. Is there a way to parse the part of the Sender's emai