Re: [exim] Smarthost condition for special senderhost

Top Page
Delete this message
Reply to this message
Author: Jens Strohschnitter
Date:  
To: EXIM Official Maillist
Subject: Re: [exim] Smarthost condition for special senderhost

> > smarthost1:
> >  driver = manualroute
> >  condition = ${if eq {$sender_host_address}{mycomputer.dom.org}{1}{0}}
>    IP Address             ^^^^^^^^^^^^^^^^^^^
>    Name                                        ^^^^^^^^^^^^^^^^^^

>
> Not equal!
>
> Maybe you want the $sender_helo_name (easily forged), or to compare
> the IP to an IP address (easier to use the host condition).

Hm,

I tried:

condition = ${if eq {$sender_helo_name}{senderaddr@???}{1}{0}}

but it doen't work too :-(



--
kind regards,

Jens Strohschnitter

-----------------------------------------
LINUX LINUX LINUX LINUX LINUX LINUX LINUX

Set the controls
         for the heart of the sun


LINUX LINUX LINUX LINUX LINUX LINUX LINUX
-----------------------------------------
__________________________________________________________

Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a

Tel: 0221/1638-0
Fax: 0221/1638-254

Sitz: Koeln

Amtsgericht Koeln, GnR 728

Geschaeftsfuehrender Vorstand:
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann

Vorstand:
Friedhelm Decker (Vorsitzender)
Ingo Steitz

Vorsitzender des Aufsichtsrates:
Peter Bleser (MdB)

St.Nr.: 215/5938/0152

Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011