{"action":"closed","issue":{"url":"https://api.github.com/repos/michael1011/lightningtip/issues/11","repository_url":"https://api.github.com/repos/michael1011/lightningtip","labels_url":"https://api.github.com/repos/michael1011/lightningtip/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/michael1011/lightningtip/issues/11/comments","events_url":"https://api.github.com/repos/michael1011/lightningtip/issues/11/events","html_url":"https://github.com/michael1011/lightningtip/issues/11","id":316589513,"number":11,"title":"mail.sender is only honoured if smtp server is set","user":{"login":"bretton","id":4481592,"avatar_url":"https://avatars2.githubusercontent.com/u/4481592?v=4","gravatar_id":"","url":"https://api.github.com/users/bretton","html_url":"https://github.com/bretton","followers_url":"https://api.github.com/users/bretton/followers","following_url":"https://api.github.com/users/bretton/following{/other_user}","gists_url":"https://api.github.com/users/bretton/gists{/gist_id}","starred_url":"https://api.github.com/users/bretton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretton/subscriptions","organizations_url":"https://api.github.com/users/bretton/orgs","repos_url":"https://api.github.com/users/bretton/repos","events_url":"https://api.github.com/users/bretton/events{/privacy}","received_events_url":"https://api.github.com/users/bretton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-22T15:44:07Z","updated_at":"2018-04-22T17:03:04Z","closed_at":"2018-04-22T17:03:04Z","author_association":"COLLABORATOR","body":"### Background\r\n\r\nconfiguring the account notices get sent from only works when using a configured mail server, it doesn't work when using /usr/bin/mail \r\n\r\nThis is not necessarily a bug or issue, just being noted for future support queries\r\n\r\n### Your environment\r\n\r\n* ubuntu 16.04 LTS\r\n* are you running LightningTip behind a reverse proxy? No\r\n\r\n### Steps to reproduce\r\n\r\nIf you configure lightningtip.conf with the following on a Linux system\r\n```\r\n[Mail]\r\nmail.email = mail@send.to\r\n# mail.server = \r\nmail.sender = lightningtup@account.from\r\nmail.ssl = false\r\n# mail.user =\r\n# mail.password =\r\n```\r\nThen it will use /usr/bin/mail from the `mailutils` or `mailx` package.\r\n\r\n### Expected behaviour\r\n\r\nThe sender account should be the configured email in the flag\r\n```\r\nmail.sender = lightningtup@account.from\r\n```\r\n\r\n### Actual behaviour\r\n\r\nThe sender is the user account `lightningtip` is being run under and NOT the configured sender in lightningtip.conf\r\n\r\n### Important\r\n\r\nThis might be specific to /usr/bin/mail and NOT a bug. Just something to be noted.\r\n\r\nIf you wish to ensure the sending account is the one configured in lightningtip.conf just make sure you use a configured mail server, with your lightningtip.conf looking like the following\r\n\r\n```\r\n[Mail]\r\nmail.email = mail@send.to\r\nmail.server = hostname:port\r\nmail.sender = lightningtup@account.from\r\nmail.ssl = false\r\nmail.user = mailuser@hostname\r\nmail.password = userpassword\r\n```"}}
{"actor":{"display_login":"bretton"}}