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 table

That's the *local* recipient table, not the *relay* recipient table.
See https://www.postfix.org/ADDRESS_CLASS_README.html

> I 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

> relay_domains = hash:/opt/mailman/mm/var/data/postfix_domains

Which domains are "relay" domains is not relevant.

> gmail.com gmail.com

You **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 localhost

This is a bad idea, because that is also (as it typically should be)
listed in $mydestination, which takes precedence.

> 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.

-- 
    Viktor.  🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to