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 RCPT TO field # проверка RCPT TO # divert(0) VERSIONID(`$Id: check_rcpt_to.m4,v 8.12-0.03 2003/09/20 22:18:15 corvax Exp $')dnl divert(-1) dnl HACK(`precheck_envelope')dnl ifdef(`confCHECK_RCPT_TO_NUMERIC_MAILBOX',` HACK(`check_numeric_mailbox')dnl ') dnl dnl LOCAL_RULESETS dnl dnl SLocal_check_rcpt # R $* $: $>Parse0 $>3 $1 dnl ifdef(`confCHECK_RCPT_TO_NUMERIC_MAILBOX', `ifelse(confCHECK_RCPT_TO_NUMERIC_MAILBOX, `YES', `dnl R $+ < @ $+ > $* $: $1 < @ $2 > $3 $| $>CheckNumericMailbox $1@$2 R $+ < @ $+ > $* $| $#error $* $#error $: 554 5.1.7 rejected by Local_check_rcpt R $+ < @ $+ > $* $| $* $: $1 < @ $2 > $3 ')') dnl