View Single Post
  #1  
Old 9th May 2011, 21:43
CopalFreak CopalFreak is offline
Junior Member
 
Join Date: May 2011
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default postfix virtual users and authentication problems

I have been trying to get postfix up and going with virtual users and am having a very hard time with it. I have posted in various forums on the web to no avail, but I am hoping somebody here can help.

I can receive mail fine.
In my maillog, when I try to SEND an email from an email client(or webmail), several things are happening.

Code:
NOQUEUE: reject: connect from localhost: client host rejected : access denied; proto=SMTP

xsasl_dovecot_server_connect: Connecting
warning: SASL: Connect to private/auth failed: Permission denied
fatal: no SASL authentication mechanisms
There is another post that is ALMOST like this, but the solutions there did not help. Originally I was not getting this error, just a 'client access denied' from my IP address, but after trying to fix it via instructions from the other post, this started happening. Following the example from a post for THIS problem made things worse and I could no longer receive emails.
I started over from scratch and now have it to this point.

I am not sure what I need to post...entire main.cf and master.cf? (pretty long)

postconf -a says
Code:
dovecot
postconf -A says nothing (empty)
(which I am sure is part of the problem, but not sure what to do about it)

postconf -d | grep nis says
Code:
alias_maps = hash:/etc/aliases, nis:mail.aliases
lmtp_sasl_mechanism_filter =
smtp_sasl_mechanism_filter
..which is odd.. alias_maps is for 'local delivery' correct?
Since I am using virtual users (from mysql), I would think it should be something like :
Code:
local_transport = virtual
alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
..which is exactly what I currently have in my /etc/postfix/main.cf..

Any help would be appreciated.
Reply With Quote
Sponsored Links