I am trying to move away from cPanel to Virtualmin and set up a testing server, unfortunately, email receiving not working. Working on it last 2 days but no success.
Blockquote
Dec 24 07:46:12 guest opendkim[19475]: 6331183F5: mail-lf1-f53.google .com [209.85.167.53] not internal
Dec 24 07:46:12 guest opendkim[19475]: 6331183F5: not authenticated
Dec 24 07:46:12 guest opendkim[19475]: 6331183F5: no signing domain match for ‘gdomain .com’
Dec 24 07:46:12 guest opendkim[19475]: 6331183F5: no signing subdomain match for ‘gdomain .com’
Dec 24 07:46:12 guest opendkim[19475]: 6331183F5: DKIM verification successful
Dec 24 07:46:12 guest postfix/qmgr[22357]: 6331183F5: from=<fm@gdomain .com>, size=3826, nrcpt=1 (queue active)
Dec 24 07:46:12 guest postfix/trivial-rewrite[22489]: warning: do not list domain am1.myhost .com in BOTH mydestination and virtual_alias_domains
Dec 24 07:46:12 guest postfix/smtpd[22480]: disconnect from mail-lf1-f53.google .com[209.85.167.53]
Dec 24 07:46:13 guest postfix/local[22509]: 6331183F5: to=<info-am1.myhost .com@am1.myhost .com>, orig_to=<info@am1.myhost .com>, relay=local, delay=1.1, delays=0.31/0.08/0/0.67, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Dec 24 07:46:13 guest postfix/qmgr[22357]: 6331183F5: removed
Dec 24 07:49:32 guest postfix/anvil[22483]: statistics: max connection rate 1/60s for (smtp:209.85.167.53) at Dec 24 07:46:12
Dec 24 07:49:32 guest postfix/anvil[22483]: statistics: max connection count 1 for (smtp:209.85.167.53) at Dec 24 07:46:12
Dec 24 07:49:32 guest postfix/anvil[22483]: statistics: max cache size 1 at Dec 24 07:46:12
Dec 24 07:49:53 guest dovecot: master: Warning: SIGHUP received - reloading configuration
Dec 24 07:50:17 am1 dovecot: master: Dovecot v2.2.36 (1f10bfa63) starting up for imap, pop3 (core dumps disabled)
Dec 24 07:50:18 am1 opendkim[1075]: OpenDKIM Filter v2.11.0 starting (args: -b sv)
Dec 24 07:50:20 am1 postfix/postfix-script[1432]: starting the Postfix mail system
Dec 24 07:50:21 am1 postfix/master[1435]: daemon started – version 2.10.1, configuration /etc/postfix
Dec 24 07:52:17 am1 postfix/smtpd[2103]: connect from unknown[103.157.88.246]
Dec 24 07:54:46 am1 postfix/smtpd[2754]: connect from mail-ej1-f48.google .com[209.85.218.48]
Dec 24 07:54:47 am1 postfix/trivial-rewrite[2756]: warning: do not list domain am1.myhost .com in BOTH mydestination and virtual_alias_domains
Dec 24 07:54:47 am1 postfix/smtpd[2754]: 0C2D782EF: client=mail-ej1-f48.google .com[209.85.218.48]
Dec 24 07:54:47 am1 postfix/cleanup[2757]: 0C2D782EF: message-id=<CANP+JpGC=avuNRDZY-5jfWrp5H4nAyGTonxBzehegoP3Y27J_g@mail.gmail .com>
Dec 24 07:54:47 am1 opendkim[1075]: 0C2D782EF: mail-ej1-f48.google .com [209.85.218.48] not internal
Dec 24 07:54:47 am1 opendkim[1075]: 0C2D782EF: not authenticated
Dec 24 07:54:47 am1 opendkim[1075]: 0C2D782EF: no signing domain match for ‘gdomain .com’
Dec 24 07:54:47 am1 opendkim[1075]: 0C2D782EF: no signing subdomain match for ‘gdomain .com’
Dec 24 07:54:47 am1 opendkim[1075]: 0C2D782EF: DKIM verification successful
Dec 24 07:54:47 am1 postfix/qmgr[1440]: 0C2D782EF: from=<fm@gdomain .com>, size=3230, nrcpt=1 (queue active)
Dec 24 07:54:47 am1 postfix/trivial-rewrite[2756]: warning: do not list domain am1.myhost .com in BOTH mydestination and virtual_alias_domains
Dec 24 07:54:47 am1 postfix/smtpd[2754]: disconnect from mail-ej1-f48.google .com[209.85.218.48]
Dec 24 07:54:47 am1 postfix/local[2758]: 0C2D782EF: to=<info-am1.myhost .com@am1.myhost .com>, orig_to=<info@am1.myhost .com>, relay=local, delay=0.62, delays=0.14/0.02/0/0.46, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Dec 24 07:54:47 am1 postfix/qmgr[1440]: 0C2D782EF: removed
Dec 24 07:55:00 am1 postfix/smtpd[2792]: connect from unknown[167.99.134.142]
Dec 24 07:55:01 am1 postfix/smtpd[2792]: SSL_accept error from unknown[167.99.134.142]: lost connection
Dec 24 07:55:01 am1 postfix/smtpd[2792]: lost connection after STARTTLS from unknown[167.99.134.142]
Dec 24 07:55:01 am1 postfix/smtpd[2792]: disconnect from unknown[167.99.134.142]
Dec 24 07:56:22 am1 postfix/smtpd[2754]: connect from mail-lf1-f51.google .com[209.85.167.51]
Dec 24 07:56:23 am1 postfix/smtpd[2754]: 1623282EF: client=mail-lf1-f51.google .com[209.85.167.51]
Dec 24 07:56:23 am1 postfix/cleanup[2757]: 1623282EF: message-id=<CANP+JpHEPiTR0SapM+0M_HxnxZPGPZpUHOG=y_k0c1fwchXoDA@mail.gmail .com>
Dec 24 07:56:23 am1 opendkim[1075]: 1623282EF: mail-lf1-f51.google .com [209.85.167.51] not internal
Dec 24 07:56:23 am1 opendkim[1075]: 1623282EF: not authenticated
Dec 24 07:56:23 am1 opendkim[1075]: 1623282EF: no signing domain match for ‘gdomain .com’
Dec 24 07:56:23 am1 opendkim[1075]: 1623282EF: no signing subdomain match for ‘gdomain .com’
Dec 24 07:56:23 am1 opendkim[1075]: 1623282EF: DKIM verification successful
Dec 24 07:56:23 am1 postfix/qmgr[1440]: 1623282EF: from=<fm@gdomain .com>, size=4399, nrcpt=1 (queue active)
Dec 24 07:56:23 am1 postfix/trivial-rewrite[2756]: warning: do not list domain am1.myhost .com in BOTH mydestination and virtual_alias_domains
Dec 24 07:56:23 am1 postfix/smtpd[2754]: disconnect from mail-lf1-f51.google .com[209.85.167.51]
Dec 24 07:56:24 am1 postfix/local[2758]: 1623282EF: to=<info-am1.myhost .com@am1.myhost .com>, orig_to=<info@am1.myhost .com>, relay=local, delay=1.3, delays=0.22/0.01/0/1.1, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Dec 24 07:56:24 am1 postfix/qmgr[1440]: 1623282EF: removed
Blockquote
Operating system: Centos
OS version: 7
$ postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
milter_default_action = accept
milter_protocol = 2
mydestination = $myhostname, localhost.$mydomain, localhost, am1.myhost.com
newaliases_path = /usr/bin/newaliases.postfix
non_smtpd_milters = inet:localhost:8891
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sender_dependent_default_transport_maps = hash:/etc/postfix/dependent
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_security_level = may
smtpd_milters = inet:localhost:8891
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/postfix/postfix.cert.pem
smtpd_tls_key_file = /etc/postfix/postfix.key.pem
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_security_level = may
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual