You are not logged in.
Pages: 1
Hi,
I would like to use smtps with postfix.
I configure my imap to work only with a mysql data base and I wonder if it's possible to do the same think with smtps, to connect only with a mysql database without using pam and cyrus?
Thanks for your help
Vincent
Offline
You haven't mentioned anything about your IMAP setup, but I do this with Dovecot as my imap server. In main.cf:
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_path = /srv/postfix/private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = permit_sasl_authenticated
/srv/postfix/private/auth is a socket that connects Dovecot and Postfix.
In my dovecot.conf
auth default {
# Having "login" also as a mechanism make sure outlook can use the auth smtpd as well
# http://wiki.dovecot.org/Authentication/Mechanisms
mechanisms = plain login
user = vmail
userdb sql {
args = /etc/dovecot/pgsql.conf
}
passdb sql {
args = /etc/dovecot/pgsql.conf
}
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = vmail
group = vmail
}
client {
path = /srv/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1