[rsyslog] Misconfiguration of ommail freezes system

Thomas Miedema thomasmiedema at gmail.com
Mon Jan 7 16:36:55 CET 2013


Hello,

specifying an empty smtp server and port for ommail freezes my system,
supposedly when rsyslog tries to send the first email.

  $ActionMailSMTPServer <...>
  $ActionMailSMTPPort <...>

Is this expected behaviour or a bug?

In the following bug report ("rsyslog freezed if remote tcp port is
blocked": http://bugzilla.adiscon.com/show_bug.cgi?id=285) Rainer mentions
that "You need to use an async send queue to decouple the sender from the
rest of the rules." I'm not sure this applies to ommail as well.

The ommail documentation (http://www.rsyslog.com/doc/ommail.html) does not
mention what will happen when no connection to the smtp server can be
established.

I'm using rsyslog 5.8.6 on Ubuntu 12.04.

Thank you for your help.

Regards,
Thomas Miedema


More information about the rsyslog mailing list