Date: Fri, 10 Aug 2001 11:34:11 -0500 From: Tony Wells <tony@camel.kdsi.net> To: Ryan Dewalt <rdewalt@meridianksi.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail Question? Message-ID: <3B740D03.4E5F48D8@camel.kdsi.net> References: <3.0.3.32.20010810112153.01b5b0a8@mail.meridianksi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B740D03.4E5F48D8>