On Mon, 16 Mar 2009, Wietse Venema wrote:
Henk van Oers:
Noel Jones wrote:
[...]
There is no bypass mechanism for header_checks.
It whould be nice to have one.
Just to clue you in, here is an example SMTP dialog.
220 server.example.com ESMTP
HELO client.example.com
250 server.example.com
MAIL FROM:<sender>
250 Ok
RCPT TO:<recipient1>
250 Ok
RCPT TO:<recipient2>
250 Ok
RCPT TO:<recipient3>
250 Ok
DATA
354 End message with <CR><LF>.<CR><LF>
From: sender
To: recipients...
Subject: Mogge...
[text body here]
.
550 Message content rejected
When recipient1 and recipient3 header checks want to reject the
mail, but recipient2 is not header checked, how shall the SMTP
server respond? It can send only one reply to the client.
Between 'DATA' and '<CR><LF>.<CR><LF>' there is one set of headers.
In the header_checks file(s) there is one set of expressions.
So, there can only be one reply to the client.
At this moment DUNNO can be used to skip the rest of the expressions
for the current header line.
There will be only one reply to the client.
I think OK can be used to skip not only the rest of the expressions
but also the rest of the header lines.
Same difference.
One reply.
Please hit me more with the clue bat.