Q: Yosemite postfix aliases - problems
I have always used postfix aliases in earlier versions of OS X server with no problems
Having moved to Yoesmite seems problematic....
I have learned that by default they are not enabled. and so I have uncommented the following lines to main.cf in /Library/Server/Mail/Config/postfix
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
And I have also learned that the install includes both the standard postfix and Apple-modified versions of executables (which came as a bit of a surprise!!)
So after editing main.cf and aliases I have done:
newaliases
postmap -c /Library/Server/Mail/Config/postfix /Library/Server/Mail/Config/postfix/access
postfix -c /Library/Server/Mail/Config/postfix reload
,,,,but no joy. The client is unable to send the message, so presumably the server is rejecting the (aliased) user.
Annoyingly I did have it working briefly but managed to break it again.
I'd be very grateful for any advice, thanks
Posted on Apr 5, 2016 1:29 PM
You have to specify the path to the configuration directory in all those commands. Otherwise you're modifying the wrong files.
Posted on Apr 7, 2016 1:40 AM