Hello ! Thank you for the sendmail ! Problem: The Anti-Spam-Rulesets don't regard the mailertable. If a adminstrator puts a domain in his mailertable, he wants to relay to this domain. It is good for Consistency, that there is only one place for a domain. Solution: HACK(use_relay_mailertable) in the m4-Configuration The trick is to include the Mailertable twice. The work is done in the LookUpDomain-Ruleset direct after the query of the access-db Greetings from Ravensburg, Germany Rudolf Weber email: rfweber@bluewin.de http://www.infnet.verein.de/home/rw --- cf/m4/proto.m4.orig Tue Jul 21 13:39:48 1998 +++ cf/m4/proto.m4 Tue Jul 21 13:59:54 1998 @@ -978,6 +978,10 @@ SLookUpDomain R<$+> <$+> <$*> $: < $(access $1 $: ? $) > <$1> <$2> <$3> +ifdef(`_USE_RELAY_MAILERTABLE_',`dnl +R <$+> <$+> <$+> $: < $(mtrelay $1 $: $1 $) > <$2> <$3> +R <$+@RELAYTO> <$+> <$+> <$1> <$2> <$3> +')dnl R <$+.$+> <$+> <$*> $@ $>LookUpDomain <$2> <$3> <$4> R <$+> <$+> <$*> $@ <$2> <$3> R<$*> <$+> <$+> <$*> $@ <$1> <$4> --- cf/hack/use_relay_mailertable.m4.orig Wed Jul 22 07:56:35 1998 +++ cf/hack/use_relay_mailertable.m4 Tue Jul 21 13:34:16 1998 @@ -0,0 +1,14 @@ +divert(-1) +# Versuch malertableeintraege zu raleyen ohne Extra-Eintraege +# Von Rudolf Weber +# Same Copyright like the Claus-Aßmann-Hacks +# I hope I don't blame Claus or me ... +divert(0) +VERSIONID(`@(#)use_relay_mailertable.m4 Rudolf Weber') +divert(-1) +define(`_USE_RELAY_MAILERTABLE_',1) +ifdef(`MAILERTABLE_PATH',`',`define(`MAILERTABLE_PATH',`/etc/mail/mailertable')')dnl +PUSHDIVERT(6) +#Use Mailertable-Lookup for check_rcpt only +Kmtrelay ifelse(_ARG_,`',`hash -m -a@RELAYTO ' MAILERTABLE_PATH,`_ARG_') +POPDIVERT