Hi Viktor, See embedded comments.
On 12/18/2025 8:12 PM, Viktor Dukhovni via Postfix-users wrote:
On Thu, Dec 18, 2025 at 11:25:07AM -0500, Dennis Putnam via Postfix-users wrote:<cufsalumni@localhost>: Recipient address rejected: User unknown in local recipient tableThat's the *local* recipient table, not the *relay* recipient table. Seehttps://www.postfix.org/ADDRESS_CLASS_README.htmlI don't understand why. In my main.cf I have:Because: - The "localhost" domain is the "local" address class, i.e. is listed in $mydestination. - The "cufsalumni" user is not listed in $local_recipient_table
But indeed it is. My local_recipient_maps contains cufsalumni@localhost
I'm not. I use fetchmail to retrieve email from certain accounts. That gets fed to mailman which rejects mail from non-members.relay_domains = hash:/opt/mailman/mm/var/data/postfix_domainsWhich domains are "relay" domains is not relevant.gmail.com gmail.comYou **REALLY** DO NOT want to be a open relay for "gmail.com", any spammer who figures out that's the case will abuse your system to relay spam to GMail, until you're blocked by Google.
localhost localhostThis is a bad idea, because that is also (as it typically should be) listed in $mydestination, which takes precedence.
It is in $mydestination, I added this to try to get things working. I will remove it.
I did run postmap on that file. What am I missing? TIA.Pretty much everything, you'll need to spend some time understanding the content of ADDRESS_CLASS_README. Perhaps with the aid of Ralf's and Patrick's book.
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
