Date: Sat, 29 Sep 2007 12:12:38 +0200 From: Christer Hermansson <mail@chdevelopment.se> To: Agus <agus.262@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Cant send email using mail but it works telnetting... Message-ID: <46FE2516.5030908@chdevelopment.se> In-Reply-To: <fda61bb50709281622t22f480a5n755d8e16d3289892@mail.gmail.com> References: <fda61bb50709281622t22f480a5n755d8e16d3289892@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<brahama@everest.free-shells.com.ar> > MDeferred: Connection refused by himalaya.free-shells.com.ar. > rRFC822; root@himalaya.free-shells.com.ar > RPFD:<root@everest.free-shells.com.ar> > 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 <root@everest.free-shells.com.ar>; 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 <brahama@everest.free-shells.com.ar> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46FE2516.5030908>