Date: Sat, 26 Jun 1999 18:47:55 -0400 From: "Norman C. Rice" <nrice@emu.sourcee.com> To: Chuck Robey <chuckr@picnic.mat.net> Cc: FreeBSD-ISP <FreeBSD-isp@FreeBSD.ORG> Subject: Re: sendmail relaying Message-ID: <19990626184754.A26099@emu.sourcee.com> In-Reply-To: <Pine.BSF.4.10.9906261651010.53344-100000@picnic.mat.net>; from Chuck Robey on Sat, Jun 26, 1999 at 04:54:50PM -0400 References: <19990626161247.A18733@emu.sourcee.com> <Pine.BSF.4.10.9906261651010.53344-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 26, 1999 at 04:54:50PM -0400, Chuck Robey wrote: > On Sat, 26 Jun 1999, Norman C. Rice wrote: > > > The standard configuration file, /usr/src/sendmail/freebsd.mc, has > > > > FEATURE(relay_based_on_MX)dnl > > > > which allows relaying as follows (from sendmail's cf/README): > > > > relay_based_on_MX > > Turns on the ability to allow relaying based on the MX > > records of the host portion of an incoming recipient. See > > description below for more information before using this > > feature. > > ... > > > > You can also allow relaying based on the MX records of the host > > portion of an incoming recipient address by using > > > > FEATURE(relay_based_on_MX) > > > > For example, if your server receives a recipient of user@domain.com > > and domain.com lists your server in its MX records, the mail will be > > accepted. Note that this will stop spammers from using your host to > > relay spam but it will not stop outsiders from using your server as a > > relay for their site. > > I simply stopped all relaying whatsoever, I'm behind a slow modem and to > use me is pretty ridiculous unless you're up to something shady. > > I thank all you guys who showed me what to do! Could I press one step > further, and ask how I get procmail wired in, so that I can use > automated filtering based upon some net database like the realtime > blackhole list? I use Pine as my MTA, and I don't want to change that, > but I'm not sure how to shoehorn procmail into that. I am a bit confused because I thought you were using sendmail as your MTA. If your question is how to use procmail as your local delivery agent (MDA), then just add the following to the m4 configuration file (freebsd.mc or your customized one). FEATURE(local_procmail)dnl Add your system wide recipes to /usr/local/etc/procmailrc. Sendmail will use the RBL if you remove the leading `dnl' from the dnl FEATURE(rbl)dnl line in /usr/src/sendmail/freebsd.mc. -- Regards, Norman C. Rice, Jr. > > ----------------------------+----------------------------------------------- > Chuck Robey | Interests include any kind of voice or data > chuckr@picnic.mat.net | communications topic, C programming, and Unix. > 213 Lakeside Drive Apt T-1 | > Greenbelt, MD 20770 | I run picnic and jaunt, both FreeBSD-current. > (301) 220-2114 | > ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990626184754.A26099>