Auteur: Steve Foster
Date:
À: exim-users
Sujet: [Exim] piping to a script
Hi there,
i am trying to set up exim to pipe emails through a script , while removing
part of the To: address,
e.g
i am sending to mail-ticket+test@mailserver , i want exim to remove the
mail-ticket+ section, and just pass "test" to a script as the first argument.
i can get it to do this by having the relevant alias in /etc/mail/aliases
but i also want to avoid multiple aliasfile entries.
currently the following works:
mail-ticket+test: "|/usr/local/bin/spool-ticket.pl test"
is there a way for this to be completed, either with a default aliasfile
entry that causes all messages matching to go through the pipe transport???
any help would be greatly appreciated..
many thanks
Steve
Steve Foster
Senior Systems Administrator
PSINet Europe
Work: +44 (1223) 577322
Mobile: +44 (7720) 425911