| View previous topic :: View next topic |
| Author |
Message |
flatFoot_9 n00b

Joined: 05 Nov 2009 Posts: 4
|
Posted: Thu Nov 05, 2009 6:25 pm Post subject: Postfix and dovecot config problem [solved] |
|
|
Hi,
My postfix has broken after reinstalling and uppgrading. Can anyone help me, I can't find out what the problem is?
This is how my log looks like:
| Code: | Nov 5 19:39:55 myhost postfix/smtp[12992]: warning: unsupported SASL client implementation: dovecot
Nov 5 19:39:55 myhost postfix/smtp[12992]: fatal: SASL library initialization
Nov 5 19:39:56 myhost postfix/master[9811]: warning: process /usr/lib/postfix/smtp pid 12992 exit status 1
Nov 5 19:39:56 myhost postfix/master[9811]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling |
Postfix-2,5,7 is built with USE="ipv6 pam postgres dovecot-sasl ssl" and dovecot-1.1.7-r1 with USE="berkdb ipv6 pam postgres ssl"
postfix/main.cf
| Code: | smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay |
postfix/master.cf
| Code: | | dovecot unix - n n - - pipe flags=DRhu user=mail:mail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient} |
dovecot/dovecot.conf
| Code: |
auth default {
mechanisms = cram-md5
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
passdb passwd-file {
args = /etc/dovecot.cram-md5.pwd
}
} |
#postconf -a
#postconf -A (generates no output)
Last edited by flatFoot_9 on Thu Nov 05, 2009 9:26 pm; edited 1 time in total |
|
| Back to top |
|
 |
magic919 Advocate

Joined: 17 Jun 2005 Posts: 2167 Location: Berkshire, UK
|
|
| Back to top |
|
 |
flatFoot_9 n00b

Joined: 05 Nov 2009 Posts: 4
|
Posted: Thu Nov 05, 2009 9:25 pm Post subject: |
|
|
I updated with the userdb passwd {}. I didn't want to change to plain text login since it's very common that I remotly access a mutt session to get my mail. I then don't want to send my password in plaintext.
my dovecot/dovecot.conf looks like this (and everything seems to work fine)
| Code: | auth default {
mechanisms = cram-md5
userdb passwd {
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
passdb passwd-file {
args = /etc/dovecot.cram-md5.pwd
}
} |
|
|
| Back to top |
|
 |
|