postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: how to return a multi-word result with a static m

how to return a multi-word result with a static map (was: static map returns 554, causing message to be accepted)

From: martin f krafft <madduck_at_nospam>
Date: Sun Oct 03 2010 - 12:56:42 GMT
To: postfix users <>

also sprach martin f krafft <> [2010.10.03.1434 +0200]:
> check_helo_access static:554
> but that got the message accepted too.

I found in access(5):

                An all-numerical result is treated as OK. This
                format is generated by address-based relay
                authorization schemes such as pop-before-smtp.

So indeed, this is expected behaviour and my question thus becomes
a new one:

How can I use a static map to return a "5xx message" result?

I tried:

- static:554 message [all-numerical accept]
- static:'554 message' [invalid smtpd restriction '554]
- static:"554 message" [invalid smtpd restriction "554]
- "static:554 message" [unsupported dictionary type: "static:…]
- 'static:554 message" [unsupported dictionary type: 'static:…]

What else is there?

-- martin | | uʍop ǝpısdn sı ɹoʇıuoɯ ɹnoʎ spamtraps: