Hi Iam trying to add anti spam to my ubuntu server Following these steps Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS) As I don;t want users mail in an sql file but just in there maildir I started with chapter 9 But when /etc/init.d/amavis restart I get an error response. Stopping amavisd: amavisd-new. Starting amavisd: Error in config file "/etc/amavis/conf.d/15-content_filter_mode": syntax error at /etc/amavis/conf.d/15-content_filter_mode line 23, near "1;" (failed). Thet line mentioned I did not change. Any ideas how to go about this? Thanks Harry
Show us Hi Harry, Can you show us the contents of the file?? It could be the line before it causing the problem and the system just reports the problem with line 23. Spaces, or any stray punctuation will cause you grief. Later, Tony
This is what the file looks like use strict; # You can modify this file to re-enable SPAM checking through spamassassin # and to re-enable antivirus checking. # # Default antivirus checking mode # Uncomment the two lines below to enable it back # @bypass_virus_checks_maps = ( # \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re); # # Default SPAM checking mode # Uncomment the two lines below to enable it back # @bypass_spam_checks_maps = ( # \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re); 1; # ensure a defined return