Mate Wierdl writes: 

> On Thu, Aug 23, 2001 at 10:49:06AM -0600, Jason R. Mastaler wrote:
>> flunkerz.org:jasonrm-flunkerz 
>> 
>> and I send a message to [EMAIL PROTECTED], RECIPIENT is
>> [EMAIL PROTECTED] 
>> 
>> Is there any way to determine what the *original* envelope recipient
>> ([EMAIL PROTECTED]) was under a virtualdomain before qmail changed it
>> to the local representation?  
> 
> How about 
> 
> echo $RECIPIENT | sed 's/jasonrm-flunkerz-//' 
> 

Not if prefix (virtualdomains user) is unknown in a locals and
virtualdomains setup. More or less the question of determinate if this mail
is to a local account or a virtualdomains account. If it's to a local
account don't strip and a virtualdomains do strip. 

 --
 --------------------------------------------
IDG New Media        Einar Bordewich
Development Manager  Phone: +47 2336 1420
E-Mail:              eibo(at)newmedia.no
Lat: 59.91144 N      Lon: 10.76097 E
 -------------------------------------------- 

Reply via email to