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?
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).
Recent comments
1 day 14 hours ago
1 day 16 hours ago
2 days 4 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 17 hours ago
3 days 3 hours ago
3 days 4 hours ago
3 days 12 hours ago
3 days 14 hours ago