You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Tarmenel <ta...@yahoo.co.uk> on 2006/10/14 18:58:34 UTC

SMTP not sending

Hi there,

I've looked though the formum but havn't come across anything that answers
my problme, which is rather simply probably. I had my JAMES server running
and it was sending the messages from Outlook but it currently is no longer
sending my emails? Outlook seems to think that the messages are being sent
because all is fine and no error messages are returned from Outlook. Is
there anyway to check JAMES on email traffic. I've tried looking through the
documentation but all that is on the page is configuration settings which I
duly entered to no avail. The Wiki unfortunately was unhelpful and I can't
seem to find any Users Manual other than this 
http://james.apache.org/server/2.3.0/index.html one.  I'm new to these
advanced topics so any information on either fixing this problem or where I
can gain greater insight into server topics would be greatly
apprecitated(Google doesn't count, I'm looking for links that you have read
and found useful)
-- 
View this message in context: http://www.nabble.com/SMTP-not-sending-tf2443370.html#a6812554
Sent from the James - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: SMTP not sending

Posted by Tarmenel <ta...@yahoo.co.uk>.
Nothing seems to be happening when the screen shows so I take it that there
is a network error. How would they block the port and is there any other
port that I could use to bypass this.
-- 
View this message in context: http://www.nabble.com/SMTP-not-sending-tf2443370.html#a6821909
Sent from the James - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: SMTP not sending

Posted by Norman Maurer <nm...@byteaction.de>.
Tarmenel schrieb:
> Nothing seems to be happening when the screen shows so I take it that there
> is a network error. How would they block the port and is there any other
> port that I could use to bypass this.
>   
Some ISPs block any connection to port 25 except the connections to
their mailserver. You should ask your ISP if they provide some relay you
can use to send mail ..


bye
Norman


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: SMTP not sending

Posted by Stefano Bagnara <ap...@bago.org>.
Try this command:

"telnet mx.wm.co.za. 25"

if you can't see
----
Trying 196.25.211.166...
Connected to mx.wm.co.za..
Escape character is '^]'.
220 mail.webmail.co.za ESMTP Welcome to the Webmail.co.za SMTP Server.
quit
221 mail.webmail.co.za Goodbye.
Connection closed by foreign host.
------
then you have a network problem: either you have a firewall blocking 
that connection or your provider blocks port 25 (it happens).

Stefano

PS: it's not a DNS problem because the IP has been resolved as you can 
see in the logs (196.25.211.166).

Tarmenel wrote:
> This is the error message of one of the emails trying to be sent in the log
> file:
> 14/10/06 18:44:38 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
> addresses: [127.0.0.1/255.255.255.255]
> 14/10/06 18:44:38 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
> than total number of attempts specified. Increasing last delayTime with 19
> attempts 
> 14/10/06 18:44:38 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
> msecs is now attempted: 20 times
> 14/10/06 18:45:28 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1160844320187-0-to-webmail.co.za to host mx.wm.co.za. at 196.25.211.166
> to addresses [tarmenel@webmail.co.za]
> 14/10/06 18:45:49 INFO  James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: 196.25.211.166, port: 25, response: -1
> 14/10/06 18:45:49 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1160844320187-0-to-webmail.co.za to host mx2.wm.co.za. at 196.25.211.170
> to addresses [tarmenel@webmail.co.za]
> 14/10/06 18:46:10 INFO  James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: 196.25.211.170, port: 25, response: -1
> 14/10/06 18:46:10 INFO  James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1160844320187-0-to-webmail.co.za:
> javax.mail.MessagingException: No mail server(s) available at this time.
> 	at
> org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:617)
> 	at
> org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912)
> 	at java.lang.Thread.run(Thread.java:595)
> 
>>>From what I understand here I have a problem with my mail server being
> unavailable. I also think that it could have something to do with the DNS
> Server properties in my config.xml, I have tried to enter the information
> that was provided in the documentation but this did not yield any results. I
> then tried to enter DNS Servers off a website that said these were the
> primary addresses with same effect. Do I need to configure a DNS on my
> machine?



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: SMTP not sending

Posted by Tarmenel <ta...@yahoo.co.uk>.
This is the error message of one of the emails trying to be sent in the log
file:
14/10/06 18:44:38 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized
addresses: [127.0.0.1/255.255.255.255]
14/10/06 18:44:38 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
than total number of attempts specified. Increasing last delayTime with 19
attempts 
14/10/06 18:44:38 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
msecs is now attempted: 20 times
14/10/06 18:45:28 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1160844320187-0-to-webmail.co.za to host mx.wm.co.za. at 196.25.211.166
to addresses [tarmenel@webmail.co.za]
14/10/06 18:45:49 INFO  James.Mailet: RemoteDelivery: Could not connect to
SMTP host: 196.25.211.166, port: 25, response: -1
14/10/06 18:45:49 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1160844320187-0-to-webmail.co.za to host mx2.wm.co.za. at 196.25.211.170
to addresses [tarmenel@webmail.co.za]
14/10/06 18:46:10 INFO  James.Mailet: RemoteDelivery: Could not connect to
SMTP host: 196.25.211.170, port: 25, response: -1
14/10/06 18:46:10 INFO  James.Mailet: RemoteDelivery: Temporary exception
delivering mail (Mail1160844320187-0-to-webmail.co.za:
javax.mail.MessagingException: No mail server(s) available at this time.
	at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:617)
	at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912)
	at java.lang.Thread.run(Thread.java:595)

>From what I understand here I have a problem with my mail server being
unavailable. I also think that it could have something to do with the DNS
Server properties in my config.xml, I have tried to enter the information
that was provided in the documentation but this did not yield any results. I
then tried to enter DNS Servers off a website that said these were the
primary addresses with same effect. Do I need to configure a DNS on my
machine?
-- 
View this message in context: http://www.nabble.com/SMTP-not-sending-tf2443370.html#a6814147
Sent from the James - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: SMTP not sending

Posted by Stefano Bagnara <ap...@bago.org>.
Tarmenel wrote:
> I've looked though the formum but havn't come across anything that answers
> my problme, which is rather simply probably. I had my JAMES server running
> and it was sending the messages from Outlook but it currently is no longer
> sending my emails? Outlook seems to think that the messages are being sent
> because all is fine and no error messages are returned from Outlook.

James put a lot of logs about what's going on in the 
<jamesfolder>apps/james/logs folder. About the outgoing spool 
managemenet you should find useful logs in the mailet-*.log 
(RemoteDelivery mailet) or in the default*.log.

You can increase the logging altering the 
apps/james/SAR-INF/environment.xml replacing log-level="INFO" with 
log-level="DEBUG" in the components you want to trace.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org