LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix (SASL) AUTH via QMail Toaster Mailserver (https://www.linuxquestions.org/questions/linux-server-73/postfix-sasl-auth-via-qmail-toaster-mailserver-4175543160/)

linom 05-20-2015 02:43 PM

Postfix (SASL) AUTH via QMail Toaster Mailserver
 
Is there a way where Postfix SASL (AUTH LOGIN) using QMail Toaster Mailserver database?

Postfix will be used to ACCEPT mails and then deliver to Qmail Toaster. And while relaying Mail it should SASL i.e. AUTH LOGIN (could be using any mechanism) by connecting QMT. It could be either, when Postfix receives the AUTH LOGIN command, it should route / tunnel to QMT. OR using CYRUS/Dovecot methods.

Postfix and QMT running on same single systen but use different SMTP ports.

I tried using the below command, but it would give an error:

# saslauthd -c -m /var/run/saslauthd/ -d -a rimap -O 127.0.0.1/26

Error:
auth_rimap: unexpected response during initial handshake: 220 linom-host - Welcome to Qmail Toaster Ver. 1.3 SMTP Server ESMTP

saslauthd[32615]: do_auth : auth failure: [user=foo1] [service=smtp] [realm=domain.xom] [mech=rimap] [reason=[ALERT] Unexpected response from remote authentication server]



Had tried hard to make things work but end up with the start again :)

Thanks in advance for all the support.


===============================================
B Simple 2 B Genius
Learn Life's Simplicity to be A Genius in Life.
===============================================

linom 06-23-2015 06:28 AM

Quote:

Originally Posted by linom (Post 5365170)
Is there a way where Postfix SASL (AUTH LOGIN) using QMail Toaster Mailserver database?

Postfix will be used to ACCEPT mails and then deliver to Qmail Toaster. And while relaying Mail it should SASL i.e. AUTH LOGIN (could be using any mechanism) by connecting QMT. It could be either, when Postfix receives the AUTH LOGIN command, it should route / tunnel to QMT. OR using CYRUS/Dovecot methods.

Postfix and QMT running on same single systen but use different SMTP ports.

I tried using the below command, but it would give an error:

# saslauthd -c -m /var/run/saslauthd/ -d -a rimap -O 127.0.0.1/26

Error:
auth_rimap: unexpected response during initial handshake: 220 linom-host - Welcome to Qmail Toaster Ver. 1.3 SMTP Server ESMTP

saslauthd[32615]: do_auth : auth failure: [user=foo1] [service=smtp] [realm=domain.xom] [mech=rimap] [reason=[ALERT] Unexpected response from remote authentication server]



Had tried hard to make things work but end up with the start again :)

Thanks in advance for all the support.


===============================================
B Simple 2 B Genius
Learn Life's Simplicity to be A Genius in Life.
===============================================

The below command worked:
# saslauthd -c -m /var/run/saslauthd/ -d -a rimap -O 127.0.0.1

Basically it connects to the IMAP port 143 and authenticates the users.


All times are GMT -5. The time now is 04:55 PM.