In the last episode (Apr 23), Harald Schmalzbauer said:
> Am Freitag, 23. April 2004 11:27 schrieb Harald Schmalzbauer:
> > Dear all,
> >
> > is it possible that spamass-milter doesn't work in a jail?
> 
> Ok, I verified that it's working with the same configuration under
> -stabel outside a jail, but not on -current inside a jail.
> 
> Is there any way I can make it work? I think the problem is with the
> local socket between sendmail and spamass-milter.
> 
> Is there a sysctl to allow local sockets or is it possible to tell
> sendmail to connect via localhost (127.0.0.1)?

If your jail is not chrooted at /, "/var/run/spamass-milter.sock" will
point to different locations inside and outside the jail, so you'll
have to use inet sockets to communicate.  

Actually if you have a single jail, you can configure the outer
processes to use /usr/myjail/var/run/spamass-milter.sock and the jailed
processes to use /var/run/spamass-milter.sock, but that won't work if
you have multiple jails.
 
The sendmail syntax is "inet:[EMAIL PROTECTED]|ip-address}", so you can do
something like this in your .mc file:

INPUT_MAIL_FILTER(`spamassassin',`S=inet:[EMAIL PROTECTED], F=, 
T=C:15m;S:4m;R:4m;E:10m')dnl 

and then run spamass-milter with "-p inet:[EMAIL PROTECTED]".

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to