Re: [Exim] Delaying outgoing mail

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Gary Jones
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Delaying outgoing mail
On 1 Mar 2001, Jeff Green <jeff@???> wrote:

> >I'm on a dialup, and what I want to do is delay anything that might
> >cause a connection to be established (including dns lookup for the
> >smarthost) until I tell exim to go ahead


> I resolved this by adding the smarthost's address (and all local clients)
> to /etc/hosts and adding
>
>          queue_remote_domains = *


Tja. I wanted to avoid doing that if I could, as should it ever
change IP I'd have a broken setup. Oh well, if it can't be helped...

> to the global configuration section, then adding
>
>          # Send all mail to a smarthost

>
>          smarthost:
>            driver = domainlist
>            transport = remote_smtp
>            route_list = "* smarthost.somedomain.com bydns_a"


Aha! Thanks very much :)

--
Gary
Debian 2.1r4 (kernel v2.0.39); XFree86 3.3.6
Every man has freedom to do all that he wills, provided he infringes
not on the equal freedom of others. HERBERT SPENCER, 1851