Re: I'd like to be able to recieve mail, but not send it out (re: sendmail)
Michael Schwager <[email protected]> Mon, 13 Jan 2003 16:18:48 -0600
| Newsgroups | gmane.linux.redhat.release.guinness |
|---|---|
| Message-ID | <26211219.1042474728@[192.168.100.250]> |
Not only did this take six months to get here :), but if you look at the
headers it also came from a ca.gov server...? Funny... well, anyway,
I take it you mean you only want to accept incoming mail.
There are many ways to do this. One way is with the mailertable. At the
beginning of your sendmail.cf file you should have a line like
Kmailertable hash /usr/local/sendmail/databases/mailertable.db
In your mailertable you can have something like:
.mydomain.com esmtp:relayhost.com
Then somewhere in the Parse1 ruleset, you'll have a line that calls it.
After that line, you can put a line that rejects all email:
R< $+ > $* $#error
Another thing you can do is enable check_rcpt ruleset, and disable mail
rcpt from any internal domain machine, via the access database. The
sendmail documentation will have more information about this.
I'm just guessing about your requirements, though. I didn't fully
understand the question.
--On Tuesday, July 16, 2002 10:37 PM -0700 Joel Thompson
<[email protected]> wrote:
> Any help with this? Thanks,
> Joel
>
> Joel Thompson wrote:
>
>> I only want smtp capabilities to recieve mail for my RH 7.3 and 8.0
>> boxes.
>>
>> Can someone recommend a good configuration for
>> this or how to accomplish this through sendmail (or
>> should I be looking at a different program?)
--
-Mike Schwager "btw the people who make open source software
[email protected] generally don't have much sympathy for users"
(Dave Winer)