Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2001 11:20:10 -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:  <3B7409BA.32BA0B7E@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

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)
> 

Yes, this is what should happen, sendmail denies relaying by default.

> From information on sendmail.org on allowing controled smtp relaying, I'm
> attempting to add FEATURE(relay_local_from).

With the default sendmail.cf file you should be able to create a file
called relay-domains in /etc/mail listing the domains you wish to allow
relaying.  (That file might already be there, but just empty.)

> 
> 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.
> 
> (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?3B7409BA.32BA0B7E>