User:Woozle/files/dovecot/auth.d/01-dovecot-postfix.auth

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to: navigation, search

History

  • 2011-06-08 I think the only change to this file was to change socket listen { client { path= from "/var/spool/postfix/private/auth" to "/var/spool/postfix/private/dovecot-auth". Finally receiving Gmails, and no known errors. I changed this file first, but it wasn't until I also changed User:Woozle/files/dovecot/dovecot.conf that things started working.

Content

mechanisms = plain login

user = nobody 
socket listen {
        client {
                #path = /var/spool/postfix/private/auth
		# 2011-06-08 this seems to be what postfix is expecting:
		path = /var/spool/postfix/private/dovecot-auth
                mode = 0660
                user = postfix
                group = postfix
        }
	master {
		# Master socket provides access to userdb information. It's typically
		# used to give Dovecot's local delivery agent access to userdb so it
		# can find mailbox locations.
		path = /var/run/dovecot/auth-master
		# 2010-10-08 this seemed to work earlier, but may also have caused problems:
		#path = /var/spool/postfix/private/auth
		mode = 0666
		# Default user/group is the one who started dovecot-auth (root)
		user = vmail
		group = mail
    }
}
# SQL database <doc/wiki/AuthDatabase.SQL.txt>
passdb sql {
	args = /etc/dovecot/dovecot-sql.conf
}

# SQL database <doc/wiki/AuthDatabase.SQL.txt>
userdb sql {
	args = /etc/dovecot/dovecot-sql.conf
}