Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks

Tags
dovecot, mysql, postfix, sasl, tls

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 13:51
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail gu35t HOWTO-Related Questions 5 3rd February 2011 21:25
postfix: "unknown user" with mysql auth. Kruser Server Operation 3 18th June 2009 19:20
Mail problems after following Virtual Users And Domains With Postfix, Courier tyliong HOWTO-Related Questions 33 7th January 2009 06:17
Virtual Users And Domains With Postfix - SASL LOGIN authentication failed lord0815 HOWTO-Related Questions 3 31st October 2006 18:43


All times are GMT +2. The time now is 16:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.