Re: [Exim] Exiscan and sophie

Góra strony
Delete this message
Reply to this message
Autor: Tabor J. Wells
Data:  
Dla: Jay Klesitz
CC: exim-users
Temat: Re: [Exim] Exiscan and sophie
On Mon, Nov 11, 2002 at 01:56:07PM -0500,
Jay Klesitz <jay@???> is thought to have said:

> Hi,
> Im getting this error with sophie and exiscan:
>
> 2002-11-11 13:40:35 18BJUB-00074r-00 temporarily rejected by exiscan():
> temporary local problem (unable to connect to sophie UNIX socket
> (/var/run/sophie). errno=13)


My /usr/include/sys/errno.h says:

#define EACCES  13      /* Permission denied                    */


> Sophie socket is:
> srwxrwx---    1 mail     mail            0 Nov 11 13:35 sophie
> -rw-rw----    1 mail     mail            6 Nov 11 13:35 sophie.pid


The note in the doc/exiscan-readme.txt says:

    exiscan_av_sophie_socket  (string, default unset)
    -------------------------------------------------
    This option is needed ONLY for the sophie av scanner type.
    Sophie opens a unix socket in your file system. The default is
    /var/run/sophie.
    Please make sure that exim can access that socket (permissions!).
    Also make sure that the user that Sophie runs with (./configure
    option !!) is allowed to read the exim queue directory.
    Sophie drops privileges, so while it may show up as running as root
    in 'ps', it may have set its effective UID to another user !
    Ideally, exims and sophies effective user settings should be the
    same.


    Example:


             exiscan_av_sophie_socket = /var/run/sophie


Have you verified that the above is true? IOW, can the uid your exim runs
under access that socket and is sophie configured with a uid that can read
the exim queue directory?

--
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality