Connecting to Linode Mail Server through Thunderbird
I cannot for the life of me get Thunderbird to verify my server settings.
I am trying to make an IMAPS connection. I have been through my firewall settings and I am def listening on the correct ports and I can telenet from my local computer just fine. So I can eliminate a port issue. I am not sure if Thunderbird is trying to interface with postfix or dovecot or what the issue is at this point. I have a feeling its related to the fact that I am forcing and Secure connection and the SSL certificate based on the chatter on the web. so here are the details
email SSharp_Admin
hostname mail.stemsharp.com
protocol IMAPS
inbound Port 993
outbound Port 465
SSL SSLTLS
encrypted passwor
MX domains mail.stemsharp.com (I am not sure if I need anything else)
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-alias-maps.cf: user = mailadmin
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-alias-maps.cf: password = *snip*
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-alias-maps.cf: dbname = mailserver
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-alias-maps.cf: result_format = %s
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_int: /etc/postfix/mysql-virtual-alias-maps.cf: expansion_limit = 0
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-alias-maps.cf: query = SELECT destination FROM virtual_aliases WHERE source='%s'
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-alias-maps.cf: domain =
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-alias-maps.cf: hosts = 127.0.0.1
Jan 3 12:40:10 www postfix/smtpd[10006]: dict_open: mysql:/etc/postfix/mysql-virtual-alias-maps.cf
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-mailbox-maps.cf: user = mailadmin
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-mailbox-maps.cf: password = *snip*
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-mailbox-maps.cf: dbname = mailserver
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-mailbox-maps.cf: result_format = %s
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_int: /etc/postfix/mysql-virtual-mailbox-maps.cf: expansion_limit = 0
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-mailbox-maps.cf: query = SELECT 1 FROM virtual_users WHERE email='%s'
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-mailbox-maps.cf: domain =
Jan 3 12:40:10 www postfix/smtpd[10006]: cfg_get_str: /etc/postfix/mysql-virtual-mailbox-maps.cf: hosts = 127.0.0.1
Jan 3 12:40:10 www postfix/smtpd[10006]: dict_open: mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
Jan 3 12:40:10 www postfix/smtpd[10006]: match_string: smtpd_access_maps ~? debug_peer_list
Jan 3 12:40:10 www postfix/smtpd[10006]: match_string: smtpd_access_maps ~? fast_flush_domains
Jan 3 12:40:10 www postfix/smtpd[10006]: match_string: smtpd_access_maps ~? mynetworks
Jan 3 12:40:10 www postfix/smtpd[10006]: match_string: smtpd_access_maps ~? permit_mx_backup_networks
Jan 3 12:40:10 www postfix/smtpd[10006]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
Jan 3 12:40:10 www postfix/smtpd[10006]: match_string: smtpd_access_maps ~? smtpd_access_maps
Jan 3 12:40:10 www postfix/smtpd[10006]: unknown_helo_hostname_tempfail_action = defer_if_permit
Jan 3 12:40:10 www postfix/smtpd[10006]: unknown_address_tempfail_action = defer_if_permit
Jan 3 12:40:10 www postfix/smtpd[10006]: unverified_recipient_tempfail_action = defer_if_permit
Jan 3 12:40:10 www postfix/smtpd[10006]: unverified_sender_tempfail_action = defer_if_permit
Jan 3 12:40:10 www postfix/smtpd[10006]: name_mask: 0
Jan 3 12:40:10 www postfix/smtpd[10006]: auto_clnt_create: transport=local endpoint=private/tlsmgr
Jan 3 12:40:10 www postfix/smtpd[10006]: auto_clnt_open: connected to private/tlsmgr
Jan 3 12:40:10 www postfix/smtpd[10006]: send attr request = seed
Jan 3 12:40:10 www postfix/smtpd[10006]: send attr size = 32
Jan 3 12:40:10 www postfix/smtpd[10006]: private/tlsmgr: wanted attribute: status
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: status
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute value: 0
Jan 3 12:40:10 www postfix/smtpd[10006]: private/tlsmgr: wanted attribute: seed
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: seed
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute value: YQdwqjbA425Gc7LdG+h5y4slPlCa09Olk1QxiyzFeLs=
Jan 3 12:40:10 www postfix/smtpd[10006]: private/tlsmgr: wanted attribute: (list terminator)
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: (end)
Jan 3 12:40:10 www postfix/smtpd[10006]: send attr request = policy
Jan 3 12:40:10 www postfix/smtpd[10006]: send attr cache_type = smtpd
Jan 3 12:40:10 www postfix/smtpd[10006]: private/tlsmgr: wanted attribute: status
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: status
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute value: 0
Jan 3 12:40:10 www postfix/smtpd[10006]: private/tlsmgr: wanted attribute: cachable
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: cachable
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute value: 0
Jan 3 12:40:10 www postfix/smtpd[10006]: private/tlsmgr: wanted attribute: (list terminator)
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: (end)
Jan 3 12:40:10 www postfix/smtpd[10006]: match_string: fast_flush_domains ~? debug_peer_list
Jan 3 12:40:10 www postfix/smtpd[10006]: match_string: fast_flush_domains ~? fast_flush_domains
Jan 3 12:40:10 www postfix/smtpd[10006]: auto_clnt_create: transport=local endpoint=private/anvil
Jan 3 12:40:10 www postfix/smtpd[10006]: connection established
Jan 3 12:40:10 www postfix/smtpd[10006]: master_notify: status 0
Jan 3 12:40:10 www postfix/smtpd[10006]: name_mask: resource
Jan 3 12:40:10 www postfix/smtpd[10006]: name_mask: software
Jan 3 12:40:10 www postfix/smtpd[10002]: connect from cpe-075-189-152-160.nc.res.rr.com[75.189.152.160]
Jan 3 12:40:10 www postfix/smtpd[10006]: connect from cpe-075-189-152-160.nc.res.rr.com[75.189.152.160]
Jan 3 12:40:10 www postfix/smtpd[10006]: match_list_match: cpe-075-189-152-160.nc.res.rr.com: no match
Jan 3 12:40:10 www postfix/smtpd[10006]: match_list_match: 75.189.152.160: no match
Jan 3 12:40:10 www postfix/smtpd[10006]: match_list_match: cpe-075-189-152-160.nc.res.rr.com: no match
Jan 3 12:40:10 www postfix/smtpd[10006]: match_list_match: 75.189.152.160: no match
Jan 3 12:40:10 www postfix/smtpd[10006]: smtp_stream_setup: maxtime=300 enable_deadline=0
Jan 3 12:40:10 www postfix/smtpd[10006]: match_hostname: cpe-075-189-152-160.nc.res.rr.com ~? 127.0.0.0/8
Jan 3 12:40:10 www postfix/smtpd[10006]: match_hostaddr: 75.189.152.160 ~? 127.0.0.0/8
Jan 3 12:40:10 www postfix/smtpd[10006]: match_hostname: cpe-075-189-152-160.nc.res.rr.com ~? [::ffff:127.0.0.0]/104
Jan 3 12:40:10 www postfix/smtpd[10006]: match_hostaddr: 75.189.152.160 ~? [::ffff:127.0.0.0]/104
Jan 3 12:40:10 www postfix/smtpd[10006]: match_hostname: cpe-075-189-152-160.nc.res.rr.com ~? [::1]/128
Jan 3 12:40:10 www postfix/smtpd[10006]: match_hostaddr: 75.189.152.160 ~? [::1]/128
Jan 3 12:40:10 www postfix/smtpd[10006]: match_list_match: cpe-075-189-152-160.nc.res.rr.com: no match
Jan 3 12:40:10 www postfix/smtpd[10006]: match_list_match: 75.189.152.160: no match
Jan 3 12:40:10 www postfix/smtpd[10006]: auto_clnt_open: connected to private/anvil
Jan 3 12:40:10 www postfix/smtpd[10006]: send attr request = connect
Jan 3 12:40:10 www postfix/smtpd[10006]: send attr ident = smtp:75.189.152.160
Jan 3 12:40:10 www postfix/smtpd[10006]: private/anvil: wanted attribute: status
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: status
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute value: 0
Jan 3 12:40:10 www postfix/smtpd[10006]: private/anvil: wanted attribute: count
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: count
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute value: 1
Jan 3 12:40:10 www postfix/smtpd[10006]: private/anvil: wanted attribute: rate
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: rate
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute value: 1
Jan 3 12:40:10 www postfix/smtpd[10008]: connect from cpe-075-189-152-160.nc.res.rr.com[75.189.152.160]
Jan 3 12:40:10 www postfix/smtpd[10006]: private/anvil: wanted attribute: (list terminator)
Jan 3 12:40:10 www postfix/smtpd[10006]: input attribute name: (end)
Jan 3 12:40:10 www postfix/smtpd[10006]: > cpe-075-189-152-160.nc.res.rr.com[75.189.152.160]: 220 www.STEMSharp.com ESMTP Postfix (Ubuntu)
Jan 3 12:40:10 www postfix/smtpd[10009]: name_mask: all
Jan 3 12:40:10 www postfix/smtpd[10009]: inet_addr_local: configured 2 IPv4 addresses
Jan 3 12:40:10 www postfix/smtpd[10009]: inet_addr_local: configured 3 IPv6 addresses
Jan 3 12:40:10 www postfix/smtpd[10009]: process generation: 25 (25)
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: mynetworks ~? debug_peer_list
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: mynetworks ~? fast_flush_domains
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: mynetworks ~? mynetworks
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: relay_domains ~? debug_peer_list
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: relay_domains ~? fast_flush_domains
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: relay_domains ~? mynetworks
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: relay_domains ~? permit_mx_backup_networks
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: relay_domains ~? qmqpd_authorized_clients
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: relay_domains ~? smtpd_access_maps
Jan 3 12:40:10 www postfix/smtpd[10009]: match_list_match: relay_domains: no match
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: permit_mx_backup_networks ~? debug_peer_list
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: permit_mx_backup_networks ~? fast_flush_domains
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: permit_mx_backup_networks ~? mynetworks
Jan 3 12:40:10 www postfix/smtpd[10009]: match_string: permit_mx_backup_networks ~? permit_mx_backup_networks
Jan 3 12:40:10 www postfix/smtpd[10009]: connect to subsystem private/proxymap
Jan 3 12:40:10 www postfix/smtpd[10009]: send attr request = open
Jan 3 12:40:10 www postfix/smtpd[10009]: send attr table = unix:passwd.byname
Jan 3 12:40:10 www postfix/smtpd[10009]: send attr flags = 0
Jan 3 12:40:10 www postfix/smtpd[10009]: private/proxymap socket: wanted attribute: status
Jan 3 12:40:10 www postfix/smtpd[10009]: input attribute name: status
Jan 3 12:40:10 www postfix/smtpd[10009]: input attribute value: 0
Jan 3 12:40:10 www postfix/smtpd[10009]: private/proxymap socket: wanted attribute: flags
Jan 3 12:40:10 www postfix/smtpd[10009]: input attribute name: flags
Jan 3 12:40:10 www postfix/smtpd[10009]: input attribute value: 16
Jan 3 12:40:10 www postfix/smtpd[10009]: private/proxymap socket: wanted attribute: (list terminator)
Jan 3 12:40:10 www postfix/smtpd[10009]: input attribute name: (end)
Jan 3 12:40:10 www postfix/smtpd[10009]: dict_proxy_open: connect to map=unix:passwd.byname status=0 server_flags=fixed
Jan 3 12:40:10 www postfix/smtpd[10009]: dict_open: proxy:unix:passwd.byname
Jan 3 12:40:10 www postfix/smtpd[10009]: Compiled against Berkeley DB: 5.1.25?
Jan 3 12:40:10 www postfix/smtpd[10009]: Run-time linked against Berkeley DB: 5.1.25?
Jan 3 12:40:10 www postfix/smtpd[10009]: dict_open: hash:/etc/aliases
No activity is shown in the dovecot log
I am not sure what else I can do any ideas?
8 Replies
Here is my /etc/dovecot/conf.d/10-master.conf
service imap-login {
inet_listener imap {
port = 0
ssl_listen = *:993
}
inet_listener imaps {
port = *:993
ssl = yes
}
# Number of connections to handle before starting a new process. Typically
# the only useful values are 0 (unlimited) or 1\. 1 is more secure, but 0
# is faster. <doc wiki="" loginprocess.txt="">#service_count = 1
# Number of processes to always keep waiting for more connections.
#process_min_avail = 0
# If you set service_count=0, you probably need to grow this.
#vsz_limit = 64M
}</doc>
If it is not how can I fix. below is my iptable -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
REJECT all -- anywhere 127.0.0.0/8 reject-with icmp-port-unreachable
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state ESTABLISHED
LOG all -- anywhere anywhere limit: avg 5/min burst 5 LOG level debug prefix "iptables denied: "
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:submission
ACCEPT tcp -- anywhere anywhere tcp dpt:ssmtp
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3s
ACCEPT tcp -- anywhere anywhere tcp dpt:imaps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT icmp -- anywhere anywhere
LOG all -- anywhere anywhere limit: avg 5/min burst 5 LOG level debug prefix "iptables denied: "
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
How can I resolve?
I am going backwards cannot telenet to 993 or 995. Should I config thunderbird without a firewall then put it up?
Dovecot 1.xDovecot 2.x'Why doesn't Dovecot work?' (1.x)
here is the log file
admin@STEMSharp:/var/mail/vhosts$ sudo tail -f /var/log/mail.log
Jan 03 22:41:40 auth: Debug: client in: AUTH 1 PLAIN service=imap secured lip=74.207.235.39 rip=75.189.152.160 lport=993 rport=49469
Jan 03 22:41:40 auth: Debug: client out: CONT 1
Jan 03 22:41:40 auth: Debug: client in: CONT 1 AFNTaGFycF9BZG1pbgBtYWlsdXNlcnBhc3M=
Jan 03 22:41:40 auth-worker: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Jan 03 22:41:40 auth-worker: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so
Jan 03 22:41:40 auth-worker: Info: mysql(127.0.0.1): Connected to database mailserver
Jan 03 22:41:40 auth-worker: Debug: sql(SSharp_Admin,75.189.152.160): query: SELECT email as user, password FROM virtual_users WHERE email='SSharp_Admin';
Jan 03 22:41:40 auth-worker: Info: sql(SSharp_Admin,75.189.152.160): unknown user
Jan 03 22:41:42 auth: Debug: client out: FAIL 1 user=SSharp_Admin
Jan 03 22:41:42 auth: Debug: client in: AUTH 2 LOGIN service=imap secured lip=74.207.235.39 rip=75.189.152.160 lport=993 rport=49469
Jan 03 22:41:46 auth: Debug: client out: CONT 2 VXNlcm5hbWU6
Jan 03 22:41:46 auth: Debug: client in: CONT 2 U1NoYXJwX0FkbWlu
Jan 03 22:41:46 auth: Debug: client out: CONT 2 UGFzc3dvcmQ6
Jan 03 22:41:46 auth: Debug: client in: CONT 2 bWFpbHVzZXJwYXNz
Jan 03 22:41:46 auth-worker: Debug: sql(SSharp_Admin,75.189.152.160): query: SELECT email as user, password FROM virtual_users WHERE email='SSharp_Admin';
Jan 03 22:41:46 auth-worker: Info: sql(SSharp_Admin,75.189.152.160): unknown user
Jan 03 22:41:48 auth: Debug: client out: FAIL 2 user=SSharp_Admin
Should I just redo the record on the mailserver to make sure it is right?
I should mention that i followed the linode guide which has an encrypted pasword but I log in via thunderbird with normal password. I am not sure if that is the issue
The log is saying that the user "SSharpAdmin" is not set up in the MySQL virtualusers table. Possible corrections may be using an uppercase "H" (your posts in another thread used "SSHarpAdmin"), or including the domain with the username (i.e., "
You want to log in using the normal password; the encrypted (hashed)
*It is Base-64 encoded, but this is trivial to decode. Your password is twelve lowercase letters.
I can now connect via Thunderbird and view mail I have recieved. I tried sending mail and no luck. I also tried sending mail to myself and it seem dovecot is finicky again per the following where it seems to do all this handshake business only to refuse delivery at the end.
Jan 4 02:08:47 www postfix/smtpd[6187]: send attr address = mjrich79@gmail.com
Jan 4 02:08:47 www postfix/smtpd[6187]: private/rewrite socket: wanted attribute: flags
Jan 4 02:08:47 www postfix/smtpd[6187]: input attribute name: flags
Jan 4 02:08:47 www postfix/smtpd[6187]: input attribute value: 0
Jan 4 02:08:47 www postfix/smtpd[6187]: private/rewrite socket: wanted attribute: transport
Jan 4 02:08:47 www postfix/smtpd[6187]: input attribute name: transport
Jan 4 02:08:47 www postfix/smtpd[6187]: input attribute value: smtp
Jan 4 02:08:47 www postfix/smtpd[6187]: private/rewrite socket: wanted attribute: nexthop
Jan 4 02:08:47 www postfix/smtpd[6187]: input attribute name: nexthop
Jan 4 02:08:47 www postfix/smtpd[6187]: input attribute value: gmail.com
Jan 4 02:08:48 www postfix/cleanup[6196]: 1828816F07: message-id= <can3or9qx7943t_gmzk_vkx9tk2fk4_zpmbt6xozhkdv3k=ekna@mail.gmail.com>Jan 4 02:08:48 www postfix/qmgr[6178]: 1828816F07: from=<mjrich79@gmail.com>, size=3426, nrcpt=1 (queue active)
Jan 4 02:08:48 www postfix/lmtp[6198]: 1828816F07: to=<ssharp_admin@stemsharp.com>, relay=none, delay=0.51, delays=0.48/0.03/0/0, dsn=4.4.1, status=deferred (connect to www.STEMSharp.com[private/dovecot-lmtp]: Connection refused)
Jan 4 02:08:52 www postfix/smtpd[6187]: auto_clnt_close: disconnect private/tlsmgr stream
Jan 4 02:08:53 www postfix/smtpd[6187]: rewrite stream disconnect</ssharp_admin@stemsharp.com></mjrich79@gmail.com></can3or9qx7943t_gmzk_vkx9tk2fk4_zpmbt6xozhkdv3k=ekna@mail.gmail.com>
one last problem, sending mail I am getting the following error
Sending of message failed.
The message could not be sent because the connection to SMTP server mail.stemsharp.com timed out. Try again or contact your network administrator.
my settings for outgoing are
port 465
connection SSLTLS
server mail.stemsharp.com
username
I can telenet and openssl port 465 but I cannot send from thunderbird doesnt seem to be connecting and the log has no activity?
Bring me on home pleeeeeasse… and thanks again
my main.cf is
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/dovecot.pem
smtpd_tls_key_file=/etc/ssl/private/dovecot.pem
smtpd_use_tls=yes
smtpd_tls_auth_only = yes
#Enabling SMTP for authenticated users, and handing off authentication to Dovecot
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
myhostname = www.STEMSharp.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = STEMSHarp.com, www.STEMSharp.com, localhost.STEMSharp.com, localhost
mydestination = localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
#Handing off local delivery to Dovecot's LMTP, and telling it where to store mail
virtual_transport = lmtp:unix:private/dovecot-lmtp
#Virtual domains, users, and aliases
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
I made slight alteration to the master.cf file to open port 465
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd -v
smtps inet n - - - - smtpd #port 465
#smtp inet n - - - 1 postscreen
#smtpd pass - - - - - smtpd
#dnsblog unix - - - - 0 dnsblog
#tlsproxy unix - - - - 0 tlsproxy
submission inet n - - - - smtpd
Dovecot step #34
# ls -l /var/spool/postfix/private/dovecot-lmtp
srw------- 1 postfix postfix 0 Jan 4 08:24 /var/spool/postfix/private/dovecot-lmtp
The first letter must be "s" (a socket), followed by "rw" (meaning the owner can read and write to it), and the owner must be "postfix".