From owner-freebsd-questions Fri Aug 10 9:34:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from camel.kdsi.net (camel.kdsi.net [206.103.113.218]) by hub.freebsd.org (Postfix) with ESMTP id D6DFF37B403 for ; Fri, 10 Aug 2001 09:34:34 -0700 (PDT) (envelope-from tony@camel.kdsi.net) Received: from camel.kdsi.net (leepcC-179.sub-c.lee.net [208.205.126.179]) (authenticated (0 bits)) by camel.kdsi.net (8.12.0.Beta10/8.12.0.Beta10) with ESMTP id f7AGwYSW071802; Fri, 10 Aug 2001 11:58:35 -0500 (CDT) Message-ID: <3B740D03.4E5F48D8@camel.kdsi.net> Date: Fri, 10 Aug 2001 11:34:11 -0500 From: Tony Wells X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Ryan Dewalt Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail Question? References: <3.0.3.32.20010810112153.01b5b0a8@mail.meridianksi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry, I was a little to quick on the "Send" button... :( Ryan Dewalt wrote: > > I have a minor problem under sendmail 8.11.2 on one of my machines. > > I've replaced a faulty mail server with a FreeBSD 4.2-Stable machine. All > has gone well for a month, with one exception. Users taking their laptops > home, can't send mail to Not-Our-Domain users, but can send just fine to > Domain users. (Can send to bob@ourdomain.com but not bob@foobar.com) > > From information on sendmail.org on allowing controled smtp relaying, I'm > attempting to add FEATURE(relay_local_from). > > I've added the line to the bottom of the generic-bsd4.4.mc and ran make > successfully on the file, generating the .cf > > I've replaced the current sendmail.cf with the new sendmail.cf (making a > backup of course) and I'm getting unusual behavior, perhaps someone can > shed a light, or at least point to more information? sendmail.org doesn't > seem to have a solution. > > What happens: > > (pre FEATURE) > domain users can send mail as normal. > > Not in the domain domain users (going through a dialup ISP at home for > example)can't send mail as domain users to non-domain users( 550, Relaying > denied ) but can send just fine to domain users. > Yes, this is what should happen. Relaying is denied by default. Try this: Use your original sendmail.cf file. Create the file /etc/mail/relay-domains if it doesn't exist, and list the domains you wish to allow relaying from. Restart or kill -HUP sendmail. Realize that anyone in a domain you list in relay-domains will be able to use your box as a mail relay, possibly to send spam. If you're feeling particularly adventurous, there are more secure authentication facilities in sendmail, but to do that requires reading a bunch of obscure docs, re-compiling sendmail, re-compiling your sendmail.cf etc... but it *can* be done. > (post FEATURE) > Not in the domain users can send mail as normal > > domain users -appear- to send mail as normal, but the mail does not arrive. > > ----- > The only file that has changed is the sendmail.cf, it does find all the > previous sendmail.cw and so forth files just fine. No lines appear in > syslog or messages or maillog to give reason as to what is wrong. > > Does anyone have any suggestions as to what to look for, or where I could > perhaps go for more information? Usenet articles from dejanews have > pointed me to the same FEATURE as sendmail.org, but as far as my searchings > have said, nothing points as to what is going wrong. > > -Thank you. > Ryan > > 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