Avatar of Brian Sheppard
Brian Sheppard
Flag for Canada

asked on 

How do I trace email to configure postfix?

I am trying to set up an email server and I am having some issues. Postfix seems to be configured correctly. But I can not get that email messages to come down from gateway. I can provide logs but that website I used to configure was: https://www.linuxbabe.com/redhat/run-your-own-email-server-centos-postfix-smtp-server and https://www.linuxbabe.com/redhat/install-dovecot-centos-enable-tls-encryption .

[root@mail postfix.service.d]# systemctl status postfix
● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/postfix.service.d
           └─restart.conf
   Active: active (running) since Sun 2021-07-11 16:52:54 ADT; 1 day 6h ago
  Process: 7420 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
  Process: 7440 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
  Process: 7438 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
  Process: 7434 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
 Main PID: 7508 (master)
    Tasks: 4 (limit: 99996)
   Memory: 5.8M
   CGroup: /system.slice/postfix.service
           ├─ 7508 /usr/libexec/postfix/master -w
           ├─ 7510 qmgr -l -t unix -u
           ├─19305 tlsmgr -l -t unix -u
           └─37175 pickup -l -t unix -u

Jul 12 22:16:21 mail.thesheppards.name postfix/smtpd[36274]: disconnect from unknown[2.56.59.35] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Jul 12 22:33:00 mail.thesheppards.name postfix/qmgr[7510]: 7CDB440E59DC: from=<bmsheppard@me.com>, size=4159, nrcpt=1 (queue active)
Jul 12 22:33:00 mail.thesheppards.name postfix/qmgr[7510]: 0679840E5AB9: from=<>, size=2976, nrcpt=1 (queue active)
Jul 12 22:33:00 mail.thesheppards.name postfix/qmgr[7510]: 241D940E5AB4: from=<>, size=2786, nrcpt=1 (queue active)
Jul 12 22:33:00 mail.thesheppards.name postfix/lmtp[36565]: 7CDB440E59DC: to=<brian@thesheppards.name>, relay=none, delay=109395, delays=109395/0.01/0.01/0, dsn=4.4.1, status=deferred (connect to mail.thesheppards.name[private/dovecot-lmtp]: Connection refused)
Jul 12 22:33:00 mail.thesheppards.name postfix/lmtp[36569]: 241D940E5AB4: to=<brian@thesheppards.name>, orig_to=<root@mail.thesheppards.name>, relay=none, delay=109924, delays=109924/0.02/0.01/0, dsn=4.4.1, status=deferred (connect to mail.thesheppards.name[private/doveco>
Jul 12 22:33:00 mail.thesheppards.name postfix/lmtp[36567]: 0679840E5AB9: to=<brian@mail.thesheppards.name>, relay=none, delay=109539, delays=109539/0.01/0.01/0, dsn=4.4.1, status=deferred (connect to mail.thesheppards.name[private/dovecot-lmtp]: Connection refused)
Jul 12 22:49:51 mail.thesheppards.name postfix/smtpd[37086]: connect from unknown[2.56.59.35]
Jul 12 22:49:52 mail.thesheppards.name postfix/smtpd[37086]: discarding EHLO keywords: CHUNKING
Jul 12 22:49:53 mail.thesheppards.name postfix/smtpd[37086]: disconnect from unknown[2.56.59.35] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
RedhatEmail Servers

Avatar of undefined
Last Comment
Brian Sheppard

8/22/2022 - Mon