Hi! Apparently we don't set the ssl port correctly, it will end up using the default in all cases.
This is https://github.com/Graylog2/graylog2-server/issues/372 and will be fixed in RC 2. Many thanks for reporting this! Kay On Wednesday, January 15, 2014 1:03:33 PM UTC+1, Ray Chang wrote: > > I tried to change transport_email_port by change graylog2-server > configuration file, but it can not changed. I think it fixed to value of > 465. > > my configuration like below. > > /etc/graylog.conf > ..... > transport_email_port = 25 > ..... > > server log like below. > > 2014-01-15 20:40:33,021 INFO : org.graylog2.periodical.AlertScannerThread > - Alert condition > [02f06dbb-6d67-4256-becc-19c68eea14a8:MESSAGE_COUNT={time: 1, > threshold_type: more, threshold: 1, grace: 2}, > stream:={52d668fd5022e5519aa5ae04: "ssh access"}] is triggered. Sending > alerts. > 2014-01-15 20:40:40,289 ERROR: org.graylog2.alerts.AlertSender - Could not > send alert email. > org.apache.commons.mail.EmailException: Sending the email to the following > server failed : mailxxx.xxx.com:465 > at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1410) > at org.apache.commons.mail.Email.send(Email.java:1437) > at org.graylog2.alerts.AlertSender.sendEmail(AlertSender.java:102) > at org.graylog2.alerts.AlertSender.sendEmails(AlertSender.java:75) > at > org.graylog2.periodical.AlertScannerThread.run(AlertScannerThread.java:77) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:724) > Caused by: javax.mail.MessagingException: Could not connect to SMTP host: > mailxxx.xxx.com, port: 465; > > -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
