I'm having a hell of a time understanding/configuring postfix. Apple's help is strictly limited to using the GUI interface, which limites to you to the most basic of configuration options, and the CLI seems to be going over my head. I had it working, but then all of a sudden I got an avalanche of bounced spam in my inbox (over and above the regular spam I've been getting), making me think some spammer was taking advantage of a poor configuration of my mail server. Anyhow, to make a long and boring story short, I'm getting the following log errors...
Nov 1 10:49:07 www postfix[232]: fatal: /etc/postfix/main.cf, line 685: missing '=' after attribute name: "permit_sasl_authenticated,"
Nov 1 10:49:08 www postfix/master[233]: fatal: /etc/postfix/main.cf, line 685: missing '=' after attribute name: "permit_sasl_authenticated,"
Nov 1 10:49:12 www postfix[237]: fatal: /etc/postfix/main.cf, line 685: missing '=' after attribute name: "permit_sasl_authenticated,"
and I can also no longer send outgoing mail. Here's my main.cf file with all the commenting stripped out. Can someone please help a newbie out?
Thanks.
Code:
queue_directory = /private/var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = apremiumbrand.com
mydestination = $myhostname,localhost.$mydomain,mail.apremiumbrand.com,12ozprophet.com,mail.12ozprophet.com,spoonfed kids.com,mail.spoonfedkids.com
unknown_local_recipient_reject_code = 450
mynetworks = 127.0.0.0/8
mailbox_command = /usr/bin/procmail -ta "$EXTENSION"
mailbox_transport = procmail
debug_peer_level = 2
bugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix/examples
readme_directory = /usr/share/doc/postfix
inet_interfaces = all
mynetworks_style = host
mydomain_fallback = localhost
myhostname = 12ozprophet.com
mailbox_transport = cyrus
luser_relay =
message_size_limit = 31457280
mydestination = $myhostname,localhost.$mydomain
smtpd_use_tls = no
smtpd_enforce_tls = no
smtpd_tls_loglevel = 0
smtpd_sasl_auth_enable = yes
smtpd_use_pw_server = yes
smtpd_pw_server_security_options = plain,login
server_enabled = 1
enable_server_options = yes
relayhost =
always_bcc =
mynetworks = 127.0.0.0/8
virtual_alias_maps = hash:/etc/postfix/virtual
body_checks = regexp:/etc/postfix/body_checks
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_rbl_client blackholes.easynet.nl,
reject_rbl_client relays.ordb.org,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client http.dnsbl.sorbs.net,
reject_rbl_client zombie.dnsbl.sorbs.net,
reject_rbl_client bl.spamcop.net,
reject_rbl_client dun.dnsrbl.net,
reject_rbl_client dynablock.njabl.org,
reject_rbl_client relays.ordb.org,
reject_rbl_client opm.blitzed.org,
reject_rbl_client combined.njabl.org,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client korea.services.net,
reject_rbl_client opm.blitzed.org,
reject_rbl_client dialups.visi.com,
reject_rbl_client relays.visi.com,
reject_rbl_client list.dsbl.org,
reject_rbl_client cn-kr.blackholes.us,
reject_rbl_client singapore.blackholes.us,
reject_rbl_client thailand.blackholes.us,
reject_rbl_client malaysia.blackholes.us,
reject_rbl_client china.blackholes.us,
reject_rbl_client korea.blackholes.us,
reject_rbl_client argentina.blackholes.us,
reject_rbl_client brazil.blackholes.us,
reject_rbl_client taiwan.blackholes.us,
reject_rbl_client nigeria.blackholes.us,
reject_rbl_client cbl.abuseat.org,
permit