Re: [EXIM] How to only use a smart host for "good" addresses…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Haber
Date:  
À: exim-users
Sujet: Re: [EXIM] How to only use a smart host for "good" addresses?
On Mon, 11 Jan 1999 10:14:37 +0000 (BST), you wrote:
>On Sun, 10 Jan 1999, Marc Haber wrote:
>> I tried the following setup:
>> |# This router tests validity before routing to the smart host
>> |
>> |domain_verify:
>> |        driver = lookuphost
>> |        verify_only = yes
>> |
>> |# This router routes to the smart host over SMTP
>> |
>> |smarthost:
>> |        driver = domainlist
>> |        transport = remote_smtp
>> |        host_find_failed = freeze
>> |        route_list = "* SMARTHOST bydns_a"
>> |        verify = no

>>
>> However, exim still happily forwards mails to
>> somebody@??? to the smarthost, relying on the smarthost
>> to generate a bounce.
>
>(1) Did you HUP the daemon after installing this? (Standard question :-)


I had start-stop-daemon (a neat debianism) send a signal 1 to exim
which responded to with

|1999-01-11 13:51:48 pid 32481: SIGHUP received: re-exec daemon
|1999-01-11 13:51:48 4 args: /usr/local/bin/exim -bd -oX 25
|1999-01-11 13:51:48 exim 2.10 daemon started: pid=11584, no queue runs, listening for SMTP on port 25

in the main log.

>(2) Verification applies only to incoming SMTP mail. If you generated a
>message locally without using SMTP, it would have this effect.


I have tried both. Log entries:

|1999-01-11 14:24:55 0zzhKw-00034o-00 <= Marc.Haber@??? H=janeway.gf1.internal [192.168.130.31] P=smtp S=957 T="soll noch auf der torres bouncen" from <Marc.Haber@???> for some_address@???
|1999-01-11 14:24:55 3 args: /usr/local/bin/exim -Mc 0zzhKw-00034o-00
|1999-01-11 14:24:55 0zzhKw-00034o-00 == some_address@??? T=remote_smtp defer (0): queue_smtp option set
|1999-01-11 14:39:11 2 args: /usr/local/bin/exim -qq
|1999-01-11 14:39:11 Start queue run: pid=11922
|1999-01-11 14:39:14 0zzhKw-00034o-00 => nagus@??? R=smarthost T=remote_smtp H=mailgate.rz.uni-karlsruhe.de [129.13.197.57] C="250 OK id=0zzhYo-0000M8-00"
|1999-01-11 14:39:14 0zzhKw-00034o-00 Completed

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


--
*** Exim information can be found at http://www.exim.org/ ***