07/05/09 22:16:38
>>679
> S25R対応がむずかしそうなのでPostfixへの移行を計画中。
> sendmailにできないことは無いと思うのだが…
純粋な S25R じゃないけど、こういうのやっている。
LOCAL_CONFIG
KS25R1 regex -a@MATCH ^[^.]*[0-9][^0-9.]+[0-9]
KS25R2 regex -a@MATCH ^[^.]*[0-9]{5}
KS25R3 regex -a@MATCH ^([^.]+\.)?[0-9][^.]*\.[^.]+\..+\.[a-z]
KS25R4 regex -a@MATCH ^[^.]*[0-9]\.[^.]*[0-9]-[0-9]
KS25R5 regex -a@MATCH ^[^.]*[0-9]\.[^.]*[0-9]\.[^.]+\..+\.
KS25R6 regex -a@MATCH ^(dhcp|dialup|ppp|adsl)[^.]*[0-9]
KS25R sequence S25R1 S25R2 S25R3 S25R4 S25R5 S25R6
LOCAL_RULESETS
SLocal_greet_pause
R$* $: $&{client_resolve}
RFAIL $# 10000 permanent lookup failure
RFORGED $# 10000 forward lookup doesn't match reverse lookup
RTEMP $# 10000 temporary lookup failure
R$* $: $&{client_ptr}
R$+ $: $(S25R $1 $)
R@MATCH $# 10000