preload preload preload preload

Create Virtual Accounts with CRAM-MD5

Virtual Accounts with CRAM-MD5 The major disadvantage of PLAIN text passwords on the server of course is that they are readable.  Even if your communication with the server is encrypted it is troubling to have readable passwords on the server.  You can easily change this by using the dovecotpw command and creating encrypted ...
0

Dovecot with PLAIN Authentication and SSL/TLS

Authentication with Dovecot PLAIN authentication has the advantage of being supported by all clients.  Certainly the disadvantage is that you have visible passwords on the wire, but that is easy to solve with SSL/TLS.  This means that it is easier to set up SSL/TLS  and PLAIN passwords than it is to fight the many hassles that come ...
0

Using Dovecot with Multiple Domains

See Dovecot installation below for details on how to set up Dovecot.  In this section, the focus will be on creating passwords for users on multiple domains with Dovecot. Edit your /etc/dovecot.conf file to reflect these changes } default_mail_env = maildir:/var/spool/vhosts/%d/%n auth_mechanisms = plain DIGEST-MD5 ...
2

Testing SSL Connections With Dovecot

Testing the SSL Connections # openssl s_client -connect localhost:993 CONNECTED(00000003) depth=0 /OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com verify error:num=18:self signed certificate verify return:1 depth=0 /OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com verify ...
0

Creating Keys for Dovecot

Creating a Keys First edit the file /etc/pki/dovecot-openssl.cnf.  In this file create all of the settings for your site.  Now move into  the /usr/share/doc/dovecot-1.0/examples folder and you will see an executable called mkcert.sh.  Run that executable to create the necessary keys. ./mkcert.sh Copy the keys to the correct location, deleting the default keys. cp dovecot.pem  /etc/pki/dovecot/certs cp dovecot.pem  ...
0

Postfix and TLS

Check for TLS Support in Postfix By running this command you can verify that TLS is supported by your version of Postfix.  Each of these parameters should exist. # postconf -d | grep tls lmtp_enforce_tls = no lmtp_sasl_tls_security_options = $lmtp_sasl_security_options lmtp_sasl_tls_verified_security_options = $lmtp_sasl_tls_security_options lmtp_starttls_timeout = 300s lmtp_tls_CAfile = lmtp_tls_CApath = lmtp_tls_cert_file ...
0

Introduction to TLS and SSL

TLS or Transport Layer Security is a protocol that is encrypted and is a close relative of SSL.  Actually TLS has developed from SSL and has backward compatibility.  SSL, Secure Sockets Layer, is a protocol or language that is used to encrypt communication between clients and servers. This type of communication is necessary when ...
0

Testing Dovecot on Postfix

One thing that you can do is run this command to verify it is listening on the correct port numbers: netstat -aunt This should show that Dovecot is listening on ports 143 and 110 for IMAP and POP3. Check if Dovecot is Listening Another test is to connect to Dovecot using telnet on port 143.  Here is an example with the output ...
0