OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

1.4. Configuring SASL


Postfix supports two SASL implementations Cyrus SASL and Dovecot SASL. To enable Dovecot SASL the dovecot-core package will need to be installed. From a terminal prompt enter the following:


sudo apt install dovecot-core


Next you will need to edit /etc/dovecot/conf.d/10-master.conf. Change the following:


service auth {

# auth_socket_path points to this userdb socket by default. It's typically

# used by dovecot-lda, doveadm, possibly imap process, etc. Its default

# permissions make it readable only by root, but you may need to relax these

# permissions. Users that have access to this socket are able to get a list

# of all usernames and get results of everyone's userdb lookups. unix_listener auth-userdb {

#mode = 0600

#user =

#group =

}


# Postfix smtp-auth

unix_listener /var/spool/postfix/private/auth { mode = 0660

user = postfix group = postfix

}


In order to let Outlook clients use SMTP-AUTH, in the authentication mechanisms section of /etc/dovecot/ conf.d/10-auth.conf change this line:


auth_mechanisms = plain


To this:


auth_mechanisms = plain login


Once you have Dovecot configured restart it with:


image

1 http://www.ietf.org/rfc/rfc2554.txt

2 http://www.ietf.org/rfc/rfc2222.txt



sudo systemctl restart dovecot.service


Top OS Cloud Computing at OnWorks: