Re: [exim] Sending mail through a smarthost with TLS

Etusivu
Poista viesti
Vastaa
Lähettäjä: Heiko Schlittermann
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Sending mail through a smarthost with TLS
John Connett <john.connett@???> (Mon Mar 21 09:34:07 2011):
> On 2011-03-15 21:11, Heiko Schlittermann wrote:
> > John Connett <john.connett@???> (Tue Mar 15 14:09:24 2011):
> > > On 2011-03-15 10:51, Heiko Schlittermann wrote
> > > >it should be the allow_localhost router option.
> > >
> >
> >
> > Sorry. Of course, it's a transport option.
> >
> > +---------------+---------+-------------+--------------+
> > |allow_localhost|Use: smtp|Type: boolean|Default: false|
> > +---------------+---------+-------------+--------------+
>
> Many thanks for the confirmation. However, further investigation
> shows that it is the manualroute router that is causing attempts to
> send to localhost:465 to be deferred. The "remote host address is the
> local host" message appears to be generated from rf_self_action() in
> routers/rf_self_action.c.
>
> Exim knows the ports on which it is listening so could identify that
> using localhost:465 is not talking directly to itself.
>
> Is an "allow_localhost" option also needed in the router?
>
> Or am I missing a trick to working around this?


Yes, you're missing a trick and It's my fault that I wasn't talking
about (actually I confused the allow_localhost options place…)

The router needs an

    self = send


to allow the localhost in the routers outcome.

--
Heiko :: dresden : linux : SCHLITTERMANN.de
GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B