From owner-freebsd-questions@FreeBSD.ORG Sat Sep 29 15:22:35 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 B254F16A41A for ; Sat, 29 Sep 2007 15:22:35 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 6753E13C461 for ; Sat, 29 Sep 2007 15:22:35 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so6094980pyb for ; Sat, 29 Sep 2007 08:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=CUHyhdDCWwHc9HdfHURNHJU72hEMP3HhDBLbzhMxFdI=; b=aDzU0Fo0LT01y+2fIvDVVASvMbH8eSkThvJRqCmr63W1Tkp4Zop4/tOGQtk8s+ychvKuTWA7+A6O+IckQ+qCBnK4/K3ESpmFFmnlCYLdgiaidXcBUyvJaBvtJUIJHH1bGzv8d+URI1wO0vB0upE9hBIqPTL6FcuTvcd1sQCCVoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dGFD/y/62hMy0XCPMOiRyKU+v2nCHL0dhBbLPePOqLcSUMzXP4gENJBlrr8N685/awldULLDQJNW7xrlMxekHPYP2lGNZ7+5WgOvnooc8UFH4oh/xIqP1dfFcXfNIyail6B9A5FLVul8Se060xSpW5YahYrnFn7G416m/VpeDYY= Received: by 10.35.82.16 with SMTP id j16mr5124211pyl.1191079353870; Sat, 29 Sep 2007 08:22:33 -0700 (PDT) Received: by 10.35.105.8 with HTTP; Sat, 29 Sep 2007 08:22:33 -0700 (PDT) Message-ID: Date: Sat, 29 Sep 2007 12:22:33 -0300 From: Agus To: "Christer Hermansson" In-Reply-To: <46FE2516.5030908@chdevelopment.se> MIME-Version: 1.0 References: <46FE2516.5030908@chdevelopment.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 15:22:35 -0000 2007/9/29, Christer Hermansson : > > 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 > > > > Hi Christer, Thanks for the reply....exactly that...i want the mail to be delivered to root@localhost....but is i say...i got it stucked in the queue deferred.... I didn't touch the sendmail conf..as far as i remember..also i dont know much about sendmail conf so it would be difficult that i had modified it...I'll check though.... thanks...and have a nice weekend all