From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 16:44:46 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 7A5BC16A4CE for ; Sun, 27 Feb 2005 16:44:46 +0000 (GMT) Received: from imf16aec.mail.bellsouth.net (imf16aec.mail.bellsouth.net [205.152.59.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE7AF43D53 for ; Sun, 27 Feb 2005 16:44:45 +0000 (GMT) (envelope-from ken@rosewoodblues.com) Received: from [192.168.1.4] ([68.211.2.93]) by imf16aec.mail.bellsouth.net ESMTP <20050227164444.PIVR1997.imf16aec.mail.bellsouth.net@[192.168.1.4]>; Sun, 27 Feb 2005 11:44:44 -0500 In-Reply-To: <20050225161127.GB55686@orion.daedalusnetworks.priv> References: <20050225161127.GB55686@orion.daedalusnetworks.priv> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Ken Hawkins Date: Sun, 27 Feb 2005 11:44:37 -0500 To: Giorgos Keramidas X-Mailer: Apple Mail (2.619.2) cc: freebsd-questions@freebsd.org Subject: Re: complete rookie sendmail question 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, 27 Feb 2005 16:44:46 -0000 Found out it was a firewall issue and that is open now. though my problem has gone from connection refused to: Feb 27 08:22:04 web1 sendmail[85505]: j1MIj4DI065443: <...> delay=4+19:37:00, xdelay=00:00:00, mailer=esmtp, pri=22920813, relay=bhost1.broadjam.net., dsn=4.0.0, stat=Deferred: Operation timed out with bhost1.broadjam.net. is there a timeout that I can set in sendmail to set a longer wait time on this? my flags in my rc.conf are: sendmail_enable="YES" sendmail_flags="-bd -q30m" # -bd is pretty mandatory. I am in a bit of a panic because my mail queue is starting to fill up and I need to get these messages out.... thanks, ken; On Feb 25, 2005, at 11:11 AM, Giorgos Keramidas wrote: > On 2005-02-25 11:03, Ken Hawkins wrote: >> first.... thank you all for the invaluable amount of info and >> resorses that flow through this mail list.. I hope to one day >> contribute more than I take away. >> >> that said This is what is happening. I have a webserver >> 'web1.foo.com' that is not the mailserver for foo.com (that is >> mail.foo.com). /var/log/maillog has errors like: >> >> Feb 25 07:34:09 web1 sm-mta[98913]: j1PDTdTd098790: >> to=, ctladdr= (1002/1002), >> delay=00:04:30, xdelay=00:00:00, mailer=esmtp, pri=120427, >> relay=mail.foo.com. [64.73.41.34], dsn=4.0.0, >> stat=Deferred: Connection refused by mail.foo.com. > > Is mail.foo.com running an MTA? > > Does the setup of the MTA, the firewall, whatever else runs on > mail.foo.com allow connections from your web1.foo.com host? > >> how can i configure sendmail for send out mail as foo.com and NOT >> web1.foo.com? is this possible? > > This is probably a job of the MTA running on mail.foo.com, which > should probably have the option: > > MASQUERADE_AS(`foo.com') > MASQUERADE_DOMAIN(`foo.com') > > If it doesn't already, that is. Handling the masquerading of outgoing > email in one central place (the MTA setup of mail.foo.com) is much > preferable, since you only have to update ONE place whenever you feel > like changing the MASQUERADE_AS option. > > - Giorgos > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >