I have set up a mailserver using Postfix, Dovecot as my SASL and Rainloop as my WebClient. I'm using MySQL (after asking my last question) for my user accounts and passwords, and it's working properly, but there are two issues that I'm facing with. [THE SECOND IS SOLVED]I cannot receive email! (I just need employees to be in touch via email, they cannot receive any email at the moment, when I send email from one employee to the other, I can find no log file showing a sign of failure, I really have no idea what might be an issue for not being able to receive.)[SOLVED] Users can login via ThunderBird since it'll ask for confirmation on Certificate for both SMTP and IMAP. i.e. when I'm logging in, I should accept the certificate, and the first time I'm sending a mail, I should accept another certificate, and then it will work. But Outlook cannot log in since it's only asking certificate once and for IMAP.Here is my config files:/etc/postfix/main.cfmyhostname = mail.domain.tldmydomain = domain.tldmyorigin = $mydomaininet_interfaces = allinet_protocols = allmydestination = $myhostname, localhost.$mydomain, localhost, $mydomain#home_mailbox = Maildir/#relayhost =#mynetworks = 127.0.0.0/8, 172.16.67.68, [::1]/128smtpd_tls_cert_file=/etc/ssl/certs/mailcert.pemsmtpd_tls_key_file=/etc/ssl/private/mail.keysmtpd_use_tls=yessmtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scachesmtp_tls_session_cache_database = btree:${data_directory}/smtp_scachesmtpd_tls_security_level=may#smtpd_tls_protocols = !SSLv2, !SSLv3smtpd_sasl_type = dovecotsmtpd_sasl_path = private/authsmtpd_sasl_auth_enable = yes#smtpd_recipient_restrictions =       permit_sasl_authenticated,       permit_mynetworks#      reject_unauth_destination#alias_maps = hash:/etc/aliases#alias_database = hash:/etc/aliasesvirtual_transport = lmtp:unix:private/dovecot-lmtpvirtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cfvirtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cfvirtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf, mysql:/etc/postfix/mysql-virtual-email2email.cfmailbox_size_limit = 209715200message_size_limit = 57671680/etc/postfix/master.cfsmtp      inet  n       -       n       -       -       smtpdpickup    unix  n       -       n       60      1       pickupcleanup   unix  n       -       n       -       0       cleanupqmgr      unix  n       -       n       300     1       qmgr#qmgr     unix  n       -       n       300     1       oqmgrtlsmgr    unix  -       -       n       1000?   1       tlsmgrrewrite   unix  -       -       n       -       -       trivial-rewritebounce    unix  -       -       n       -       0       bouncedefer     unix  -       -       n       -       0       bouncetrace     unix  -       -       n       -       0       bounceverify    unix  -       -       n       -       1       verifyflush     unix  n       -       n       1000?   0       flushproxymap  unix  -       -       n       -       -       proxymapproxywrite unix -       -       n       -       1       proxymapsmtp      unix  -       -       n       -       -       smtprelay     unix  -       -       n       -       -       smtp#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5showq     unix  n       -       n       -       -       showqerror     unix  -       -       n       -       -       errorretry     unix  -       -       n       -       -       errordiscard   unix  -       -       n       -       -       discardlocal     unix  -       n       n       -       -       localvirtual   unix  -       n       n       -       -       virtuallmtp      unix  -       -       n       -       -       lmtpanvil     unix  -       -       n       -       1       anvilscache    unix  -       -       n       -       1       scachesubmission inet n       -       -       -       -       smtpd  -o syslog_name=postfix/submission  -o smtpd_tls_wrappermode=no  -o smtpd_tls_security_level=encrypt  -o smtpd_sasl_auth_enable=yes  -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject  -o milter_macro_daemon_name=ORIGINATING  -o smtpd_sasl_type=dovecot  -o smtpd_sasl_path=private/authsmtps     inet  n       -       n       -       -       smtpd  -o syslog_name=postfix/smtps  -o smtpd_tls_wrappermode=yes  -o smtpd_sasl_auth_enable=yes  -o smtpd_client_restrictions=permit_sasl_authenticated,reject  -o milter_macro_daemon_name=ORIGINATINGI have 3 DB tables, virtual_domains, virtual_users, virtual_aliases. Postfix knows all of them, and it's been proven by using postmap commands, and the configs are set in mysql-virtual-mailbox-domains.cf, mysql-virtual-mailbox-maps.cf, mysql-virtual-email2email.cf, mysql-virtual-alias-maps.cf./etc/dovecot/dovecot.confdisable_plaintext_auth = yesssl=requiredssl_cert = </etc/ssl/certs/mailcert.pemssl_key = </etc/ssl/private/mail.key!include conf.d/*.conf# A config file can also tried to be included without giving an error if# it's not found:!include_try local.confuserdb {  driver = static  args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n}passdb {  driver = sql  args = /etc/dovecot/dovecot-sql.conf.ext}service auth {  unix_listener /var/spool/postfix/private/auth {    group = postfix    mode = 0660    user = postfix  }}protocol imap {  mail_plugins =  autocreate#   $mail_plugins = autocreate}plugin {  autocreate = Trash  autocreate2 = Sent  autosubscribe = Trash  autosubscribe2 = Sent}/etc/dovecot/conf.d/auth-sql.conf.extpassdb {  driver = sql  args = /etc/dovecot/dovecot-sql.conf.ext}userdb {  driver = static  args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n}/etc/dovecot/conf.d/10-mail.confnamespace inbox {  # Namespace type: private, shared or public  #type = private  # Hierarchy separator to use. You should use the same separator for all  # namespaces or some clients get confused. '/' is usually a good one.  # The default however depends on the underlying mail storage format.  #separator =   # Prefix required to access this namespace. This needs to be different for  # all namespaces. For example Public/.  #prefix =   # Physical location of the mailbox. This is in same format as  # mail_location, which is also the default for it.  #location =  # There can be only one INBOX, and this setting defines which namespace  # has it.  inbox = yes  # If namespace is hidden, it's not advertised to clients via NAMESPACE  # extension. You'll most likely also want to set list=no. This is mostly  # useful when converting from another server with different namespaces which  # you want to deprecate but still keep working. For example you can create  # hidden namespaces with prefixes ~/mail/, ~%u/mail/ and mail/.  #hidden = no  # Show the mailboxes under this namespace with LIST command. This makes the  # namespace visible for clients that don't support NAMESPACE extension.  # children value lists child mailboxes, but hides the namespace prefix.  #list = yes  # Namespace handles its own subscriptions. If set to no, the parent  # namespace handles them (empty prefix should always have this as yes)  #subscriptions = yes}mbox_write_locks = fcntlmail_location = maildir:/var/mail/vhosts/%d/%nmail_privileged_group = mailI'm open to any suggestion, even if it's starting from the scratch. But please be precise and explain in detail, I'm not an expert in setting up mail servers. Thanks in advance.If anything else is needed, let me know and I will update the question with the required config files.UPDATE:Guys, I have no idea why I cannot receive Email while everything seems to be correct, can anyone help? Any idea??
Mail Server send/receive issues
centos;email;postfix;thunderbird;imap