Skip to content

1.5.0rc2 email plugin warning unsupported popen on centos 6.x #22

@jordansissel

Description

@jordansissel

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions