You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Stefan Bühlmann <st...@gmx.ch> on 2006/10/14 16:40:48 UTC
Can not send mail out. "No mail server(s) available at this time." can't be true
Hi all,
I am a newbie and would appreciate some help. I can not send mail out to the
internet (get it returned).
This is my situation:
I've installed james-2.3.0rc5.zip on my local machine, which is connected
via a router/firewall to the internet (POP3 and SMTP ports are open).
Internally I've got IP 192.168.8.2 and the WAN-side is 84.73.53.169.
I don't have a DNS-Server, so I set up a domain name at
https://www.dyndns.com/ and set the <servername>-Tag accordingly as follows:
<servername>stefanbuehlmann.dyndns.biz</servername>
In the transport-Processor I set
<mailet match="RemoteAddrNotInNetwork=127.0.0.*, 192.168.8.*, 84.73.53.169"
class="ToProcessor">
Where 84.73.53.169 is my (current dynamic) WAN-Address and 192.168.8.* is my
internal LAN address.
I also set
<authorizedAddresses>127.0.0.*, 192.168.8.*,
84.73.53.169</authorizedAddresses>
And:
<delayTime> 2 minutes </delayTime>
<maxRetries> 2 </maxRetries>
Incoming mail works fine.
But I have problems sending out. I send the following mail (by replying to
an arriving one)
From: bingo@stefanbuehlmann.dyndns.biz
To: stefan.buehlmann@gmx.ch
Subject: Test
...
The mail never arrives. I get it returned with:
Hi. This is the James mail server at Mars.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out. Below I
include the list of recipients and the reason why I was unable to deliver
your message.
Failed recipient(s):
stefan.buehlmann@gmx.ch
Error message:
No mail server(s) available at this time.
Details.txt is:
Reporting-MTA: dns; Mars
Received-From-MTA: dns; 84-73-53-169.dclient.hispeed.ch
Final-Recipient: rfc822; stefan.buehlmann@gmx.ch
Action: failed
Status: 4.4.1
Diagnostic-Code: X-James; No mail server(s) available at this time.
Last-Attempt-Date: Sat, 14 Oct 2006 16:31:30 +0200 (CEST)
"No mail server(s) available at this time." can't be true, since I can read
that account all the times.
Here my logs:
smtpserver-2006-10-14-16-27.log:
14/10/06 16:27:45 INFO smtpserver: SMTP Service started plain:25
14/10/06 16:28:30 INFO smtpserver: Connection from mail.gmx.de
(213.165.64.20)
14/10/06 16:28:32 INFO smtpserver: Successfully spooled mail
Mail1160836112484-0 from stefan.buehlmann@gmx.ch on 213.165.64.20 for
[bingo@stefanbuehlmann.dyndns.biz]
14/10/06 16:29:25 INFO smtpserver: Connection from
84-73-53-169.dclient.hispeed.ch (84.73.53.169)
14/10/06 16:29:25 INFO smtpserver: Successfully spooled mail
Mail1160836165312-1 from bingo@stefanbuehlmann.dyndns.biz on 84.73.53.169
for [stefan.buehlmann@gmx.ch]
mailet-2006-10-14-16-27.log:
14/10/06 16:31:30 INFO James.Mailet: RemoteDelivery: Storing message
Mail1160836165312-1-to-gmx.ch into outgoing after 1 retries
14/10/06 16:33:30 INFO James.Mailet: RemoteDelivery: Attempting delivery of
Mail1160836165312-1-to-gmx.ch to host mx0.gmx.de. at 213.165.64.100 for
addresses [stefan.buehlmann@gmx.ch]
14/10/06 16:33:31 INFO James.Mailet: RemoteDelivery: Could not connect to
SMTP host: 213.165.64.100, port: 25, response: -1
14/10/06 16:33:31 INFO James.Mailet: RemoteDelivery: Attempting delivery of
Mail1160836165312-1-to-gmx.ch to host mx0.gmx.net. at 213.165.64.100 for
addresses [stefan.buehlmann@gmx.ch]
14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Could not connect to
SMTP host: 213.165.64.100, port: 25, response: -1
14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Temporary exception
delivering mail (Mail1160836165312-1-to-gmx.ch:
14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Bouncing message
Mail1160836165312-1-to-gmx.ch after 2 retries
What's my problem? How do I configure this correctly?
Thanks,
Stefan Bühlmann
Rötelsteig 11
8037 Zürich
+41 (76) 41 41 824
stefan.buehlmann@gmx.ch
www.stefanbuehlmann.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: AW: Can not send mail out. "No mail server(s) available at this
time." can't be true
Posted by Stefano Bagnara <ap...@bago.org>.
Stefan Bühlmann wrote:
> Hi Stefano,
> Thanks for your fast help. But I still have problems... Strange...
> First: "telnet 213.165.64.100 25" or "telnet mx0.gmx.de. 25" both leave me
> with a cleared blank scrren. I don't get any text (no "220 mx0.gmx.net GMX
> Mailservices ESMTP {mxNNN}"). Since you quoted that, you obviously can
> telnet to the server.
Yes, I can connect and "talk" with them.
> But I can send Mail with my Outlook to server mail.gmx.net and I can "telnet
> mail.gmx.net 25". I do not understand the difference.
They are probably different servers. The mx servers for gmx.net can be
found with the command:
> dig mx gmx.ch.
or
> host -t mx gmx.ch.
and they are:
10 mx0.gmx.net.
10 mx0.gmx.de.
Both hostnames have the same priority and point to the same multihomed
IP: 213.165.64.100
While mail.gmx.net is a different server:
mail.gmx.net. 7200 IN A 213.165.64.20
mail.gmx.net. 7200 IN A 213.165.64.21
Maybe your provider is filtering outgoing smtp connection (port 25) but
the one directed to their own mailserver (mail.gmx.net).
If you can't have the provider to remove this filter you could configure
the james RemoteDelivery service to use "mail.gmx.net." as a gateway.
Of course this is not the same thing of connecting to the final host,
but maybe this fix your problem.
> Second: My firewall is open for ports 25 and 110. But there is a NAT between
> the WAN-side and my internal PC. I have propperly forwarded the ports to
> that machine. Doesn't the fact that I can send mail with Outlook, prove,
> that smtp goes out propperly? (I did reboot the router/firewall).
> Thanks for your help,
> Stefan Bühlmann
You can either solve the network/filter/firewall problem (but this is
not the appropriate list, and you can see if you fixed this by using the
telnet command) or you can try the gateway option.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
AW: Can not send mail out. "No mail server(s) available at this time." can't be true
Posted by Stefan Bühlmann <st...@gmx.ch>.
Hi Stefano,
Thanks for your fast help. But I still have problems... Strange...
First: "telnet 213.165.64.100 25" or "telnet mx0.gmx.de. 25" both leave me
with a cleared blank scrren. I don't get any text (no "220 mx0.gmx.net GMX
Mailservices ESMTP {mxNNN}"). Since you quoted that, you obviously can
telnet to the server.
But I can send Mail with my Outlook to server mail.gmx.net and I can "telnet
mail.gmx.net 25". I do not understand the difference.
Second: My firewall is open for ports 25 and 110. But there is a NAT between
the WAN-side and my internal PC. I have propperly forwarded the ports to
that machine. Doesn't the fact that I can send mail with Outlook, prove,
that smtp goes out propperly? (I did reboot the router/firewall).
Thanks for your help,
Stefan Bühlmann
-----Ursprüngliche Nachricht-----
Von: Stefano Bagnara [mailto:apache@bago.org]
Gesendet: Samstag, 14. Oktober 2006 16:55
An: James Users List
Betreff: Re: Can not send mail out. "No mail server(s) available at this
time." can't be true
Stefan Bühlmann wrote:
> Hi all,
> I am a newbie and would appreciate some help. I can not send mail out
> to the internet (get it returned).
> 14/10/06 16:33:30 INFO James.Mailet: RemoteDelivery: Attempting
> delivery of Mail1160836165312-1-to-gmx.ch to host mx0.gmx.de. at
> 213.165.64.100 for addresses [stefan.buehlmann@gmx.ch]
> 14/10/06 16:33:31 INFO James.Mailet: RemoteDelivery: Could not
> connect to SMTP host: 213.165.64.100, port: 25, response: -1
> 14/10/06 16:33:31 INFO James.Mailet: RemoteDelivery: Attempting
> delivery of Mail1160836165312-1-to-gmx.ch to host mx0.gmx.net. at
> 213.165.64.100 for addresses [stefan.buehlmann@gmx.ch]
> 14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Could not
> connect to SMTP host: 213.165.64.100, port: 25, response: -1
> 14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Temporary
> exception delivering mail (Mail1160836165312-1-to-gmx.ch:
> 14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Bouncing message
> Mail1160836165312-1-to-gmx.ch after 2 retries
>
> What's my problem? How do I configure this correctly?
James is not able to connect to 213.165.64.100 at port 25.
Maybe you have a firewall blocking outgoing connections on port 25 and james
is not able to connect to the remote server.
Try to run a "telnet mx0.gmx.de. 25" (mx0.gmx.de is the first mx for
gmx.ch) from the same machine where you installed james. If you can't see
"220 mx0.gmx.net GMX Mailservices ESMTP {mxNNN}" then your problems are not
related to james configuration but from your network.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Can not send mail out. "No mail server(s) available at this time."
can't be true
Posted by Stefano Bagnara <ap...@bago.org>.
Stefan Bühlmann wrote:
> Hi all,
> I am a newbie and would appreciate some help. I can not send mail out to the
> internet (get it returned).
> 14/10/06 16:33:30 INFO James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1160836165312-1-to-gmx.ch to host mx0.gmx.de. at 213.165.64.100 for
> addresses [stefan.buehlmann@gmx.ch]
> 14/10/06 16:33:31 INFO James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: 213.165.64.100, port: 25, response: -1
> 14/10/06 16:33:31 INFO James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1160836165312-1-to-gmx.ch to host mx0.gmx.net. at 213.165.64.100 for
> addresses [stefan.buehlmann@gmx.ch]
> 14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: 213.165.64.100, port: 25, response: -1
> 14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1160836165312-1-to-gmx.ch:
> 14/10/06 16:33:32 INFO James.Mailet: RemoteDelivery: Bouncing message
> Mail1160836165312-1-to-gmx.ch after 2 retries
>
> What's my problem? How do I configure this correctly?
James is not able to connect to 213.165.64.100 at port 25.
Maybe you have a firewall blocking outgoing connections on port 25 and
james is not able to connect to the remote server.
Try to run a "telnet mx0.gmx.de. 25" (mx0.gmx.de is the first mx for
gmx.ch) from the same machine where you installed james. If you can't
see "220 mx0.gmx.net GMX Mailservices ESMTP {mxNNN}" then your problems
are not related to james configuration but from your network.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org