[Wylug-help] Amavis config problem
j.lander at leeds.ac.uk
j.lander at leeds.ac.uk
Thu Apr 16 09:04:33 UTC 2009
Anne,
> amavisd start
> Bareword found where operator expected at /etc/amavisd.conf line 56, near
> "/tmp/clamd"
> (Missing operator before lamd?)
> Error in config file "/etc/amavisd.conf": syntax error at /etc/amavisd.conf
> line 56, near "/tmp/clamd"
>
> That 'Missing operator' bit looks weird? Anyway, line 56 says
>
> $unix_socketname = /tmp/clamd.socket
>
> It's followed by an empty line, so it can't be a missing EOL character or
> anything like that. Can anyone point me in the right direction? Thanks
The amavisd.conf file would appear to be a perl script that is read into
the amavisd process, so its contents need to be valid perl. You probably
need
$unix_socketname = "/tmp/clamd.socket";
instead.
- Jason
More information about the Wylug-help
mailing list