From owner-freebsd-questions Fri Dec 22 13:39:18 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 22 13:39:16 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 1DD2437B400 for ; Fri, 22 Dec 2000 13:39:14 -0800 (PST) Received: (from jonc@localhost) by itouch.co.nz (8.11.1/8.11.1) id eBMLdAu08482; Sat, 23 Dec 2000 10:39:10 +1300 (NZDT) (envelope-from jonc) Date: Sat, 23 Dec 2000 10:39:09 +1300 From: Jonathan Chen To: Jason Halbert Cc: questions@FreeBSD.ORG Subject: Re: Mail Servers Message-ID: <20001223103909.A8412@itouchnz.itouch> References: <02ab01c06c30$90da4eb0$17622104@next> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <02ab01c06c30$90da4eb0$17622104@next>; from res02jw5@gte.net on Fri, Dec 22, 2000 at 04:02:16PM -0000 Sender: jonc@itouch.co.nz Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Dec 22, 2000 at 04:02:16PM -0000, Jason Halbert wrote: > Okay.. I feel stupid.. > > I'm trying to setup POP and SMTP internet mail servers on my box. I > have a domain (jason-n3xt.org). On my box I have popper set to run > for POP and sendmail for SMTP. > > On my laptop I can setup Outlook Express for my POP server and it > connects and checks mail fine. > > I can't seem to figure out how to setup sendmail to work for internet > mail. I think it has something to do with aliases, but I don't know. > Here is the error message from Outlook Express: > > The message could not be sent because one of the recipients was > rejected by the server. The rejected e-mail address was > 'res02jw5@gte.net'. Subject 'test', Account: 'jason-n3xt.org', Server: > 'jason-n3xt.org', Protocol: SMTP, Server Response: '550 5.7.1 > ... Relaying denied', Port: 25, Secure(SSL): No, > Server Error: 550, Error Number: 0x800CCC79 > > On the server I get: > > jason-n3xt sendmail[226]: eBMFVUt00226: ruleset=check_rcpt, arg1=< > res02jw5@gte.net >, relay=crtntx1-ar3-098-023.dsl.gtei.net > [4.33.98.23], reject=550 5.7.1 < res02jw5@gte.net>... Relaying denied > jason-n3xt sendmail[229]: eBMFVgt00229: SYSERR(root): hash map > "Alias0": missing map file /etc/mail/aliases.db: No such file or > directory The server is reporting two errors with your setup. 1. You don't have an aliases file. 2. You haven't relaying enabled for your local network. If you're using 4.1.1+, your aliases file lives in /etc/mail, along with the the `access' file. Your alias file needs to be updated, and then `newaliases' run to update the database. You need to read /usr/src/contrib/sendmail/cf/README for a general description of the access file. Generally you need to put in: 4.33.98.23 RELAY in the access file. You could possibly shorten it so that other machines on the subnet can relay email as well. Once you made your changes to the access file, you then run `make' in /etc/mail. Hope this helps. -- Jonathan Chen | To do is to be -- Nietzsche | To be is to do -- Sartre | Scooby do be do -- Scooby To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message