Ronald I. Nutter said:
> Aug 25 07:22:43 samx2 amavisd[23078]: SpamControl: initializing
> Mail::SpamAssassin
>
> Also, you can watch only SA related items by starting it with: amavisd
> debug-sa
>
> Lastly, are you running amavisd in a chroot jail?  If so did you
> correctly setup all the chroot directories and copy the needed files
> over?
>
> -matt
>
> Matt:
>
> Thanks for the reply:  Will try the debug-sa.  Looks like I have some
> other reading to do. Not sure about running amavisd in a chroot jail.  I
> following the instructions in the Scott Henderson document and copied
> files where indicated.
>
> Ron
>
[snip]

One of the ways you can check for chroot is by looking in the /etc/amavisd.conf 
file
near the top for thisline:
$daemon_chroot_dir = $MYHOME;

Also, it should be listed in the amavisd debug output:
Aug 25 07:22:43 samx2 amavisd[23078]: Net::Server: Chrooting to /var/amavis
Aug 25 07:22:43 samx2 amavisd[23078]: Net::Server: Setting gid to "123 123"
Aug 25 07:22:43 samx2 amavisd[23078]: Net::Server: Setting uid to "123"
Aug 25 07:22:43 samx2 amavisd[23078]: Net::Server: Setting up serialization via 
flock
Aug 25 07:22:43 samx2 amavisd[23078]: Found $file       at (chroot: 
/var/amavis/)
/usr/bin/file
Aug 25 07:22:43 samx2 amavisd[23078]: No $arc,          not using it
Aug 25 07:22:43 samx2 amavisd[23078]: Found $gzip       at (chroot: 
/var/amavis/)
/usr/bin/gzip

If you are running in chrooted mode, I would read through Mark's chroot readme:
http://www.ijs.si/software/amavisd/README.chroot

Now we are getting kinda far from SA, so it might be best to move over to the 
amavis
users list ;)

-matt

Reply via email to