Hi,
I am trying to understand the functioning of postfix for what concern the rejection of email, but I can't find the way to enable a verbose log and see what decisions have been taken by postfix in order to evaluate the email valid and sent.
I tried to increase the debug_peer_level, but it seems not logging that things.
Thanks
Steven
Postfix log
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: Postfix log
I found a number of problems with mine by using sudo systemctl status -l postfix after my isp started requiring smtp relay authentication recently.
Re: Postfix log
Thanks,
that's the output, but unfortunately it's not helpful
When I send an email it's delivering it, but I don't know why, and so I can't understand how to reject it.
Steven
that's the output, but unfortunately it's not helpful
Code: Select all
# sudo systemctl status -l postfix
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-03-12 10:58:06 CET; 2h 40min ago
Process: 2150 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
Process: 2167 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 2164 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 2161 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Main PID: 2239 (master)
CGroup: /system.slice/postfix.service
├─2239 /usr/libexec/postfix/master -w
├─2241 qmgr -l -t unix -u
└─2379 pickup -l -t unix -u
Mar 12 10:58:06 srvml02 systemd[1]: Starting Postfix Mail Transport Agent...
Mar 12 10:58:06 srvml02 postfix/postfix-script[2237]: starting the Postfix mail system
Mar 12 10:58:06 srvml02 postfix/master[2239]: daemon started -- version 2.10.1, configuration /etc/postfix
Mar 12 10:58:06 srvml02 systemd[1]: Started Postfix Mail Transport Agent.
Steven
- KernelOops
- Posts: 428
- Joined: 2013/12/18 15:04:03
- Location: xfs file system
Re: Postfix log
You may increase the verbosity level per daemon (smtp, smtpd, etc) by adding the "-v" option in the equivalent line in master.cf. More details here.
I'll PM you my own configuration, maybe you can get some ideas.
I'll PM you my own configuration, maybe you can get some ideas.
--
R.I.P. CentOS
--
R.I.P. CentOS
--
Re: Postfix log
Thanks @KernelOops ,
I tried adding -v, but no log is produced in maillog when the email is delivered.
I should study your file (thanks !) and find the right configuration for me.
Steven
I tried adding -v, but no log is produced in maillog when the email is delivered.
I should study your file (thanks !) and find the right configuration for me.
Steven