Date: Sun, 22 Oct 2000 21:23:51 -0600 From: "Chris Mutchler" <davron@leibnizceations.com> To: <kyle@midnighttech.com> Cc: "general fbsd" <freebsd-questions@freebsd.org> Subject: RE: Setting up sendmail Message-ID: <NEBBKIKNOMMBBONCLKIOEEEGCAAA.davron@leibnizceations.com> In-Reply-To: <HNEOICPOEIFPGGNHHJAAMEDJCCAA.kyle@midnighttech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
If you don't have the following ruleset in your sendmail.cf file, I suggest adding it. It will prevent spammers from being able to use your server as a relay: ##################################### # Rulset 3 - Find address portion # ##################################### S3 R$@ $@ <@> Null address special R$*<>$* $@ <@> Null address special R$*<$+>$* $2 Get address portion #Uncomment the following lines to support fancy routing (with :,%) #R@$+,$+ $@$>93<@$1>,$2 Routes with ','... #R@$+:$+ $@$>93<@$1>:$2 ...or with ':' #R$+@$+@$+ $1%$2@$3 All but right @ to %... #R$+@$+ $@$>93$1<@$2> ...then accept @ addresses #R$+%$+ $1@$2 Convert all % to @... #R$+@$+@$+ $1%$2@$3 ...all but right @ back to %... R$+@$+ $@$>93$1<@$2> ...accept new @ addresses This will prevent spammers from being able to use the &,%, and other various symbols they use to inflitrate sendmail servers. Chris Mutchler Systems Administrator davron@leibnizcreations.com -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of W. Kyle Unice Sent: Saturday, October 21, 2000 10:34 PM To: freebsd-questions@FreeBSD.ORG Subject: Setting up sendmail I am setting up sendmail and have a gateway to the internet running natd, ipfw, dhcpd, and named. When I sendmail from my internal clients I get "Relaying denied". I add the destination domain to the sendmail.cw file and do a Kill -INT, and then I can send to that domain. But I don't want to have to setup a list for every possible domain. Is there a way to allow mail relaying if the from field is a valid IP address on our internal net or if the sender is a registered user? Thanks in advance, Kyle W. Kyle Unice To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBKIKNOMMBBONCLKIOEEEGCAAA.davron>