[Dovecot] postfix, dovecot, sasl deliver error
Tracy Phillips
tracy.phillips at rackeasy.com
Tue Dec 27 01:43:37 EET 2005
Hi,
I am receiving an error when trying to send mail. I am using FreeBSD 6
and dovecot 1.0.alpha5 and postfix 2.3-20051223 which includes the
dovecot sasl patch.
I am getting:
Dec 26 17:26:45 example postfix/pipe[612]: DC90D5C30:
to=<tep at example.com>, relay=dovecot, delay=14, delays=14/0.05/0/0.08,
dsn=4.3.0, status=deferred (temporary failure. Command output: Error:
net_connect(/var/run/dovecot/auth-master) failed: Permission denied )
This is from dovecot.conf:
auth default_with_listener {
mechanisms = plain
passdb passwd-file {
args = /usr/local/etc/dovecot/passwd
}
userdb passwd-file {
args = /usr/local/etc/dovecot/users
}
socket listen {
master {
path = /var/run/dovecot/auth-master
# # WARNING: Giving untrusted users access to master socket may be a
# # security risk, don't give too wide permissions to it!
mode = 0666
# # Default user/group is the one who started dovecot-auth (root)
user = virtual
group = virtual
}
client {
path = /var/spool/postfix/private/auth
mode = 0666
}
}
}
and from dovecot-deliver.conf:
# UNIX socket path to master authentication server to find users.
auth_socket_path = /var/run/dovecot/auth-master
From postfix master.cf:
# Dovecot LDA
dovecot unix - n n - - pipe
flags=DRhu user=virtual:virtual
argv=/usr/local/libexec/dovecot/deliver -d ${recipient}
from postfix main.cf:
virtual_mailbox_domains = /usr/local/etc/postfix/vhosts.txt
virtual_mailbox_base = /usr/local/var/spool/vmail
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmaps.txt
virtual_uid_maps = static:1003
virtual_gid_maps = static:1003
virtual_alias_maps = hash:/usr/local/etc/postfix/valias.txt
dovecot_destination_recipient_limit = 1
virtual_transport = dovecot
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_authenticated_header = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
More information about the dovecot
mailing list