{"action":"opened","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/3752","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/3752/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/3752/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/3752/events","html_url":"https://github.com/influxdata/telegraf/issues/3752","id":294366381,"number":3752,"title":"postfix permission denied","user":{"login":"r4yfx","id":34339116,"avatar_url":"https://avatars2.githubusercontent.com/u/34339116?v=4","gravatar_id":"","url":"https://api.github.com/users/r4yfx","html_url":"https://github.com/r4yfx","followers_url":"https://api.github.com/users/r4yfx/followers","following_url":"https://api.github.com/users/r4yfx/following{/other_user}","gists_url":"https://api.github.com/users/r4yfx/gists{/gist_id}","starred_url":"https://api.github.com/users/r4yfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r4yfx/subscriptions","organizations_url":"https://api.github.com/users/r4yfx/orgs","repos_url":"https://api.github.com/users/r4yfx/repos","events_url":"https://api.github.com/users/r4yfx/events{/privacy}","received_events_url":"https://api.github.com/users/r4yfx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T11:51:56Z","updated_at":"2018-02-05T11:51:56Z","closed_at":null,"author_association":"NONE","body":"### Expected behavior:\r\n\r\n* Plugin: inputs.postfix, Collection 1\r\n> postfix_queue,queue=active,host=mailrelay length=0i,size=0i,age=0i 1517831282000000000\r\n> postfix_queue,queue=hold,host=mailrelay length=0i,size=0i,age=0i 1517831282000000000\r\n> postfix_queue,queue=incoming,host=mailrelay size=0i,age=0i,length=0i 1517831282000000000\r\n> postfix_queue,queue=maildrop,host=mailrelay length=0i,size=0i,age=0i 1517831282000000000\r\n> postfix_queue,queue=deferred,host=mailrelay length=7i,size=629232i,age=479i 1517831282000000000\r\n\r\n\r\n### Actual behavior:\r\n\r\nFeb  5 11:47:30 mailrelay01 telegraf: 2018-02-05T11:47:30Z E! Error in plugin [inputs.postfix]: error scanning queue active: open /var/spool/postfix/active: permission denied\r\nFeb  5 11:47:30 mailrelay01 telegraf: 2018-02-05T11:47:30Z E! Error in plugin [inputs.postfix]: error scanning queue hold: open /var/spool/postfix/hold: permission denied\r\nFeb  5 11:47:30 mailrelay01 telegraf: 2018-02-05T11:47:30Z E! Error in plugin [inputs.postfix]: error scanning queue incoming: open /var/spool/postfix/incoming: permission denied\r\nFeb  5 11:47:30 mailrelay01 telegraf: 2018-02-05T11:47:30Z E! Error in plugin [inputs.postfix]: error scanning queue maildrop: open /var/spool/postfix/maildrop: permission denied\r\nFeb  5 11:47:30 mailrelay01 telegraf: 2018-02-05T11:47:30Z E! Error in plugin [inputs.postfix]: error scanning queue deferred/0: open /var/spool/postfix/deferred/0: permission denied\r\n\r\n\r\n### Additional info:\r\n\r\nWhen I run the test config I receive the data in which I am expecting (root user) restart the daemon and it wont come up suggesting that there is a permission issue. I have added the user to the postfix group and still receive the same error. Any suggestion to resolve the permission issue? \r\n\r\n\r\n"}}
{"actor":{"display_login":"r4yfx"}}