In the /usr/local/etc/postfix/main.cf file, I added the line:
smtpd_recipient_restrictions = check_recipient_access hash:/usr/local/etc/postfix/access
I then added to the file /usr/local/etc/postfix/access: username1@ REJECT username2@ REJECT
I then ran the commands postmap /usr/local/etc/postfix/access postfix stop && postfix start
Then using tail -f /var/log/maillog, I got the error:
Mar 9 10:28:16 myserver postfix/postfix-script: stopping the Postfix mail system
Mar 9 10:28:16 myserver postfix/master[66263]: terminating on signal 15
Mar 9 10:28:17 myserver postfix/postfix-script: starting the Postfix mail system
Mar 9 10:28:17 myserver postfix/master[73766]: daemon started -- version 2.1.5
Mar 9 10:28:48 myserver postfix/smtpd[73796]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Mar 9 10:28:49 myserver postfix/master[73766]: warning: process /usr/local/libexec/postfix/smtpd pid 73796 exit status 1
Mar 9 10:28:49 myserver postfix/master[73766]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
I put in a hash mark for the smtpd_ line in main.cf and ran another postfix stop and start to get mail working again, but what am I doing wrong with the file?
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"