divert(-1) # # Copyright (c) 2003, 2004 Victor Ustugov # This hack is under BSD License # Redistributions of source code must retain the above copyright notice # # hacks disscussion's maillist - http://www.mta.org.ua/mailman/listinfo/sendmail-conf # # # Check dial-up/dsl/cable HELO/EHLO # Проверка dial-up/dsl/cable HELO/EHLO # ifdef(`_CHECK_HELO_DIALUP_TOKEN_', `dnl', `dnl dnl divert(0) VERSIONID(`$Id: check_helo_dialup_token.m4,v 8.12-0.01 2004/08/20 10:25:41 corvax Exp $')dnl divert(-1) dnl define(`_CHECK_HELO_DIALUP_TOKEN_')dnl dnl ifelse(len(X`'_ARG_),`1',` errprint(`*** ERROR: HACK(check_helo_dialup_token) requires tokens and optional error message ')') dnl ifdef(`_CHECK_HELO_DIALUP_',`',` errprint(`*** ERROR: HACK(check_helo_dialup_token) requires HACK(check_helo) ')') dnl ')dnl dnl dnl LOCAL_RULESETS dnl dnl SLocal_check_dialup_helo dnl ifelse(len(X`'_ARG2_),`1',` R _ARG_ $#error $@ 5.7.1 $: "550 Access from dsl/dial-up/cable relays denied according to the local policy" ', ` R _ARG_ $#error $@ 5.7.1 $: "_ARG2_" ') dnl