Re: I'd like to be able to recieve mail, but not send it out (re: sendmail)

Michael Schwager <[email protected]> Tue, 14 Jan 2003 17:57:09 -0600
Newsgroups gmane.linux.redhat.release.guinness
Message-ID <29388248.1042567029@[192.168.100.250]>
Joel,
This would require debugging and finding out what ruleset is doing the 
rejecting, why it's not delivering it locally, etc.

What is happening is that after the mail address [email protected] is 
going through all the rules, it still thinks it needs to send it somewhere 
via smtp.  So there is a configuration problem that needs to be addressed. 
The best way to do this is to get the sendmail book ("Sendmail" 2nd Edition 
by O'Reilly & Associates) and learn page 474, page 494, then debug with
-d21.1 as shown on pages 852 and 888.  Those pages are where I live, even 
after 5 years of Sendmail work.

Ooo... actually, 3rd edition is out now.  Appropriate chapters are:  28, 
Rules; 29, Rulesets, and 37, debugging with -d.  Not sure of those page 
numbers in that edition.

Also you might try posting to comp.mail.sendmail on Usenet.

--On Tuesday, January 14, 2003 1:03 AM -0800 Joel Thompson 
<[email protected]> wrote:

> I tried what you suggested, and I guess I am still not being clear enough:
>
> The server is a mail server for various domains. For discussion, let say
> it is a server for the domain: restaurants.com (even though it is not).
>
> Then when someone sends an email to [email protected] my sendmail
> should pick up the mail and put in /var/spool/mail/john (john being the
> unix account name, and as appropriately mapped from the
> /etc/mail/virtusertable).
>
> John should then be able to pickup his mail via POP3.
>
> Now this server should only recieve mail for domains that it knows about,
> and never send any mail to another machine (route,relay,no create
> new..etc).

--
-Mike Schwager               "btw the people who make open source software
 [email protected]         generally don't have much sympathy for users"
                                                            (Dave Winer)