OS X Server Postfix configuration I hope this is the right site to ask this question. I have successfully configured OS X server (3.0.2 on mavericks) mail service, but if i edit my /Library/Server/Mail/Config/postfix/main.cf (postfix config file), it won't affect the behaviour of the server mail service.

For example I changed smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated to smtpd_client_restrictions = reject and the same with smtpd_recipient_restrictions, but i'm still able to login to the SMTP Server and send emails.
I always did sudo postfix reload and sudo serveradmin stop mail, sudo serveradmin start mail.

What am i doing wrong?
To check which file your postfix is using do a ps ax | grep master at the command line and you should see a line with

master -c /Library/Server/Mail/Config/postfix


which tells you that it is indeed using the files in that directory.

If it is using those files then I'd try logging in from another machine using telnet and see what is says.

telnet mailserver.example.com 25


If you want to try sending a message "by hand" then check out http://www.smtp2go.com/articles/smtp-protocol for some good notes on SMTP.

It is here that Postfix will probably reject your email. If it does reject your email then set smtpd_client_restrictions back to the default and see if it then allows your email through.