Re: Cant send email using mail but it works telnetting...



2007/9/29, Christer Hermansson <mail@xxxxxxxxxxxxxxxx>:

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@xxxxxxxxxxxxxxxxxxxxxxxxxx>
MDeferred: Connection refused by himalaya.free-shells.com.ar.
rRFC822; root@xxxxxxxxxxxxxxxxxxxxxxxxxxx
RPFD:<root@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxxxxxxx>; Fri, 28 Sep 2007 19:39:38
-0300 (ART)
(envelope-from brahama@xxxxxxxxxxxxxxxxxxxxxxxxxxx)
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@xxxxxxxxxxxxxxxxxxxxxxxxxx>
H??Message-Id: <200709282239.l8SMdc3P021778@xxxxxxxxxxxxxxxxxxxxxxxxxx>
H??To: root@xxxxxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx 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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • MTU PPP
    ... I would like to set the MTU of my ppp0 above 1500. ... sendmail ... Smart relay host in sendmail ... # checkpoint queue runs after every N successful deliveries ...
    (RedHat)
  • Re: Sending many e-mails
    ... what you are wanting to do is a fair bit out side of the scope of normal mailing list management software. ... a process of sendmail for each mail sent, but I don't see any way to avoid that method when using sendmail. ... will be far better off streaming the messages from your program that generates the individual messages in to Sendmail and have it queue the messages and let its queue scheduling empty the queue for you. ...
    (comp.mail.sendmail)
  • Re: connection timeout variable name?
    ... force a limit to how long sendmail waits when processing ... long time trying to send messages on the outbound queue, ... because of waiting for this eventual timeout. ... I've not changed the DNS setup recently. ...
    (comp.mail.sendmail)
  • Re: best ways for mass mailing
    ... Mailing has two phases: queueing and delivering. ... MTA queue and tell it to deliver it later on the next queue run. ... call the sendmail program directly to do the same thing without TCP ...
    (comp.lang.php)
  • Re: Another Queue Question
    ... days with their Linux Sendmail server. ... The server is used for inbound email only and its directed to either ... The version of Sendmail is 3.0.6, this was a corporate image so I'm ... If queue is processed without porblems than start a few more ...
    (comp.mail.sendmail)