LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mail has stopped working (https://www.linuxquestions.org/questions/linux-newbie-8/mail-has-stopped-working-4175461913/)

deweywhite 05-14-2013 07:40 AM

mail has stopped working
 
Hello I have beat around linux from time to time but most of my SA work is in window, now at this location they have debain linux running the servers,
I have user reporting that the mail has stopped working he provided me the following
An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.MessagingException: Could not connect to SMTP host: 3.159.18.38, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out: connect
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149)
at com.atlassian.jira.plugins.mail.webwork.SendTestMail.doExecute(SendTestMail.java:107)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:221)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:150)
to be honest I can trouble shoot in window but I don't know where to start in the linux snice I was not around when this system was created, any help in what to check would help, Linux newbe

shivaa 05-14-2013 07:59 AM

I guess you've checked the mail logs. Also check /var/log/maillog file.

As your mail logs say, SMTP host server isn't reachable. So try to ping it and check for it's connectivity and availability.

deweywhite 05-14-2013 09:04 AM

mail question two
 
I not slow but when enter the commands to get logs I receive
secadmin@sic-nessus:/home/502192185$ bash: cd: /var/logs: No such file or directory
bash: bash:: command not found
secadmin@sic-nessus:/home/502192185$

I log as root also, what am i missing and thank you for the understanding

shivaa 05-14-2013 09:41 AM

It is /var/log not /var/logs. Try to ping SMTP server and check whether it available or not?
Code:

~$ tail -1000 /var/log/maillog | more
Also check:
Code:

~$ ping 3.159.18.38


All times are GMT -5. The time now is 05:26 PM.