Transparent mode.

ozgurerdogan

Renowned Member
May 2, 2010
622
6
83
Bursa, Turkey, Turkey
I am managing many directadmin and windows mail servers with many domains. I played with PMG. I saw that I have to add my domains to PMG. Is there a way to define ip instead of domains. That would be much easier and I would not have to add each newly created domain that I added to mail servers. I think this is called transparent mode.
 
short answer - no - for inbound mails the relay-domains setting is used to prevent PMG from becoming an open relay
additionally this list is used to determine if a spamreport should be sent to an e-mail (it is only sent for internal addresses)
(there are other places where the domain-list is used)

You can use the rest-api to add the new domains with a script though (or use a script to write /etc/pmg/domains)

I hope this helps!
 
  • Like
Reactions: gurubert