
Sami Koskinen wrote:
One of the best things to do, would probably be to make a simple turnkey kind of sendmail config available to people.
What I think as the best solution is to patch sendmail to check from the name service if we really are in the mx list for the incoming mail. This would eliminate the need to store the same information to some other place, as we already have the information stored in the name service. To my understanding this is not possible to do simply by tweaking the configuration file, but it requires some patches to the actual code.
Such a patch exists. Get it at http://homepage.cistron.nl/~miquels/nospam/ We use it, and have been using it for quite some time now. It only needs integration with the sendmail-8.8.8-cf suite, to call Parse0 to filter local crud before applying the anti-relay rules. -- #! ##### Jan-Pieter Cornet ##### <johnpc@xs4all.net> ##### perl ++$_;$!=$_+++$_;($:,$,,$/,$*)=$!=~/.(.)...(.)(.).(.)/;$!=$_+$_; ($@,$\,$~)=$!=~/(.)(.).(.)/; $_="$,$/$:"; $@++; $~="$~$_";($_)= \$$=~/\((.)/;$|=++$_;$_++;$|++;$~="$~ $@$:";`$~$/$\$*$, $|>&$_`