From owner-freebsd-questions Sat Nov 11 17:52:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 8BAA437B479 for ; Sat, 11 Nov 2000 17:52:23 -0800 (PST) Received: from hades.hell.gr (patr530-b074.otenet.gr [195.167.121.202]) by athserv.otenet.gr (8.10.1/8.10.1) with ESMTP id eAC1pTd26479; Sun, 12 Nov 2000 03:51:30 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.1/8.11.1) id eABEDNq06928; Sat, 11 Nov 2000 16:13:23 +0200 (EET) Date: Sat, 11 Nov 2000 16:13:23 +0200 From: Giorgos Keramidas To: "Leonard W. Gold" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Outgoing mail security Message-ID: <20001111161323.A6799@hades.hell.gr> References: <01C04B15.C5929BD0.lengold@play.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from matt@researcher.com on Fri, Nov 10, 2000 at 10:05:45PM -0400 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 10, 2000 at 10:05:45PM -0400, Matt Rudderham wrote: > >Hi, > >Thanks for getting back to me. I looked for the access file and couldn't > >find it there. I am using FreeBSD 3.1. At that location it has > >sendmail.cf.additions & relay-domains. Hope your familiar with this one. > >Thanks again. > >LG > > Hi Leonard, > Unfortunately my experience doesn't go back to 3.1. The main difference in 3.1 (if I reall this correctly) is that sendmail.cf and aliases are in /etc and not /etc/mail. But this also depends on which version of sendmail you're running, because it changed in 8.10.x I think. In my 8.11.1 installation, I can see this: hades-root:/root# strings `which sendmail` | grep sendmail.cf sendmail.cf /etc/mail/sendmail.cf hades-root:/root# About relaying now. Sendmail after 8.9.3 is set up to deny relaying by default, and you have to explicitly allow which IP's or domains will be relayed in /etc/mail/access. For more information on the syntax of access try reading /usr/src/contrib/sendmail/cf/README, but a small example looks like: % cat /etc/mail/access bug.gr RELAY labs.gr RELAY hotmail.com REJECT You get the idea, I think :-) After you edit /etc/mail/access properly do not forget to makemap it: # cd /etc/mail # makemap hash access < access Ciao. - giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message