Q: 10.8.1 server postfix whitelist
Having upgraded a server to mountain lion and then applied the .1 upgrade I now have 10.8.1 mountain lion server
I was looking to whitelist a couple of domains so that there email would never be blocked
I look in
/Library/Server/Mail/Config/postfix/rbl_whitelist
but the file says:
=============================================
: cat rbl_whitelist
### DO NOT MANUALLY EDIT THIS FILE ###
# This file is automatically generated
# any manual additions to this file will be lost
==============================================
So which GUI or server admin type utility is best to add a couple of domains to a whitelist?
If this whitelist only applies to the issue of RBL then I may need still to research into other programs like Spam Assassin to fully make sure important email for us is not hampered or blocked.
Ben
Mac mini Server (Mid 2011), OS X Server, email server
Posted on Aug 31, 2012 9:45 AM
Hi Ben,
Going a little bit deeper into a useful tip before answering your question. As a general rule, but not always, the Serveradmin command from a terminal session will let you do most things that the GUI does. Most, not all.....
So to look for commands under Serveradmin that might help you, the easiest thing to do ( again as a general rule) is to type the following at a terminal prompt.
$ sudo serveradmin settings list
This will give you a list of the server "services".
Then type:
$ sudo serveradmin settings mail
to get a complete list of the mail settings.
If you know what you are looking for, e.g whitelisting, you could type:
$ sudo serveradmin settings | grep white
And that would return some settings of interest that were available through serveradmin.
To answer your question , the command you are looking for is:
$ sudo serveradmin settings mail:postfix:add_whitelist_domain = 'domain1.com,domain2.com,etc'
Hope that helps
Gerry
Posted on Aug 31, 2012 7:50 PM