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

I found in access(5):

  ACCEPT ACTIONS
        all-numerical
                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 | http://madduck.net/ | http://two.sentenc.es/
 
uʍop ǝpısdn sı ɹoʇıuoɯ ɹnoʎ
 
spamtraps: madduck.bo...@madduck.net

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to