Re: no socket /var/run/trophie

Martin Edenhauser <[email protected]> Fri, 03 Sep 2004 10:37:29 +0200
Newsgroups gmane.comp.security.virus.vtools
Message-ID <1094200649.3249.65.camel@localhost>
Am Fre, den 03.09.2004 schrieb Alain Fauconnet um 3:58:
> 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_
> _______________________________________________
> vtools mailing list
> [email protected]
> http://www.vanja.com/list/listinfo.cgi/vtools

Thank you for your quick answer!

When i run 'trophi -v' i get the following text: 

Initializing    : VSAPI version 7.000-1011
Initializing    : Pattern version 162 (pattern number 70349)
Socket path     : /var/run/trophie
Timeout         : 300 seconds
Running as user : mail
Socket group    : mail
Max processes   : 20
PID file        : /var/run/trophie.pid
Trophie version : 1.12
Cleanup         : VSAPI cleaned up and terminated


The socket path seems to be right, but there is no socket :-((

I have searched for "trophie.sock" too, but I can't find this file...

Maybe I have forgotten to compile something?

Nice greetings from austria,
Martin