From owner-freebsd-questions@FreeBSD.ORG Sun May 15 16:23:15 2005 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 928D216A4CE for ; Sun, 15 May 2005 16:23:15 +0000 (GMT) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BCA443DAB for ; Sun, 15 May 2005 16:23:15 +0000 (GMT) (envelope-from parachute@optonline.net) Received: from [192.168.3.100] ([151.205.103.123])0.04 <0IGJ004KXHIOXYH6@vms044.mailsrvcs.net> for freebsd-questions@freebsd.org; Sun, 15 May 2005 11:23:13 -0500 (CDT) Date: Sun, 15 May 2005 12:23:11 -0400 From: "parachute@optonline.net" In-reply-to: <1116139844.9131.7.camel@lmail.bathnetworks.co.uk> To: Robert Slade Message-id: <4501563E-5264-4CAC-B5EB-4A6B75B45300@optonline.net> MIME-version: 1.0 (Apple Message framework v728) X-Mailer: Apple Mail (2.728) Content-type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-transfer-encoding: 7bit References: <1116139844.9131.7.camel@lmail.bathnetworks.co.uk> cc: freebsd-questions@freebsd.org Subject: Re: daily log reports 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, 15 May 2005 16:23:15 -0000 That is not my IP address or what is assigned, i was just using it for simplicity... How can I change the address it sends mail to? I rather change it to root@localhost instead or root@domain.tld. I can probably do that by changing /etc/aliases but it's strange since I didn't need to do this in 5.3 On May 15, 2005, at 2:50 AM, Robert Slade wrote: > On Sun, 2005-05-15 at 07:03, parachute@optonline.net wrote: > >> On 5.3 everything was working fine, I would be emailed daily/weekly/ >> monthly log reports. But now after upgrading to 5.4 I am seeing all >> those log report emails being queued up in postfix. >> >> The problem is it is trying to connect to the wrong IP... >> the machines default IP is 1.1.1.1 (for simplicity) which is >> hot.domain.tld and ip alias on the machine is 1.1.1.2 which is my >> mail.domain.tld >> According to maillog it keeps trying to connect to 1.1.1.1 to deliver >> to root@host.domain.tld and it gets refused... >> > > You should not use IP addresses that or allocated or reserved for > other > purposes. Use one of the addresses reserved for private networks. eg > 192.168.0.1 or 10.0.0.1. > > >> >> Back on 5.3 it never did this... it sent mail properly, I think by >> using the localhost address... >> >> I don't think this is a postfix problem but probably something >> changed on how daily log reports are sent/handled? Anyone have any >> idea on where to start? >> > > The default for the mail is root@host.domain.tld. Did you have an > alias > setup to send it to whatever addresses you want the log reports > sent to? > > Rob > >