[exim] Smarthost condition for special senderhost

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jens Strohschnitter
Date:  
À: EXIM Official Maillist
Sujet: [exim] Smarthost condition for special senderhost
Hi list,

I would like to filter mails, sent by a special clientworkstation like
mycomputer.dom.org. So I tried:

[...]
smarthost1:
driver = manualroute
condition = ${if eq {$sender_host_address}{mycomputer.dom.org}{1}{0}}
domains = ! +local_domains
route_list = * fw003.dom.org byname
transport = remote_smtp_filter_empty
[...]

But mails were delivered without using the transport "remote_smtp_filter_empty".

The log showes the following while sending messages from the specified client:

2008-06-26 12:06:13 1KBoMn-0004FC-CJ <= senderaddr@??? H=mycomputer.dom.org [xxx.xxx.xxx.xxx] P=smtp S=872 id=20080626120613.8277ac35.senderaddr@???
2008-06-26 12:06:13 1KBoMn-0004FC-CJ => rcpaddr@??? R=smarthost5 T=remote_smtp_filter_diclaimer H=fw003.dom.org [xxx.xxx.xxx.xxx]

The transport remote_smtp_filter_diclaimer will be used instead of remote_smtp_filter_empty.

Does anyone know how I have to configure the smarthost to use remote_smtp_filter_empty ?

Thx!

--
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