Okay I changed the IP address from 127.0.0.1 to the local IP address.
I ran the whole procedure from OS X Server: How to enable the adaptive firewall - Apple Support again (su):
sh-3.2# pfctl -f /etc/pf.conf
pfctl: Use of -f option, could result in flushing of rules
present in the main ruleset added by the system at startup.
See /etc/pf.conf for further details.
No ALTQ support in kernel
ALTQ related functions disabled
sh-3.2# /Applications/Server.app/Contents/ServerRoot/usr/sbin/serverctl enable service=com.apple.afctl
{
}
sh-3.2# /Applications/Server.app/Contents/ServerRoot/usr/libexec/afctl -c
sh-3.2# /Applications/Server.app/Contents/ServerRoot/usr/libexec/afctl -f
No ALTQ support in kernel
ALTQ related functions disabled
No ALTQ support in kernel
ALTQ related functions disabled
pf enabled
Token : 15059476430182572699
No ALTQ support in kernel
ALTQ related functions disabled
sh-3.2# defaults write /System/Library/LaunchDaemons/com.apple.pfctl ProgramArguments '(pfctl, -f, /etc/pf.conf, -e)'
sh-3.2# chmod 644 /System/Library/LaunchDaemons/com.apple.pfctl.plist
sh-3.2# plutil -convert xml1 /System/Library/LaunchDaemons/com.apple.pfctl.plist
sh-3.2#
I rebooted and ran:
mail:~ admin$ su
Password:
sh-3.2# afctl -a 74.208.72.135
sh: afctl: command not found
Meanwhile the guys have a great time:
Aug 24 20:59:00 mail.myserver.com postfix/smtpd[3954]: warning: hostname ptr-155.133.18.81.vmline.pl does not resolve to address 155.133.18.81: nodename nor servname provided, or not known
Aug 24 20:59:31 --- last message repeated 43 times ---
Aug 24 21:07:26 mail.myserver.com postfix/smtpd[4050]: error: get user record: unable to open user record for user=test3@myserver.com
Aug 24 21:07:26 mail.myserver.com postfix/smtpd[4050]: error: verify password: unable to lookup user record for: user=test3@myserver.com
Aug 24 21:07:26 mail.myserver.com postfix/smtpd[4050]: error: authentication failed
Aug 24 21:07:26 mail.myserver.com postfix/smtpd[4050]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 21:19:16 mail.myserver.com postfix/smtpd[4180]: error: get user record: unable to open user record for user=tim@myserver.com
Aug 24 21:19:16 mail.myserver.com postfix/smtpd[4180]: error: verify password: unable to lookup user record for: user=tim@myserver.com
Aug 24 21:19:16 mail.myserver.com postfix/smtpd[4180]: error: authentication failed
Aug 24 21:19:16 mail.myserver.com postfix/smtpd[4180]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 21:30:53 mail.myserver.com postfix/smtpd[4308]: error: get user record: unable to open user record for user=apple@myserver.com
Aug 24 21:30:53 mail.myserver.com postfix/smtpd[4308]: error: verify password: unable to lookup user record for: user=apple@myserver.com
Aug 24 21:30:53 mail.myserver.com postfix/smtpd[4308]: error: authentication failed
Aug 24 21:30:53 mail.myserver.com postfix/smtpd[4308]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 21:42:36 mail.myserver.com postfix/smtpd[4871]: error: get user record: unable to open user record for user=b@myserver.com
Aug 24 21:42:36 mail.myserver.com postfix/smtpd[4871]: error: verify password: unable to lookup user record for: user=b@myserver.com
Aug 24 21:42:36 mail.myserver.com postfix/smtpd[4871]: error: authentication failed
Aug 24 21:42:36 mail.myserver.com postfix/smtpd[4871]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 21:54:19 mail.myserver.com postfix/smtpd[514]: error: get user record: unable to open user record for user=backupexec@myserver.com
Aug 24 21:54:19 mail.myserver.com postfix/smtpd[514]: error: verify password: unable to lookup user record for: user=backupexec@myserver.com
Aug 24 21:54:19 mail.myserver.com postfix/smtpd[514]: error: authentication failed
Aug 24 21:54:19 mail.myserver.com postfix/smtpd[514]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 22:06:08 mail.myserver.com postfix/smtpd[848]: error: get user record: unable to open user record for user=install@myserver.com
Aug 24 22:06:08 mail.myserver.com postfix/smtpd[848]: error: verify password: unable to lookup user record for: user=install@myserver.com
Aug 24 22:06:08 mail.myserver.com postfix/smtpd[848]: error: authentication failed
Aug 24 22:06:08 mail.myserver.com postfix/smtpd[848]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 22:17:51 mail.myserver.com postfix/smtpd[454]: error: get user record: unable to open user record for user=laptop@myserver.com
Aug 24 22:17:51 mail.myserver.com postfix/smtpd[454]: error: verify password: unable to lookup user record for: user=laptop@myserver.com
Aug 24 22:17:51 mail.myserver.com postfix/smtpd[454]: error: authentication failed
Aug 24 22:17:51 mail.myserver.com postfix/smtpd[454]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 22:29:40 mail.myserver.com postfix/smtpd[803]: error: get user record: unable to open user record for user=lola@myserver.com
Aug 24 22:29:40 mail.myserver.com postfix/smtpd[803]: error: verify password: unable to lookup user record for: user=lola@myserver.com
Aug 24 22:29:40 mail.myserver.com postfix/smtpd[803]: error: authentication failed
Aug 24 22:29:40 mail.myserver.com postfix/smtpd[803]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 22:41:22 mail.myserver.com postfix/smtpd[532]: error: get user record: unable to open user record for user=ospite@myserver.com
Aug 24 22:41:22 mail.myserver.com postfix/smtpd[532]: error: verify password: unable to lookup user record for: user=ospite@myserver.com
Aug 24 22:41:22 mail.myserver.com postfix/smtpd[532]: error: authentication failed
Aug 24 22:41:22 mail.myserver.com postfix/smtpd[532]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 22:53:10 mail.myserver.com postfix/smtpd[1290]: error: get user record: unable to open user record for user=postgres@myserver.com
Aug 24 22:53:10 mail.myserver.com postfix/smtpd[1290]: error: verify password: unable to lookup user record for: user=postgres@myserver.com
Aug 24 22:53:10 mail.myserver.com postfix/smtpd[1290]: error: authentication failed
Aug 24 22:53:10 mail.myserver.com postfix/smtpd[1290]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed
Aug 24 22:53:13 mail.myserver.com postfix/postscreen[1284]: warning: dnsblog reply timeout 10s for zen.spamhaus.org
Aug 24 22:53:33 mail.myserver.com postfix/dnsblog[1285]: warning: dnsblog_query: lookup error for DNS query 135.72.208.74.zen.spamhaus.org: Host or domain name not found. Name service error for name=135.72.208.74.zen.spamhaus.org type=A: Host not found, try again
Aug 24 23:05:01 mail.myserver.com postfix/smtpd[1806]: error: get user record: unable to open user record for user=update@myserver.com
Aug 24 23:05:01 mail.myserver.com postfix/smtpd[1806]: error: verify password: unable to lookup user record for: user=update@myserver.com
Aug 24 23:05:01 mail.myserver.com postfix/smtpd[1806]: error: authentication failed
Aug 24 23:05:01 mail.myserver.com postfix/smtpd[1806]: warning: s15434454.onlinehome-server.com[74.208.72.135]: SASL LOGIN authentication failed