[Exim] stupid question about golbal filtering and forwarding

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tibor Koleszar
Date:  
À: exim-users
Sujet: [Exim] stupid question about golbal filtering and forwarding
Hello,

I've written a litte rule into the global filter file, which is forwarding
mails.


if ${lookup{$recipients}lsearch{/etc/mail/forward}{$value}} is not ""
then
headers add "X-Forwarder-by: mail.oldwnet.hu at $tod_log"
deliver "${lookup{$recipients}lsearch{/etc/mail/forward}{$value}}"
endif

And the /etc/mail/forward file is a simple lseach foo: foo type file.
So,it works nicely is there is just one recipient in $recipients variable.
If there are more, lookup cant handle it. Any other way to make a
pre-interpreted global forwarding?

Thanks

ps. exim version:
Exim version 3.12 #1 built 13-Apr-2000 00:15:03
Copyright (c) University of Cambridge 1999


-- 
==( IntegraNET )======( Internet Service Provider Corporation )==
  Koleszár Tibor | System engineer                               
          E-mail | t.koleszar@???, oldw@???         
  Public PGP key | http://master.debian.org/~oldw/public.key.asc