Re: [exim] customizing a router - exim 4.63 debian testing

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Haber
Fecha:  
A: exim-users
Asunto: Re: [exim] customizing a router - exim 4.63 debian testing
On Thu, 2 Nov 2006 22:00:09 +0100, "Marco Kammerer"
<marco.kammerer@???> wrote:
>I have a exim 4.63 with SA Exim and Clamav up and running and forward all
>spamemails to a spezial "spambox".


My I ask why you use SA-Exim instead of exim's built-in ACL
spamassassin interface?

http://wiki.debian.org/PkgExim4UserFAQ#head-892f945cadf27c164ae86875dda7de41020088f3

>therefore i have i use this
>
>accept
>        condition = ${if <{$message_size}{100k}{1}{0}}
>        spam = nobody
>        set acl_m1 = spambox@???
>        delay = 15s

>
>and i added tthe router
>
>/etc/exim4/conf.d/router/050_exim4-config_spam_redirect
>spam_redirect:
> debug_print = "R: scan_redirect for $domain"
> driver = redirect
> condition = ${if def:acl_m1 {1}{0}}
> headers_add = X-Original-Recipient: $local_part@$domain
> data = $acl_m1
> redirect_router = hubbed_hosts
>
>
>I want to have this "redirect" working if i have the domain the email was
>sent to is listed in a file called
>
>in CONFDIR/domain_not_to_spambox
>
>i trieded around with this
>
>domain = "${if exists{CONFDIR/domain_not_to_spambox}\
>                       {partial-lsearch;CONFDIR/domain_not_to_spambox}\
>                        fail}"

>
>it is from the hubbedhosts but it is not working.


You could try debugging exim with the -d switch and/or expand the
"does not work" question.

http://www.catb.org/%7Eesr/faqs/smart-questions.html

An educated guess would be that you are using non-splt config, but you
edit a file used in split config.

http://pkg-exim4.alioth.debian.org/README/README.Debian.html#id2451550

May I ask why you ask this question here instead of the Debian exim4
mailing list?

http://pkg-exim4.alioth.debian.org/README/README.Debian.html#id2452060

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834