2014-09-17 08:37:38 -05:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
2014-09-20 23:35:18 -05:00
< title > Allow user to send email without authentication< / title >
2014-09-22 22:17:52 -05:00
< link href = "./css/markdown.css" rel = "stylesheet" > < / head >
2014-09-17 08:37:38 -05:00
< / head >
< body >
2014-09-20 09:32:14 -05:00
< div id = "navigation" >
< a href = "http://www.iredmail.org" target = "_blank" > iRedMail web site< / a >
2014-09-22 22:20:46 -05:00
// < a href = "./index.html" > Document Index< / a >
2014-09-20 09:32:14 -05:00
< / div > < h1 id = "allow-user-to-send-email-without-authentication" > Allow user to send email without authentication< / h1 >
2014-09-17 08:37:38 -05:00
< div class = "toc" >
< ul >
2014-09-20 05:50:50 -05:00
< li > < a href = "#allow-user-to-send-email-without-authentication" > Allow user to send email without authentication< / a > < / li >
2014-09-17 08:37:38 -05:00
< / ul >
< / div >
< p > Create a plain text file: < code > /etc/postfix/accepted_unauth_senders< / code > :< / p >
2014-09-20 05:55:33 -05:00
< pre > < code > fax-machine-12@mydomain.tld OK
< / code > < / pre >
2014-09-17 08:37:38 -05:00
< p > Use postmap to create hash db file:< / p >
2014-09-22 22:13:40 -05:00
< pre > < code > # postmap hash:/etc/postfix/accepted_unauth_senders
2014-09-20 05:55:33 -05:00
< / code > < / pre >
2014-09-17 08:37:38 -05:00
< p > Modify Postfix to use this text file: < code > /etc/postfix/main.cf< / code > < / p >
2014-09-20 05:55:33 -05:00
< pre > < code > smtpd_sender_restrictions =
2014-09-17 08:37:38 -05:00
check_sender_access hash:/etc/postfix/accepted_unauth_senders,
[...OTHER RESTRICTIONS HERE...]
2014-09-20 05:55:33 -05:00
< / code > < / pre >
2014-09-17 08:37:38 -05:00
< p > Restart/reload postfix to make it work:< / p >
2014-09-20 05:55:33 -05:00
< pre > < code > # /etc/init.d/postfix restart
2014-09-30 10:04:28 -05:00
< / code > < / pre > < br / > < p > If you found something wrong in this document, please do < a href = "http://www.iredmail.org/contact.html" > contact us< / a > to fix it.< / p > < / body > < / html >