Hi Guys,

I wanted to use a smarthost server in a seperate file for exim, Found this info in the docs, which works perfect, only little problem I have is, when my /etc/smarthost file is empty, exim is not sending the mail from himself, but gives a error in the log:
error in smarthost router: no host(s) specified for domain *

my lines in exim.conf
smarthost:
    driver = manualroute
    transport = remote_smtp
    route_list = * ${readfile{/etc/smarthost}{}}

I presume I have to use some condition statement, but not sure how to do this?

Any guidance would be appreciated

Thanks
J




--
/*---------------------------------------------------------------------*/
__ _ ---------- / / (_)__ __ ____ __ --------- ------- / /__/ / _ \/ // /\ \/ / -------- ---- /____/_/_//_/\_,_/ /_/\_\ ------ [EMAIL PROTECTED]


--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to