LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2015, 02:43 PM   #1
linom
Member
 
Registered: May 2015
Location: India
Distribution: Debian, CentOS,Redhat, Fedora, Ubuntu
Posts: 91

Rep: Reputation: 13
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.
===============================================
 
Old 06-23-2015, 06:28 AM   #2
linom
Member
 
Registered: May 2015
Location: India
Distribution: Debian, CentOS,Redhat, Fedora, Ubuntu
Posts: 91

Original Poster
Rep: Reputation: 13
Quote:
Originally Posted by linom View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix - allow non-auth connections from local network, relay mail via SASL AUTH fantasygoat Linux - Server 1 10-14-2011 04:45 PM
Postfix SASL auth not working Mr. A Debian 3 03-11-2010 08:59 AM
Postfix sasl auth problem fandar Linux - Server 1 01-02-2010 08:39 AM
How to Migrate from Qmail toaster to Postfix-Dovecot? gh0st Linux - Server 3 06-22-2009 02:04 PM
SASL-AUTH Postfix Mandrake 9.1 jsnow50 Linux - Software 0 09-29-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration