Date: Sat, 23 Feb 2002 18:49:05 -0800 From: Gregory Neil Shapiro <gshapiro@freebsd.org> To: freebsd-stable@freebsd.org Subject: HEADS UP: Default sendmail configuration change Message-ID: <15480.21665.683015.224071@horsey.gshapiro.net>
next in thread | raw e-mail | index | archive | help
The default sendmail configuration, src/etc/sendmail/freebsd.mc which gets installed as /etc/mail/freebsd.mc, no longer includes FEATURE(`relay_based_on_MX') by default. You can read more about that feature in /usr/share/sendmail/cf/README. If you believe you need this functionality, do one of two things: 1. Reconsider enabling it as it allows any site to use your host as an MX server without your approval. Instead, list the domains you actually want to provide MX service for in your access database (/etc/mail/access). For example: # I provide secondary MX for... To:example.org RELAY After editing /etc/mail/access, don't forget to run 'make' in the /etc/mail/ directory so the database will be rebuilt. 2. If you really must use FEATURE(`relay_based_on_MX'), then you can make a custom configuration for your host. cd /etc/mail make (will create `hostname`.mc if it doesn't exist) vi `hostname`.mc (enable the feature) make (will build `hostname`.cf) make install (will install `hostname`.cf as sendmail.cf) make restart (will restart the sendmail daemon with the new .cf) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15480.21665.683015.224071>