(This issue was originally filed by @sbarrier at elastic/logstash#2838)
On Centos 6.x the email plugin work but generate a warning message :
/opt/logstash/vendor/bundle/jruby/1.9/gems/mail-2.6.3/lib/mail/network/delivery_methods/sendmail.rb:72 warning: unsupported popen option: err
the sendmail.rb line 72 is the following IO.popen
def self.popen(command, &block)
IO.popen command, 'w+', :err => :out, &block
end
Centos use Postfix by default, the sendmail binary is a link :
lrwxrwxrwx. 1 root root 21 Nov 6 2013 /usr/sbin/sendmail -> /etc/alternatives/mta
lrwxrwxrwx. 1 root root 26 Nov 6 2013 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix
(This issue was originally filed by @sbarrier at elastic/logstash#2838)
On Centos 6.x the email plugin work but generate a warning message :
/opt/logstash/vendor/bundle/jruby/1.9/gems/mail-2.6.3/lib/mail/network/delivery_methods/sendmail.rb:72 warning: unsupported popen option: err
the sendmail.rb line 72 is the following IO.popen
Centos use Postfix by default, the sendmail binary is a link :
lrwxrwxrwx. 1 root root 21 Nov 6 2013 /usr/sbin/sendmail -> /etc/alternatives/mta
lrwxrwxrwx. 1 root root 26 Nov 6 2013 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix