|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Q: How to ... Generic names for mail users
From: Tim B (mostlyharmless
optonline.net)
Date: Mon Jan 03 2005 - 17:01:57 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andreas P. wrote:
> Hi,
>
>>> Now I'd like to introduce a "generic name" for some of my mailusers:
>>> Real user: some.one
my.dom
>>> Generic name: some.one-[xxx]
my.dom
>>> The generic name consists of
>>> - the local part of real name
>>> - plus a dash (at least this would be my favourite)
>>> - plus a variable part [xxx] of any length.
>>>
>>> So far I haven't found a way to get this done. The name extensions I
>>> have found with using "some.one+xxx
my.dom" are not accepted by the
>>> mailsystem behind.
>>
>>
>> recipient_delimiter = -
>>
>
> thanks to Magnus for the hint ... but the mailsystem behind does not
> cope with that ... so is there any idea to take the original recipient
> "myaccount" <some.one-xxx
my.dom>
> and make a
> "myaccount -- some.one-xxx
my.dom" <some.one
my.dom>
> out of it? So the mailsystem behind just evaluates the "some.one
my.dom"
> and the recipient still can see to whom the mail was adresses to ...
>
> Thanks in advance
>
> Andreas
>
I don't know if I'm understanding what your exactly asking for...but I
think what you might want to look at is canonical mapping.
that will take any mail received to an smtp envelope recipient of
publicaddress
my.dom and translate it to realaddress
mydom.com However,
I do not think xxx can be "variable" as I do not know if you can use
pcre lookups on a canonical maps file.
so for your example you canonical maps file would have:
some.one-xxx
my.dom some.one
my.dom
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]