Problem with sending emails..

omardadi

New member
Joined
Apr 12, 2010
Messages
8
Hi thanks for reading this.

Again: I am not good in english but i try my best.

I have huge problem with my SMTP server, i can received emails from all emails like hotmail.com, gmail.com and another endings like .is, .fm and all but when i try send email i get this:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]


------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from [127.0.0.1] (helo=[**.**.**.***])
by my.hostname.com with esmtpa (Exim 4.71)
(envelope-from <[email protected]>)
id 1O7J9A-0000i4-32
for [email protected]; Thu, 29 Apr 2010 02:06:36 +0000
Received: from **.**.**.***
(SquirrelMail authenticated user onix)
by **.**.**.*** with HTTP;
Thu, 29 Apr 2010 02:06:36 -0000
Message-ID: <bc30c283a7dbde773dcf430cfd981a01.squirrel@**.**.**.***>
Date: Thu, 29 Apr 2010 02:06:36 -0000
Subject: asdf
From: [email protected]
To: [email protected]
Reply-To: [email protected]
User-Agent: SquirrelMail/1.4.20
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

asdf
----------------------------
when i run : tail -f /var/log/exim/mainlog

then this message shows:

2010-04-29 01:59:29 1O7J2G-00009R-PJ == [email protected] R=lookuphost T=remote_smtp defer (111): Connection refused
2010-04-29 02:06:18 1O7J2G-00009R-PJ alt2.gmail-smtp-in.l.google.com [**.**.**.***] Connection refused
2010-04-29 02:06:18 1O7J2G-00009R-PJ alt3.gmail-smtp-in.l.google.com [**.**.**.***] Connection refused
2010-04-29 02:06:18 1O7J2G-00009R-PJ == [email protected] R=lookuphost T=remote_smtp defer (111): Connection refused
2010-04-29 02:06:36 1O7J9A-0000i4-32 <= [email protected] H=([**.**.**.***]) [127.0.0.1] P=esmtpa A=login:onix S=709 id=bc30c283a7dbde773dcf430cfd981a01.squirrel@**.**.**.*** T="asdf" from <[email protected]> for [email protected]
2010-04-29 02:06:36 1O7J9A-0000i4-32 ** [email protected] F=<[email protected]> R=virtual_aliases:
2010-04-29 02:06:36 1O7J9A-0000i8-4t <= <> R=1O7J9A-0000i4-32 U=mail P=local S=1465 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2010-04-29 02:06:36 1O7J9A-0000i4-32 Completed
2010-04-29 02:06:36 1O7J9A-0000i8-4t => onix <[email protected]> F=<> R=localuser T=local_delivery S=1554
2010-04-29 02:06:36 1O7J9A-0000i8-4t Completed

Hope for quick answers how to fix that problem :)
 
If you don't leave the real domain names and IP#s in your post there's no way to help you.

Jeff
 
Sorry :) here it is :)

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]


------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from [127.0.0.1] (helo=onix.is)
by vel3.hugver.is with esmtpa (Exim 4.71)
(envelope-from <[email protected]>)
id 1O7KtU-0000gn-83
for [email protected]; Thu, 29 Apr 2010 03:58:32 +0000
Received: from 212.30.203.9
(SquirrelMail authenticated user onix)
by onix.is with HTTP;
Thu, 29 Apr 2010 03:58:32 -0000
Message-ID: <[email protected]>
Date: Thu, 29 Apr 2010 03:58:32 -0000
Subject: asdf
From: [email protected]
To: [email protected]
Reply-To: [email protected]
User-Agent: SquirrelMail/1.4.20
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

asdf



# tail -f /var/log/exim/mainlog
2010-04-29 03:21:19 1O7KJT-0006Zh-SD <= <> R=1O7KJR-0006ZI-EX U=mail P=local S=1824 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2010-04-29 03:21:19 1O7KJR-0006ZI-EX Completed
2010-04-29 03:21:19 1O7KJT-0006Zh-SD => kreppa <[email protected]> F=<> R=localuser T=local_delivery S=1918
2010-04-29 03:21:19 1O7KJT-0006Zh-SD Completed
2010-04-29 03:58:32 1O7KtU-0000gn-83 <= [email protected] H=(onix.is) [127.0.0.1] P=esmtpa A=login:onix S=692 [email protected] T="asdf" from <[email protected]> for [email protected]
2010-04-29 03:58:32 1O7KtU-0000gn-83 ** [email protected] F=<[email protected]> R=virtual_aliases:
2010-04-29 03:58:32 1O7KtU-0000gs-9v <= <> R=1O7KtU-0000gn-83 U=mail P=local S=1448 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2010-04-29 03:58:32 1O7KtU-0000gn-83 Completed
2010-04-29 03:58:32 1O7KtU-0000gs-9v => onix <[email protected]> F=<> R=localuser T=local_delivery S=1537
2010-04-29 03:58:32 1O7KtU-0000gs-9v Completed
 
When I do a test to the server hosting hugver.is (your server?), from your from address to your to address, it gets accepted.

So the problem is something with local delivery.

You should run an exim -bh session from your shell login to see what's going wrong. To learn more about exim -bh see the exim manual.
Code:
$ man exim
Jeff
 
When I do a test to the server hosting hugver.is (your server?), from your from address to your to address, it gets accepted.

So the problem is something with local delivery.

You should run an exim -bh session from your shell login to see what's going wrong. To learn more about exim -bh see the exim manual.
Code:
$ man exim
Jeff

vel3:~# man exim
No manual entry for exim
See 'man 7 undocumented' for help when manual pages are not available.
vel3:~# exim -bh
exim abandoned: unknown, malformed, or incomplete option -bh
vel3:~#
 
Here's the exim man page.
You'll probably want to do
Code:
$ exim -bh 127.0.0.1
but you also need to know how to emulatel a complete smtp protocol connection; you can find it in these forums; someone posted it within the past week or so.

Jeff
 
Hi Jeff and thanks for your reply.

When i run this command exim -bh 127.0.0.1 i get:

vel3:~# exim -bh 127.0.0.1

**** SMTP testing session as if from host 127.0.0.1
**** but without any ident (RFC 1413) callback.
**** This is not for real!

>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? yes (matched "*")
>>> looking up host name for 127.0.0.1
>>> IP address lookup using gethostbyaddr()
>>> IP address lookup yielded an empty name: treated as non-existent host name
>>> host in host_reject_connection? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in recipient_unqualified_hosts? no (option unset)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)
220 vel3.hugver.is ESMTP Exim 4.71 Thu, 29 Apr 2010 17:37:11 +0000
LOG: SMTP command timeout on connection from [127.0.0.1]
421 vel3.hugver.is: SMTP command timeout - closing connection


I have try google, and all here on the forum i don't find anything to help me about this error.. :/
 
Could you tell us how you resolved the problem? We may be able to learn from it.

Thanks.

Jeff
 
Back
Top