LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-15-2010, 06:19 AM   #1
masimiqbal
LQ Newbie
 
Registered: May 2009
Posts: 14

Rep: Reputation: 0
stat=Deferred: Connection refused by [127.0.0.1]


Hello

I am using localhost for only send the email, its send mail outside domain like my gmail or yahoo accunt. but its not send my domain user account. the error comes when i see the logs is

stat=Deferred: Connection refused by [127.0.0.1]

what i take necessary steps. please help.
 
Old 02-15-2010, 06:46 AM   #2
ggarron
LQ Newbie
 
Registered: Nov 2007
Location: Bolivia
Distribution: Arch Linux
Posts: 11
Blog Entries: 1

Rep: Reputation: 2
Quote:
Originally Posted by masimiqbal View Post
Hello

I am using localhost for only send the email, its send mail outside domain like my gmail or yahoo accunt. but its not send my domain user account. the error comes when i see the logs is

stat=Deferred: Connection refused by [127.0.0.1]

what i take necessary steps. please help.
Hi,
Please give us some more info,
1. Sendmail/postfix .. any other?
2. all mails are giving you this error? or only to certain addresses?

And let me know please if I have understood this.

you are sending you email (with your email client) to your localhost, and it will connect to yahoo or gmail and using your login/pass in those networks send the mail to the outside world using them as relays?

is this right?
regards,

Guillermo.
http://www.go2linux.org
 
Old 02-15-2010, 08:12 AM   #3
masimiqbal
LQ Newbie
 
Registered: May 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ggarron View Post
Hi,
Please give us some more info,
1. Sendmail/postfix .. any other?

2. All mails are giving you this error? or only to certain addresses?


And let me know please if I have understood this.

you are sending you email (with your email client) to your localhost, and it will connect to yahoo or gmail and using your login/pass in those networks send the mail to the outside world using them as relays?


is this right?
regards,

Guillermo.
http://www.go2linux.org
I am using Sendmail MTA.

Yes all mails giving this error whichever the domain(mydomain, gmail or yahoo). Now it have the problem with gmail or yahoo account. but its run one time i don't know how.


Yes you are right.
The logs are

Feb 15 19:08:43 te420 sendmail[4744]: o1FE8heM004744: to=asim.iqbal@digitania.com.pk, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30049, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

Feb 15 19:09:09 te420 sendmail[4750]: o1FE99Xg004750: to=masimiqbal@gmail.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30041, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]


Regards
Asim

Last edited by masimiqbal; 02-15-2010 at 08:15 AM.
 
Old 02-15-2010, 08:39 AM   #4
masimiqbal
LQ Newbie
 
Registered: May 2009
Posts: 14

Original Poster
Rep: Reputation: 0
One more error is coming now. User unknown

Feb 15 19:37:18 te420 sendmail[5277]: o1FEbI4D005277: from=<root@digitania.com.pk>, size=340, class=0, nrcpts=1, msgid=<201002151437.o1FEbI2O005276@digitania.com.pk>, proto=ESMTP, daemon=MTA, relay=digitania.com.pk [127.0.0.1]
Feb 15 19:37:18 te420 sendmail[5276]: o1FEbI2O005276: to=asim.iqbal@digitania.com.pk, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30048, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o1FEbI4D005277 Message accepted for delivery)
Feb 15 19:37:18 te420 sendmail[5278]: o1FEbI4D005277: to=asim.iqbal@digitania.com.pk, ctladdr=<asim.iqbal@digitania.com.pk> (8/0), delay=00:00:00, mailer=local, pri=120340, dsn=5.1.1, stat=User unknown
Feb 15 19:37:18 te420 sendmail[5278]: o1FEbI4D005277: to=<asim.iqbal@digitania.com.pk>, delay=00:00:00, mailer=local, pri=120340, dsn=5.1.1, stat=User unknown
Feb 15 19:37:18 te420 sendmail[5278]: o1FEbI4D005277: o1FEbI4D005278: DSN: User unknown
Feb 15 19:37:19 te420 sendmail[5278]: o1FEbI4D005278: to=<root@digitania.com.pk>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=31587, dsn=2.0.0, stat=Sent
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail: getting stat=Deferred: Connection timed out with server - any help? samengr Linux - Server 4 11-11-2009 01:00 PM
Sendmail : relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refuse macadam Linux - Software 0 09-23-2007 02:44 PM
mailer=relay, pri=30008, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Con pralhad Linux - Software 1 08-11-2007 10:49 AM
sendmail: stat=Deferred: Connection timed out with email.mydomain.com intranet_man Linux - Software 1 07-19-2005 11:04 AM
Pine: Deferred: Connection refused .... katana Linux - General 4 08-09-2001 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration