This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASL 5.100 Smarthost doesn't work any more

Hi,
 after updating to 5.100 our smarthost doesn't accept our mails any more.

The log shows:
R=smarthost T=remote_smtp defer (0): expansion of "${readfile{/etc/exim.conf.smarthost_auth}{" failed in server_login authenticator: missing } at end of string

The address, username and password are OK.

Switching off the smarthost helps for some mails, but t-online only accept mails via smarthost.

cu
Walter


This thread was automatically locked due to age.
Parents
  • Does your smarthost support both PLAIN and LOGIN methods?

    You can check by telnetting to port 25, and type "EHLO test". It should then say "AUTH LOGIN" and/or "AUTH PLAIN" somewhere.

    Please check this, then I can help [:)]
  • tom,

    it responds "AUTH LOGIN"

    cu
    Walter
  • OK, I think I know what the problem is.

    Try this:

    1) Get root shell on ASL
    2) cd /var/chroot-smtp/etc/
    3) joe exim.conf
    4) Scroll down to the end of the file
    5) Line number 373 should be this:

    Code:

    client_send = ${readfile{/etc/exim.conf.smarthost_auth}{:}}



    6) Double the colon, like this:

    Code:

    client_send = ${readfile{/etc/exim.conf.smarthost_auth}{::}}



    7) Save the file and exit (CTRL-K-X)

    Try sending mails now. Does it work?

    /tom
  • Tom,

    I made the changes, now the error changed:

    R=smarthost T=remote_smtp defer (0): SMTP error from remote mailer after AUTH LOGIN ************************: host xxxxxx [xx.xxx.xx.xxx]: 334 UGFzc3dvcmQ6

    cu
    Walter
  • OK, it is not THAT easy. Give me 30 minutes for a solution.

    I'll post here.
  • OK, this time, replace the complete last "client_send" line with this (use cut and paste ... it is very long):

    Code:

    client_send = : ${extract{2}{ }{${readfile{/etc/exim.conf.smarthost_auth}{ }}}} : ${extract{3}{ }{${readfile{/etc/exim.conf.smarthost_auth}{ }}}}



    The leading colon after the "client_send" is intentional, do not remove it.

    Does it work now? (Fingers crossed ...)
Reply
  • OK, this time, replace the complete last "client_send" line with this (use cut and paste ... it is very long):

    Code:

    client_send = : ${extract{2}{ }{${readfile{/etc/exim.conf.smarthost_auth}{ }}}} : ${extract{3}{ }{${readfile{/etc/exim.conf.smarthost_auth}{ }}}}



    The leading colon after the "client_send" is intentional, do not remove it.

    Does it work now? (Fingers crossed ...)
Children