PDA

View Full Version : Log problem


hochanh
5th April 2008, 05:26
I using Postfix, Dovecot, Mysql and Squirrelmail on Centos 5.1

[root@home postfix]# tail -f /var/log/maillog
Apr 4 10:23:10 home dovecot: Auth process died too early - shutting down
Apr 4 10:23:10 home dovecot: auth(default): bind(/var/spool/postfix/private/auth) failed: Permission denied
Apr 4 10:23:10 home dovecot: auth(default): net_listen_unix(/var/spool/postfix/private/auth) failed: Permission denied
Apr 4 10:23:10 home dovecot: child 2962 (auth) returned error 89
Apr 4 10:23:10 home dovecot: Temporary failure in creating login processes, slowing down for now
Apr 4 11:28:07 home dovecot: Dovecot v1.0.rc15 starting up
Apr 4 11:28:09 home dovecot: Auth process died too early - shutting down
Apr 4 11:28:09 home dovecot: auth(default): bind(/var/spool/postfix/private/auth) failed: Permission denied
Apr 4 11:28:09 home dovecot: auth(default): net_listen_unix(/var/spool/postfix/private/auth) failed: Permission denied
Apr 4 11:28:09 home dovecot: child 3125 (auth) returned error 89

[root@home postfix]#cat /etc/postfix/main.cf
readme_directory = no
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

#################### SASL/TLS Authentication###########################
######TLS PART###########
smptpd_tls_cert_file = /etc/ssl/maytinh/mailserver/smtpd.crt
smtpd_tls_key_file = /etc/ssl/maytinh/mailserver/smtpd.key
smtpd_tls_CAfile = /etc/ssl/maytinh/mailserver/cacert.pem
smtp_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_received_header = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
tls_random_source = dev:/dev/urandom
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_recieved_header = yes

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

Any help would be great i am a newbie to linux .
Thanks for help

topdog
5th April 2008, 14:32
set your socket correctly in /etc/dovecot.conf

auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
# user = root
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}

hochanh
5th April 2008, 15:16
My dovecot
protocols = imap imaps pop3 pop3s
disable_plaintext_auth = no
mail_location = maildir:/home/vmail/%d/%n
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}
auth default {
mechanisms = plain login
passdb sql {
args = /etc/dovecot-sql.conf
}
userdb static {
args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
}
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}

Please help this topic help me, thanks

falko
6th April 2008, 19:10
What's the output of ls -la /var/spool/postfix/private?