| Summary: | Postfix update configuration smtpd_recipient_restrictions | ||
|---|---|---|---|
| Product: | [OLD] Docs on www.gentoo.org | Reporter: | Ivan Borisov <hexes> |
| Component: | Other documents | Assignee: | Docs Team <docs-team> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Ivan Borisov
2013-04-25 09:05:47 UTC
This is really not an unimportant point. I just struggled with a 571 error for a couple of hours, because I didn't expect this kind of change in that version. Thank you very much for the information! Just had a similar problem, I think. I installed version 2.10.0 of mail-mta/postfix. Suddenly, I could not relay e-mails with 554 5.7.1 <example@example.net>: Relay access denied Luckily, when I realized the error, version 2.10.1 appeared in the tree and after installing that all worked fine again. Talk about dumb luck. Problem was, that I did not adapt my configuration to the new relay feature. I think 2.10.1 handles this "misconfiguration" more gracefully. I know: One should read the release notes beforehand ... Though my old config works now again with 2.10.1, just in case, I adapted to the changes by configuring the new services in master.cf proxywrite unix - - n - 1 proxymap relay unix - - n - - smtp retry unix - - n - - error (Don't know why those three lines were not there before, seems to me they should have. But my postfix setup worked without them.) And I changed in main.cf my customized smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unverified_recipient, check_policy_service inet:127.0.0.1:12525, permit_auth_destination into smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unverified_recipient, check_policy_service inet:127.0.0.1:12525, permit_auth_destination as proposed in the release notes ftp://ftp.gwdg.de/pub/misc/postfix/official/postfix-2.10.1.RELEASE_NOTES This document has been marked as obsolete. However, a more active document can be found on the Gentoo Wiki at https://wiki.gentoo.org/wiki/Complete_Virtual_Mail_Server. We welcome any contributions on this guide and recommend you create an account (if you do not have one already) and make the adjustments to the article as needed. In case of doubt, use the Talk page to discuss potential changes before applying them. If needed, the wiki-style version of the old document is available at https://wiki.gentoo.org/wiki/User:SwifT/Wikified_but_not_merged_documents/Virtual_mail_HOWTO so any previously existing content can, if needed, be reused on the wiki. |