Discussion: Change
Afficher un message
Vieux 20/10/2006, 19h32   #6
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Change


slonic@cg.yu wrote:

>
> 321999998@domain.com
> 321999999@domain.com
> respectively.
> So, instead of having 999999 entries in some place i would like to have
> few lines that change first three characters of user part. This should
> happen only if those three lchars are 123 (they should be changed to
> 321). Rest of user part should remains as it was before.
>
> Hope this is understandable.
>
> Thanks


Since sendmail tokenizing means that you will have few chances to deal
with a subset of the localpart you may be best off by constructing a
program map shell script that does the translation you want

(see doc/op/op.txt)

Then you can follow the suggestions in this post (is there a new/better
way?) to get sendmail to use both your map and the normal virtusertable
map.

http://groups.google.com/group/comp....0dc128847b4ce5

  Réponse avec citation
 
Page generated in 0,07473 seconds with 9 queries