Re: I'd like to be able to recieve mail, but not send it out (re: sendmail)
Joel Thompson <[email protected]> Mon, 13 Jan 2003 17:07:14 -0800
| Newsgroups | gmane.linux.redhat.release.guinness |
|---|---|
| Message-ID | <[email protected]> |
Michael Schwager wrote: > 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, My desktop computer time was messed up (it came back from repairs)- I fixed it. > > I take it you mean you only want to accept incoming mail. Yep. > > > 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 What does this mean to have an entry in this table? What is a relayhost (is it my backbone provider's smtp server) ? If my machine (say x.com, is hosting mail for y.com & z.com), what would be the entries here? Would it be: .x.com esmtp:smtp.earthinlink.com .y.com esmtp:smtp.earthinlink.com .z.com esmtp:smtp.earthinlink.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 Do I simply put this line anywhere after: # # Parse1 -- the bottom half of ruleset 0. # SParse1 > > 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. After looking the sendmail.cf, this doesn't seem to be a trivial item, there are a dozen or so rules that look completely incomprehensible to edit. > > I'm just guessing about your requirements, though. I didn't fully > understand the question. The concept is really simple: no mail goes out of this machine, except via POP3 - mail never originates from it. Isn't there a preprocessor variable that can be adjusted, instead of editing the sendmail.cf directly? Are there other smtp type programs that simply receive mail and never forward, relay or allow sending of anykind? Thanks again for your help. I appreciate it. -Joel > > --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) > > > > _______________________________________________ > Guinness-list mailing list > [email protected] > https://listman.redhat.com/mailman/listinfo/guinness-list >