Gerald Vogt: > Any hostname/subdomain under example.com is local. That's what I want to > tell postfix. And that regardless of what comes after the @ but in our > domain, I know all the names which can appear before the @. > > IMHO, that should not require to list all possible server names...
Use a regexp. /etc/postfix/main.cf: relay_domains = pcre:/etc/postfix/relay.pcre relay_recipient_maps = some database... /etc/postfix/relay.pcre: /\.example\.com$/ whatever It's unsafe to leave relay_recipient_maps empty when you're receiving mail from the internet. Wietse