From owner-freebsd-questions@FreeBSD.ORG Sun Jan 11 08:52:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94FE516A4CE for ; Sun, 11 Jan 2004 08:52:46 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6FAE43D46 for ; Sun, 11 Jan 2004 08:52:43 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i0BGqdfn013212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Jan 2004 16:52:39 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0BGqc71013211; Sun, 11 Jan 2004 16:52:38 GMT (envelope-from matthew) Date: Sun, 11 Jan 2004 16:52:38 +0000 From: Matthew Seaman To: "mgmcomm @hotmail.com" Message-ID: <20040111165238.GB12774@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "mgmcomm @hotmail.com" , questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: questions@freebsd.org Subject: Re: sendmail aliases not worked as expected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 16:52:46 -0000 --K8nIJk4ghYZn606h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 11, 2004 at 03:50:03PM +0000, mgmcomm @hotmail.com wrote: > When a cron or periodic task creates an email to say root...it gets maile= d=20 > to root@host.domain.com instead of root@domain.com. Which results in an= =20 > error message That's by design, believe it or not. 'root' is a member of class E -- Exposed Users -- whoese e-mail addresses won't be rewritten by genericstable processing or the like. =20 > Jan 7 03:03:01 butters sm-mta[1511]: i07331me001498: SYSERR(root):=20 > butters.kibserv.org. config error: mail loops back to me (MX problem?) On your mail host, you need to add the names of all of the hosts you provide mail service for to the /etc/mail/local-host-names file, one per line. > ;; ANSWER SECTION: > kibserv.org. 1H IN MX 10 mail.kibserv.org. > ;; ANSWER SECTION: > mail.kibserv.org. 1H IN CNAME stan.kibserv.org. > stan.kibserv.org. 1H IN A 10.0.0.8 Not relevant to your current problem, but you've got your MX pointed to a CNAME. That's bad karma and not permitted by the DNS standards. You should make mail.kibserv.org into an A record like so: mail.kibserv.org. 1H IN A 10.0.0.8 stan.kibserv.org. 1H IN A 10.0.0.8 and similarly, provide PTR records for both names: $ORIGIN 0.0.10.in-addr.arpa. 8 1H IN PTR mail.kibserv.org. PTR stan.kibserv.org. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --K8nIJk4ghYZn606h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAAX9WdtESqEQa7a0RAs5WAJ9G96WmJDdaAgBWoTdzjcw4UnGK9wCfeFSJ EL72c24VxUak+j8/itxWKQ8= =Hgps -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h--