Re: no socket /var/run/trophie
Alain Fauconnet <[email protected]> Fri, 3 Sep 2004 08:58:16 +0700
| Newsgroups | gmane.comp.security.virus.vtools |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Sep 02, 2004 at 01:30:12PM +0200, Martin Edenhauser wrote:
> Hi,
>
> my trophi works well and i think it's an great idea...
>
> I want to edit my amavisd.conf File to scan with trophi instead of
> ClamAV... (which works fine)
>
> I uncomment this in the amavisd.conf file:
> .
> .
> .
>
> # ### http://www.vanja.com/tools/trophie/
> ['Trophie',
> \&ask_daemon, ["{}/\n", '/var/run/trophie'],
> qr/(?x)^ 0+ ( : | [\000\r\n]* $)/, qr/(?x)^ 1 ( : | [\000\r\n]* $)/,
> qr/(?x)^ [-+]? \d+ : (.*?) [\000\r\n]* $/ ],
> .
> .
> .
>
> But when I want to send an email I get the error: "Can't connect to UNIX
> socket /var/run/trophie: No such file or directory" (I see it in
> Webmin-Postfix)
>
It's likely that amavisd-new and trophie do not agree on the location
of the socket. Run: 'trophie -v' and it will tell you where it puts
its socket, like (in my case, yours will probably be different):
Socket path : /var/amavis/trophie.sock
Then edit amavisd.conf to match this path.
Greets,
_A_