Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-21-2005, 02:05 PM   #1
Registered: Jun 2004
Location: Tampa, FL
Distribution: CentOS 3.x
Posts: 33

Rep: Reputation: 15

Maybe I'm going about this the wrong way. I have Postfix installed, with Courier Imapd (and POP3d). I am planning on hosting several websites, and have setup Postfix and Courier to use virtual mailboxes. In otherwords, users don't need to have a system account to receive and get mail. So far, everything is working fine. I can log in using IMAP and get my email. All info is stored in MySQL table (passwords, using ENCRYPT() function).

Now, I want to set up Postfix to allow sending email. I would like to use SMTP AUTH. Users will have to authenticate using the same login information that courier uses. I've read quite a bit of google articles on how to set this up, but seem to be coming up blank.

First, my environment:
CentOS 64 3.4
AMD 64 processor

Here's what I've done so far:

Postfix's contains the following sasl options:

smtpd_recipient_restrictions=permit_sasl_authenticated, permit_mynetworks, reject
smtpd_sasl_local_domain =

In the file /usr/lib64/sasl2/smtpd.conf:
pwcheck_method: pam

The file /etc/pam.d/smtp:
auth sufficient user=postfix passwd=secret db=maildb table=mailbox usercolumn=username passwdcolumn=password crypt=1

auth required user=postfix passwd=secret db=maildb table=mailbox usercolumn=username passwdcolumn=password crypt=1

I am unable to successfully authenticate when I attempt to send an email. The following is what's written in /var/log/maillog (host and IP removed):

warning: SASL authentication problem: unknown password verifier
warning:[.......]: SASL LOGIN authentication failed

Any suggestions?

THanks in advance


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SMTP "open relay" and SMTP AUTH aikempshall Linux - Security 3 10-11-2006 09:19 AM
SMTP AUTH & MySQL vbfischer Linux - Security 1 03-22-2005 10:12 PM
What's going on with this SMTP AUTH. exper Linux - Software 0 12-25-2004 03:58 AM
sendmail & smtp auth vacilus Linux - Software 18 09-15-2004 03:52 AM
Sendmail & smtp auth ROAR Linux - Software 1 10-05-2003 11:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:06 PM.

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