Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th April 2006, 00:32
Mave Mave is offline
Junior Member
 
Join Date: Apr 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Users And Domains With Postfix, Courier And MySQL

I am following the howto mentioned in the title but stuck on page 3. I have just editted /etc/amavis/amavisd.conf and entered the following commands:

adduser clamav amavis
/etc/init.d/amavis restart

When amavis restarts i get the following error:

Stopping amavisd: amavisd-new.
Starting amavisd: Error in config file /etc/amavis/amavisd.conf: syntax error at /etc/amavis/amavisd.conf line 835, near "'SELECT "Y" as local FROM domains WHERE CONCAT("@",domain) IN (%k)';"
(failed).

This line is in the howto so what could be wrong with it?
Reply With Quote
Sponsored Links
  #2  
Old 12th April 2006, 00:40
Mave Mave is offline
Junior Member
 
Join Date: Apr 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Talking

Problem solved, syntax was wrong, my bad.

But now i get the next error, but this line seems correct to me

Starting amavisd: Error in config file /etc/amavis/amavisd.conf: Can't modify concatenation (.) or string in scalar assignment at /etc/amavis/amavisd.conf line 846, near "undef;"
syntax error at /etc/amavis/amavisd.conf line 846, near "undef;"
(failed).

The line says:

$sql_select_white_black_list = undef; # undef disables SQL white/blacklisting

Last edited by Mave; 12th April 2006 at 00:44.
Reply With Quote
  #3  
Old 12th April 2006, 08:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

Quote:
Originally Posted by Mave
$sql_select_white_black_list = undef; # undef disables SQL white/blacklisting
This line looks fine to mee. Can you please post some of the lines before this line.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 12th April 2006, 10:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please copy and paste amavisd.conf from http://www.howtoforge.com/virtual_po...ota_courier_p3 . This should help to avoid typos.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 12th April 2006, 19:30
Mave Mave is offline
Junior Member
 
Join Date: Apr 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko
Please copy and paste amavisd.conf from http://www.howtoforge.com/virtual_po...ota_courier_p3 . This should help to avoid typos.
That did solve the problem, thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota... killfrog HOWTO-Related Questions 3 25th September 2009 21:45
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs Rocky Installation/Configuration 24 9th February 2006 11:08


All times are GMT +2. The time now is 14:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.