Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 1st, 2004, 10:10 AM
misteraven misteraven is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 67 misteraven User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 16 sec
Reputation Power: 7
main.cf help on OSX 10.3.4

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

Reply With Quote
  #2  
Old November 1st, 2004, 02:48 PM
satyap satyap is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 210 satyap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 49 sec
Reputation Power: 4
You could fix the problems reported in the error log. At a guess, your smtpd recipient restrictions=stuff all has to be on one line. Try using \ to escape the newlines.

Reply With Quote
  #3  
Old November 2nd, 2004, 06:50 AM
misteraven misteraven is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 67 misteraven User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 16 sec
Reputation Power: 7
Quote:
Originally Posted by satyap
You could fix the problems reported in the error log. At a guess, your smtpd recipient restrictions=stuff all has to be on one line. Try using \ to escape the newlines.


I tried that and it didnt work either. Instead it reported an error at the end of the entries.

I figured there'ed be a lot more users familiar with postfix on this board.

Anyone that can help?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > main.cf help on OSX 10.3.4


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway