From owner-freebsd-questions@FreeBSD.ORG Sat Sep 29 10:12:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6EBF16A417 for ; Sat, 29 Sep 2007 10:12:40 +0000 (UTC) (envelope-from mail@chdevelopment.se) Received: from av8-2-sn3.vrr.skanova.net (av8-2-sn3.vrr.skanova.net [81.228.9.184]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA6913C458 for ; Sat, 29 Sep 2007 10:12:40 +0000 (UTC) (envelope-from mail@chdevelopment.se) Received: by av8-2-sn3.vrr.skanova.net (Postfix, from userid 502) id D254138324; Sat, 29 Sep 2007 12:12:38 +0200 (CEST) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av8-2-sn3.vrr.skanova.net (Postfix) with ESMTP id BD5D5382C7; Sat, 29 Sep 2007 12:12:38 +0200 (CEST) Received: from melissa.chdevelopment.se (90-227-26-163-no68.tbcn.telia.com [90.227.26.163]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 7BAD337E45; Sat, 29 Sep 2007 12:12:38 +0200 (CEST) Message-ID: <46FE2516.5030908@chdevelopment.se> Date: Sat, 29 Sep 2007 12:12:38 +0200 From: Christer Hermansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.6) Gecko/20070811 SeaMonkey/1.1.4 MIME-Version: 1.0 To: Agus References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Cant send email using mail but it works telnetting... 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: Sat, 29 Sep 2007 10:12:40 -0000 Agus wrote: > Hi list... > > I gound a problem while trying to send an email with a script using mail -s > "Subject" user@localhost > Then i entered the data...finished with . but it gets stuck in the queue > with this... > > V8 > T1191019178 > K1191020151 > N2 > P120418 > I0/80/47582 > MDeferred: Connection refused by himalaya.free-shells.com.ar. > Fbs > $_localhost [127.0.0.1] > $rESMTP > $severest.free-shells.com.ar > ${daemon_flags} > ${if_addr}127.0.0.1 > S > MDeferred: Connection refused by himalaya.free-shells.com.ar. > rRFC822; root@himalaya.free-shells.com.ar > RPFD: > H?P?Return-Path: <<81>g> > H??Received: from everest.free-shells.com.ar (localhost [127.0.0.1]) > by everest.free-shells.com.ar (8.13.6/8.13.6) with ESMTP id > l8SMdc7L021779 > for ; Fri, 28 Sep 2007 19:39:38 > -0300 (ART) > (envelope-from brahama@himalaya.free-shells.com.ar) > H??Received: (from root@localhost) > by everest.free-shells.com.ar (8.13.6/8.13.6/Submit) id > l8SMdc3P021778 > for root@localhost; Fri, 28 Sep 2007 19:39:38 -0300 (ART) > (envelope-from brahama) > H??Date: Fri, 28 Sep 2007 19:39:38 -0300 (ART) > H??From: User Brahama > H??Message-Id: <200709282239.l8SMdc3P021778@everest.free-shells.com.ar> > H??To: root@everest.free-shells.com.ar > H??Subject: subjet > . > > > > My hostname is everest....my firewall/router name is himalaya.... > > I think the problem is that is trying to resolve to > himalaya.free-shells.com.ar which is the FQDN in my NS.... > could it be that? how can i bypass local mail to go directly to localhost > sendmail...? > > Thanks... > > PS: While telneting localhost 25 and sending it manually works.... > You want the mail to be delivered to the file /var/mail/username ? I just typed at my machine (running freebsd and sendmail) mail -s "Testing" cat@localhost hello . and the mail got delivered to the file /var/mail/cat How is your sendmail configuration, I guess you have done some changes and not using the default ? -- Christer Hermansson