Koozali.org: home of the SME Server

Amavis-ng + Clam Antivurs + sme 5.6

Steen Hadsbjerg

Amavis-ng + Clam Antivurs + sme 5.6
« on: December 27, 2002, 12:52:49 AM »
I have tried to install Amavis and Clam on a server running 5.6b7 using Damiens howto.

Installation runs quit well but afterwards qmail gives an error.

Checking the log says:


Failed to open /etc/amavis/amavis.conf: Permission denied at /usr/lib/perl5/site_perl/5.6.1/AMAVIS.pm line 105

Unable to open config file /etc/amavis/amavis.conf:  at /usr/lib/perl5/site_perl/5.6.1/AMAVIS.pm line 106.

smtpfront-qmail[7358]: Temporary qmail-queue failure.

smtpfront-qmail[7358]: bytes in: 1123 bytes out: 203



The amavis.conf is located in /etc/amavis/ - perhaps it has something to do with the right permissions?

Any help would be appreciated,

Steen

Damien Curtain

Re: Amavis-ng + Clam Antivurs + sme 5.6
« Reply #1 on: December 27, 2002, 01:23:56 AM »
Steen Hadsbjerg wrote:
>
> I have tried to install Amavis and Clam on a server running
> 5.6b7 using Damiens howto.
>
> Installation runs quit well but afterwards qmail gives an
> error.
>
> Checking the log says:
>
>
> Failed to open /etc/amavis/amavis.conf: Permission denied at
> /usr/lib/perl5/site_perl/5.6.1/AMAVIS.pm line 105
>
> Unable to open config file /etc/amavis/amavis.conf:  at
> /usr/lib/perl5/site_perl/5.6.1/AMAVIS.pm line 106.
>
> smtpfront-qmail[7358]: Temporary qmail-queue failure.
>
> smtpfront-qmail[7358]: bytes in: 1123 bytes out: 203
>
>
>
> The amavis.conf is located in /etc/amavis/ - perhaps it has
> something to do with the right permissions?

From the error message you'd assume so. Run

rpm --setperms -qf /etc/amavis/amavis.conf

The file should be readable by the unprivilaged user set in your configuration file.
--
 Damien
--
 Damien

Steen Hadsbjerg

Re: Amavis-ng + Clam Antivurs + sme 5.6
« Reply #2 on: December 27, 2002, 01:45:15 AM »
Thanks Damien,

That did the job.

Steen