{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSMTPD/OpenSMTPD/issues/693","repository_url":"https://api.github.com/repos/OpenSMTPD/OpenSMTPD","labels_url":"https://api.github.com/repos/OpenSMTPD/OpenSMTPD/issues/693/labels{/name}","comments_url":"https://api.github.com/repos/OpenSMTPD/OpenSMTPD/issues/693/comments","events_url":"https://api.github.com/repos/OpenSMTPD/OpenSMTPD/issues/693/events","html_url":"https://github.com/OpenSMTPD/OpenSMTPD/issues/693","id":155618712,"number":693,"title":"Why can't we have aliases that point to errors on forward-only rules?","user":{"login":"obadz","id":3359345,"avatar_url":"https://avatars.githubusercontent.com/u/3359345?v=3","gravatar_id":"","url":"https://api.github.com/users/obadz","html_url":"https://github.com/obadz","followers_url":"https://api.github.com/users/obadz/followers","following_url":"https://api.github.com/users/obadz/following{/other_user}","gists_url":"https://api.github.com/users/obadz/gists{/gist_id}","starred_url":"https://api.github.com/users/obadz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obadz/subscriptions","organizations_url":"https://api.github.com/users/obadz/orgs","repos_url":"https://api.github.com/users/obadz/repos","events_url":"https://api.github.com/users/obadz/events{/privacy}","received_events_url":"https://api.github.com/users/obadz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"poolpOrg","id":895503,"avatar_url":"https://avatars.githubusercontent.com/u/895503?v=3","gravatar_id":"","url":"https://api.github.com/users/poolpOrg","html_url":"https://github.com/poolpOrg","followers_url":"https://api.github.com/users/poolpOrg/followers","following_url":"https://api.github.com/users/poolpOrg/following{/other_user}","gists_url":"https://api.github.com/users/poolpOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/poolpOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poolpOrg/subscriptions","organizations_url":"https://api.github.com/users/poolpOrg/orgs","repos_url":"https://api.github.com/users/poolpOrg/repos","events_url":"https://api.github.com/users/poolpOrg/events{/privacy}","received_events_url":"https://api.github.com/users/poolpOrg/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-18T22:46:54Z","updated_at":"2016-05-19T10:27:08Z","closed_at":null,"body":"In `smtpd/lka_session.c` lines 440ish:\r\n\r\n```c\r\n\tcase EXPAND_ERROR:\r\n\t\tif (rule->r_forwardonly) {\r\n\t\t\tlog_trace(TRACE_EXPAND, \"expand: error matched on forward-only rule\");\r\n\t\t\tlks->error = LKA_TEMPFAIL;\r\n\t\t\tbreak;\r\n\t\t}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/OpenSMTPD/OpenSMTPD/issues/comments/220286249","html_url":"https://github.com/OpenSMTPD/OpenSMTPD/issues/693#issuecomment-220286249","issue_url":"https://api.github.com/repos/OpenSMTPD/OpenSMTPD/issues/693","id":220286249,"user":{"login":"obadz","id":3359345,"avatar_url":"https://avatars.githubusercontent.com/u/3359345?v=3","gravatar_id":"","url":"https://api.github.com/users/obadz","html_url":"https://github.com/obadz","followers_url":"https://api.github.com/users/obadz/followers","following_url":"https://api.github.com/users/obadz/following{/other_user}","gists_url":"https://api.github.com/users/obadz/gists{/gist_id}","starred_url":"https://api.github.com/users/obadz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obadz/subscriptions","organizations_url":"https://api.github.com/users/obadz/orgs","repos_url":"https://api.github.com/users/obadz/repos","events_url":"https://api.github.com/users/obadz/events{/privacy}","received_events_url":"https://api.github.com/users/obadz/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T10:27:08Z","updated_at":"2016-05-19T10:27:08Z","body":"Well I «solved» it by removing forward-only from my rule but I'm not sure why I had to?\r\n\r\nI have an MX on which there are no real users and that doesn't take any local deliveries, I want to have some catch-alls but also have certain aliases bounce back with errors. Isn't it best to have my rule be forward-only and have some aliases error out?"}}