I agree. I customize the logging code quite a bit to my own preferences for
readability. What I need to know is where that particular message is sent to
syslog so I can change the call from msg_info to msg_warn. Just the source
module name will be sufficient; I can hunt it down from there.
On Tuesday, 22 October 2019, 12:13:33 PM GMT-5, Wietse Venema
<[email protected]> wrote:
miim:
> Oct 22 13:13:32 postfix[8412]: NOQUEUE: reject: RCPT from
> unknown[300.301.302.303]: 510 5.7.1 Your IP address is blacklisted - send
> from a different network; from=<[email protected]> to=<[email protected]> proto=ESMTP
> helo=<unassigned.foo.com>
postscreen logging does not have unknown[ipaddress]; it just has
[ipaddress]. Instead, this is an smtpd message.
Postfix log messages have postfix/program[process-id]. In this case
it should have been something like "postfix/smtpd[process-id].
Postfix source code does not contain 'Your IP address is blacklisted'.
You're getting that string from elesewhere.
You can configure Postfix log facility (mail, etc.) but not the
severity (info, warning, etc.).
Wietse