Adding/Removing Headers with Sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Sa, den 14.05.2005 schrieb Lee W um 11:28:

> An email comes into joe.bloggs.sa...@xxxxxxxxxxx this then gets split so
> that it is delivered to joe.blo...@xxxxxxxxxxx and also s...@xxxxxxxxxxxx
> 
> I think that i have figured out how to rewrite to the second address but
>   how can I get it to send it to the new address as well.  I was hoping
> there would be a way of doing this automatically so that we don't have
> to setup these addresses for every new starter and they apply on a
> global basis.

> Lee

I suggest you are working with plussed addresses. To be specific an
example would be

john.doe+event1@xxxxxxx

You are then able to use the parts as follows:

%1@xxxxxxx == john.doe@xxxxxxx
%2@xxxxxxx == event1@xxxxxxx
[%3 == +event1]

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp 
Serendipity 17:35:20 up 17:07, 17 users, 1.02, 0.62, 0.45 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.centos.org/pipermail/centos/attachments/20050514/95fb06ec/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux