Postfix & SASL Help

This is a discussion on Postfix & SASL Help within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hello, I am trying to get postfix to work with SASL. So far, I have successfully get non-unix account ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-20-2004
Yupapa.com
 
Posts: n/a
Default Postfix & SASL Help

Hello,

I am trying to get postfix to work with SASL. So far, I have successfully
get non-unix account mailbox (virtual mail box) to work.
Mails are stored to the appropriate mailbox.

I am trying to get authentication to work, but everytime I try to login, it
says 535 Authentication Failure.

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 xxx.mydomain.com ESMTP Postfix
ehlo xxx.mydomain.com
250-xxx.mydomain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
250-AUTH=PLAIN LOGIN DIGEST-MD5 CRAM-MD5
250-XVERP
250 8BITMIME
AUTH PLAIN aXNhYmVsbGEAaXNhYmVsbGEAaXNhYmVsbGE=
535 Error: authentication failed
^]
telnet> quit
Connection closed.

I am using plain authentication, that is using hash:/etc/postfix/sasl_passwd
The file contains the hostname, the username and the password. Here is an
example:

xxx.mydomain.com username:password

After making changes to sasl_passwd, I rebuild the passwd database by doing:
makemap -v hash sasl_passwd < sasl_passwd

Here is what I have so far in my main.cf
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_auth_enable = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
virtual_mailbox_domains = /etc/postfix/virtual_domain
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_alias_maps = hash:/etc/postfix/virtual



Thanks,
Yupapa


Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:48 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0