[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim4 in sarge - config issues with smarthost hostname vs IP

* Hanasaki JiJi (hanasaki@hanaden.com) [031031 19:24]:
> I have the exim4 heavy package and:
> dc_smarthost='hostname'   <===== works if this is an IP
> 	fails with a hostname of 'smtp'
> 	hostname smtp resolves to an IP OK
> 	lookup of host "smtp" failed in smarthost router

Have you tried using a fully-qualified name instead of "smtp"?

Or you could try to make a small change to
/etc/exim4/conf.d/router/200_exim4-config_primary.  Change the
route_list line of the smarthost router from this:

  route_list = * DCsmarthost

to this:

  route_list = * DCsmarthost byname

good times,
"Extremism in the defense of liberty is no vice.
Moderation in the pursuit of justice is no virtue."  -- Barry Goldwater 

Attachment: signature.asc
Description: Digital signature

Reply to: