{"action":"created","issue":{"url":"https://api.github.com/repos/aheckmann/node-email/issues/26","labels_url":"https://api.github.com/repos/aheckmann/node-email/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/aheckmann/node-email/issues/26/comments","events_url":"https://api.github.com/repos/aheckmann/node-email/issues/26/events","html_url":"https://github.com/aheckmann/node-email/issues/26","id":104405333,"number":26,"title":"Email from not set from configuration","user":{"login":"chisleu","id":4228884,"avatar_url":"https://avatars.githubusercontent.com/u/4228884?v=3","gravatar_id":"","url":"https://api.github.com/users/chisleu","html_url":"https://github.com/chisleu","followers_url":"https://api.github.com/users/chisleu/followers","following_url":"https://api.github.com/users/chisleu/following{/other_user}","gists_url":"https://api.github.com/users/chisleu/gists{/gist_id}","starred_url":"https://api.github.com/users/chisleu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chisleu/subscriptions","organizations_url":"https://api.github.com/users/chisleu/orgs","repos_url":"https://api.github.com/users/chisleu/repos","events_url":"https://api.github.com/users/chisleu/events{/privacy}","received_events_url":"https://api.github.com/users/chisleu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T05:34:13Z","updated_at":"2015-09-02T12:50:44Z","closed_at":"2015-09-02T12:49:46Z","body":"I'm using the latest email module in npmjs.org.\r\n\r\nI'm using the first example on your first page. I've tried on both Mac OSX and Linux hosts. In both cases, the \"from\" field is being ignored and the email is coming from username@localhost.localdomain\r\n\r\nAm I missing something? Is my sendmail misconfigured?\r\n"},"comment":{"url":"https://api.github.com/repos/aheckmann/node-email/issues/comments/137063357","html_url":"https://github.com/aheckmann/node-email/issues/26#issuecomment-137063357","issue_url":"https://api.github.com/repos/aheckmann/node-email/issues/26","id":137063357,"user":{"login":"chisleu","id":4228884,"avatar_url":"https://avatars.githubusercontent.com/u/4228884?v=3","gravatar_id":"","url":"https://api.github.com/users/chisleu","html_url":"https://github.com/chisleu","followers_url":"https://api.github.com/users/chisleu/followers","following_url":"https://api.github.com/users/chisleu/following{/other_user}","gists_url":"https://api.github.com/users/chisleu/gists{/gist_id}","starred_url":"https://api.github.com/users/chisleu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chisleu/subscriptions","organizations_url":"https://api.github.com/users/chisleu/orgs","repos_url":"https://api.github.com/users/chisleu/repos","events_url":"https://api.github.com/users/chisleu/events{/privacy}","received_events_url":"https://api.github.com/users/chisleu/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T12:50:44Z","updated_at":"2015-09-02T12:50:44Z","body":"I figured it out. \r\n\r\nhttp://www.tldp.org/LDP/nag2/x15291.html\r\n\r\n```\r\nIt is sometimes useful to overwrite the From: field of an outgoing mail message. Let's say you have a web-based program that generates email. Normally the mail message would appear to come from the user who owned the web server process. We might want to specify some other source address so that the mail appears to have originated from some other user or address on that machine. sendmail provides a means of specifying which systems users are to be entrusted with the ability to do this.\r\n\r\nThe use_ct_file feature enables the specification and use of a file that lists the names of trusted users. By default, a small number of system users are trusted by sendmail (root, for example). The default filename for this feature is /etc/mail/trusted-users in systems exploiting the /etc/mail/ configuration directory and /etc/sendmail.ct in those that don't. You can specify the name and location of the file by overriding the confCT_FILE definition.\r\n\r\nAdd FEATURE(use_ct_file) to your sendmail.mc file to enable the feature.\r\n```"}}