[exim4] SMTP AUTH via externe IMAP

Pagina: 1
Acties:

  • thegve
  • Registratie: Februari 2004
  • Laatst online: 25-12-2025
Ik ben nu een aantal dagen aan het prutsen om exim zover te krijgen dat hij SMTP authenticatie laat werken via een externe IMAP server. Het meest practische wat ik daar over heb gevonden tot nu toe is de beschrijving op de wiki:

http://www.exim.org/eximwiki/AuthenticatedSmtpUsingIMAP

Alleen steeds als ik hiermee probeer te authenticeren (zowel telnet als sendEmail commandline client):
Nov 09 12:05:47 germ sendEmail[10899]: DEBUG => Connecting to 10.3.0.8:25
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Checking for SMTP success or error status in the message: 220 smtp.BEDRIJF.nl ESMTP Exim 4.50 Thu, 09 Nov 2006 10:06:28 +0000
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Found SMTP success code: 220
Nov 09 12:06:17 germ sendEmail[10899]: SUCCESS => Received: 220 smtp.BEDRIJF.nl ESMTP Exim 4.50 Thu, 09 Nov 2006 10:06:28 +0000
Nov 09 12:06:17 germ sendEmail[10899]: INFO => Sending: EHLO germ
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Checking for SMTP success or error status in the message: 250-smtp.BEDRIJF.nl Hello germ [192.168.2.235], 250-SIZE 52428800, 250-PIPELINING, 250-AUTH PLAIN LOGIN, 250-STARTTLS, 250 HELP
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Found SMTP success code: 250
Nov 09 12:06:17 germ sendEmail[10899]: SUCCESS => Received: 250-smtp.BEDRIJF.nl Hello germ [192.168.2.235], 250-SIZE 52428800, 250-PIPELINING, 250-AUTH PLAIN LOGIN, 250-STARTTLS, 250 HELP
Nov 09 12:06:17 germ sendEmail[10899]: INFO => Sending: AUTH LOGIN
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Checking for SMTP success or error status in the message: 334 VXNlcm5hbWU6
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Found SMTP success code: 334
Nov 09 12:06:17 germ sendEmail[10899]: SUCCESS => Received: 334 VXNlcm5hbWU6
Nov 09 12:06:17 germ sendEmail[10899]: INFO => Sending: USERNAME
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Checking for SMTP success or error status in the message: 334 UGFzc3dvcmQ6
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Found SMTP success code: 334
Nov 09 12:06:17 germ sendEmail[10899]: SUCCESS => Received: 334 UGFzc3dvcmQ6
Nov 09 12:06:17 germ sendEmail[10899]: INFO => Sending: HIERSTONDWACHTWOORD
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Checking for SMTP success or error status in the message: 435 Unable to authenticate at present
Nov 09 12:06:17 germ sendEmail[10899]: DEBUG => evalSMTPresponse() - Found SMTP error code: 435
Nov 09 12:06:17 germ sendEmail[10899]: ERROR => Received: 435 Unable to authenticate at present
En in het serverlog:
2006-11-09 10:45:00 login authenticator failed for (BEDRIJF.nl) [127.0.0.1]: 435 Unable to authenticate at present (set_id=germ@BEDRIJF.nl): Undefined subroutine &main::imapLogin called.
Op GoT vond ik verschillende topics, waarvan deze het meest toepasselijk is:
[Exim] Authenticated SMTP