Dustin Huptas schrieb:
Hi Willi,
sorry for the late feedback, here are the corresponding log lines:
Jul 4 13:04:04 saturn postfix/smtpd[22767]: NOQUEUE: reject_warning:RCPT from host[x.x.x.x]: 450
<[EMAIL PROTECTED]>: Sender address rejected: Domain not found; from=<[EMAIL PROTECTED]>
to=<[EMAIL PROTECTED]> proto=ESMTP helo=<mail.example3.com>
Jul 4 13:04:37 saturn postfix/smtpd[22767]: NOQUEUE: reject: RCPT from host[x.x.x.x]: 450 <[EMAIL
PROTECTED]>: Sender address rejected: Domain not found; from=<[EMAIL PROTECTED]> to=<[EMAIL
PROTECTED]> proto=ESMTP helo=<mail.example3.com>
You are absolutely right, the reject_warning log line is always written
together with the reject log line.
Hi Dustin!
The manpage of says:
postconf.5
warn_if_reject
Change the meaning of the next restriction, so that it logs a
warning instead of rejecting a request (look for logfile records that
contain "reject_warning"). This is useful for testing new restrictions in a "live" environment without risking unnecessary loss of mail.
This description suggests that you get the reject_warning and reject because
you have two rules, one with warn_if_reject and one without. Can you confirm
that?
What confused me was that you said "...is always written together...", which
would mean we should ignore reject_warning lines. However, it looks like we
need to parse them all, to be fully reliable.
Willi
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]