[Dovecot] Testing SMTP AUTH
Ive configured Postfix to use Dovecot for SMTP AUTH.
I tried to test it but when I send the AUTH LOGIN command I get a response saying that AUTH method is not supported/implemented. How to test then?
-- A
-- Aj.
- Ajai Khattri symbiat@gmail.com:
Ive configured Postfix to use Dovecot for SMTP AUTH.
I tried to test it but when I send the AUTH LOGIN command I get a response saying that AUTH method is not supported/implemented. How to test then?
What do you get when you run this:
# dovecot -n | grep auth_mechanisms
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
- Ajai Khattri symbiat@gmail.com:
On Friday, June 14, 2013, Patrick Ben Koetter wrote:
What do you get when you run this:
# dovecot -n | grep auth_mechanisms
I get nothing back so I guess that needs to be configured. I'm using a virtual passwd file for POP3/IMAP auth.
Have you read Postfix' SASL_README? It should tell you what needs to be done on Postfix and Dovecot side.
p@rick
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Ajai Khattri skrev den 2013-06-14 19:31:
I get nothing back so I guess that needs to be configured. I'm using a virtual passwd file for POP3/IMAP auth.
what wiki page did you use to setup from ?
just incase http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL
-- senders that put my email into body content will deliver it to my own trashcan, so if you like to get reply, dont do it
Ajai Khattri skrev den 2013-06-14 18:56:
Ive configured Postfix to use Dovecot for SMTP AUTH.
I tried to test it but when I send the AUTH LOGIN command I get a response saying that AUTH method is not supported/implemented. How to test then?
postconf -a
is dovecot listed ?
if yes post postconf -n on pastebin and show link here
-- senders that put my email into body content will deliver it to my own trashcan, so if you like to get reply, dont do it
On 2013-06-15 6:21 AM, Benny Pedersen me@junc.eu wrote:
Ajai Khattri skrev den 2013-06-14 18:56:
Ive configured Postfix to use Dovecot for SMTP AUTH.
I tried to test it but when I send the AUTH LOGIN command I get a response saying that AUTH method is not supported/implemented. How to test then?
postconf -a
is dovecot listed ?
if yes post postconf -n on pastebin and show link here
Please don't - just post the output directly in the email body.
Why would you *ask* someone to post it on pastebin??
It is much easier to read directly on the list, and many people won't go to random links to something they don't know isn't malicious.
--
Best regards,
Charles
Yes, dovecot is listed when running postconf -a. I have switched on auth debugging in dovecot.
Transcript of my telnet session (domain name changed to example.com):
EHLO www.example.com 250-www.example.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN AUTH LOGIN 334 VXNlcm5hbWU6 YWphaS5uZXQ= 334 UGFzc3dvcmQ6 bnlhcmFjdTAwNw== 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6
The username and password were Base64 encoded above and are known working values.
Actually looking through the debug log I see that its looking for the passed-file in /home/vmail//vpasswd but my configuration has per-domain passed-files, e.g. /home/vmail/%d/vpasswd.
Where do I set that ?
-- A
On Sat, Jun 15, 2013 at 6:21 AM, Benny Pedersen me@junc.eu wrote:
Ajai Khattri skrev den 2013-06-14 18:56:
Ive configured Postfix to use Dovecot for SMTP AUTH.
I tried to test it but when I send the AUTH LOGIN command I get a response saying that AUTH method is not supported/implemented. How to test then?
postconf -a
is dovecot listed ?
if yes post postconf -n on pastebin and show link here
-- senders that put my email into body content will deliver it to my own trashcan, so if you like to get reply, dont do it
-- Aj.
participants (4)
-
Ajai Khattri
-
Benny Pedersen
-
Charles Marcus
-
Patrick Ben Koetter