From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 20:16:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D8E816A400 for ; Fri, 13 Jul 2007 20:16:10 +0000 (UTC) (envelope-from bbdl21548@blueyonder.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id 21DE613C478 for ; Fri, 13 Jul 2007 20:16:10 +0000 (UTC) (envelope-from bbdl21548@blueyonder.co.uk) Received: from [172.23.170.137] (helo=anti-virus01-08) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1I97pe-0002Nx-3E for freebsd-questions@freebsd.org; Fri, 13 Jul 2007 00:12:22 +0100 Received: from [82.37.197.203] (helo=atlantis) by asmtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1I97pd-0002re-A4 for freebsd-questions@freebsd.org; Fri, 13 Jul 2007 00:12:21 +0100 Message-ID: <001301c7c4da$15a332c0$0600010a@atlantis> From: "Jasvinder S. Bahra" To: Date: Fri, 13 Jul 2007 00:12:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: "Periodic" e-mails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 20:16:10 -0000 Hello everybody, Until recently, I was getting my "periodic" reports forwarded to my external e-mail box. I arranged this by adding the following line to the top of the /etc/aliases file and then running "newaliases"... root: <> However, I am no longer getting e-mail in my external mail account. I was playing around with the host settings at one point and I think that is the reason why i'm having the problem. I haven't had any success resolving the issue myself, and while I did google it, I couldn't find many options. I examined /var/log/maillog, and saw something unexpected... Jul 12 23:45:13 HOSTNAME sm-mta[580]: l6824ssQ008021: to=, delay=4+20:40:18, xdelay=00:00:00, mailer=esmtp, pri=21733613, relay=sirius.DOMAIN...DOMAIN.ORG., dsn=4.0.0, stat=Deferred: Connection refused by HOSTNAME.DOMAIN.ORG.DOMAIN.ORG. (Note, i've replaced references to my actual hostname and domain with HOSTNAME and DOMAIN.ORG respectively). For some reason, it is saying "Connection refused by HOSTNAME.DOMAIN.ORG.DOMAIN.ORG". I'm not sure wht e-mail cant be sent, but regardless, I would expect it to say "Connection refused by HOSTNAME.DOMAIN.ORG". Now, i've set the appropriate settings in /etc/hosts... 127.0.0.1 localhost.DOMAIN.ORG localhost <> HOSTNAME.DOMAIN.ORG HOSTNAME My /etc/host.conf file is set as follows... hosts dns My DNS server entries are defined /etc/resolv.conf nameserver <> nameserver <> nameserver <> I have the following settings of interest in /etc/rc.conf. Note that I do not receive any e-mail on this machine - sendmail is only used to, well, *send* mail.. hostname="HOSTNAME.DOMAIN.ORG" sendmail_enable="NO" I'm using FreeBSD v5.5 on this box... FreeBSD HOSTNAME.DOMAIN.ORG 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue May 23 14:58:27 UTC 2006 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Anyone have any ideas, or suggestions? Regards, Jazz