I would greatly appreciate help with this.

 

VPS ubuntu 20.04 postfix  3.4.13 dovecot 2.3.7.2

I’m trying to set up postfix with dovecot for virtual mailboxes using mysql

I have a database mailserver with tables virtual_domains, virtual_users & virtual_aliases

Using postmap I’ve tested all connections and gotten correct responses (1, 1, smoker1@sizzelicks.com)

 

I have a domain: sizzelicks.com and an email address smoker1@sizzelicks.com

The password for the user is encrypted with sha512-CRYPT

My VPS IP is: 194.163.45.150

MX test from: https://mxtoolbox.com/SuperTool.aspx?action=mx%3asizzelicks.com&run=toolpage

 

I set up a mailbox for smoker1@sizzelicks.com in Thunderbird:

IMAP and SMTP server: mail.sizzelicks.com

IMAP port: 993 SMTP port: 587

IMAP connection security: SSL/TLS

SMTP connection security: STARTTLS

 

When I try to connect to the mailbox Thunderbird returns this:
server mail.sizzelicks.com has disconnected.

The server may have gone down or there may be a network problem.

 

mail.log

Dec 7 21:16:02 softlinksys dovecot: imap-login: Login: user=, method=PLAIN, rip=67.8.3.170, lip=194.163.45.150, mpid=63115, TLS, session=
Dec 7 21:16:02 softlinksys dovecot: imap(smoker1@sizzelicks.com)<63115>: Connection closed (No commands sent) in=0 out=388 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 7 21:16:04 softlinksys dovecot: imap-login: Login: user=, method=PLAIN, rip=67.8.3.170, lip=194.163.45.150, mpid=63117, TLS, session=
Dec 7 21:16:04 softlinksys dovecot: imap(smoker1@sizzelicks.com)<63117>: Connection closed (No commands sent) in=0 out=388 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

 

 

Dovecot -n

# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf

# Pigeonhole version 0.5.7.2 ()

# OS: Linux 5.4.0 x86_64 Ubuntu 20.04.3 LTS ext4

# Hostname: softlinksys.com

auth_mechanisms = plain login

mail_location = maildir:/var/mail/vhosts/%d/%n

mail_privileged_group = mail

namespace inbox {

  inbox = yes

  location =

  mailbox Drafts {

    special_use = \Drafts

  }

  mailbox Junk {

    special_use = \Junk

  }

  mailbox Sent {

    special_use = \Sent

  }

 mailbox "Sent Messages" {

    special_use = \Sent

  }

  mailbox Trash {

    special_use = \Trash

  }

  prefix =

}

passdb {

  driver = pam

}

passdb {

  args = /etc/dovecot/dovecot-sql.conf.ext

  driver = sql

}

postmaster_address = postmaster at aecperformance.com

protocols = imap pop3 lmtp

service auth-worker {

  user = vmail

}

service auth {

  unix_listener /var/spool/postfix/private/auth {

    group = postfix

    mode = 0666

    user = postfix

  }

  unix_listener auth-userdb {

    mode = 0600

    user = vmail

  }

  user = dovecot

}

service imap-login {

  inet_listener imap {

    port = 0

  }

  inet_listener imaps {

    port = 993

    ssl = yes

  }

}

service lmtp {

  unix_listener /var/spool/postfix/private/dovecot-lmtp {

    group = postfix

    mode = 0600

    user = postfix

  }

}

service pop3-login {

  inet_listener pop3 {

    port = 0

  }

  inet_listener pop3s {

    port = 995

    ssl = yes

  }

}

ssl = required

ssl_cert = </etc/letsencrypt/live/aecperformance.com/fullchain.pem

ssl_client_ca_dir = /etc/ssl/certs

ssl_dh = # hidden, use -P to show it

ssl_key = # hidden, use -P to show it

userdb {

  driver = passwd

}

userdb {

  args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n

  driver = static

}

 

 

Kristy Atkins

ViviData SaaS