Re: socket SA is not fast enough, help

2006-04-02 Thread Nix
On Wed, 29 Mar 2006, Matthew van Eerde whispered secretively: > mouss wrote: >> unix sockets can't be used if the client and the server are in disjoint jails > > Really? Not even with symlinks (can you symlink a socket) or mount --bind? mount --bind and/or subtree sharing will of course do the t

Re: socket SA is not fast enough, help

2006-03-30 Thread mouss
Thomas Hochstein wrote: mouss schrieb: Use the 'REPORT' or 'REPORT_IFSPAM' spamd command instead of 'SYMBOLS' or 'PROCESS' to get the full score report but not the full message. This requires parsing the message. I would like getting something like: ALL_TRUSTED=-1.44,MISSING_SUBJECT=1.345

Re: socket SA is not fast enough, help

2006-03-30 Thread Thomas Hochstein
mouss schrieb: >> Use the 'REPORT' or 'REPORT_IFSPAM' spamd command instead of 'SYMBOLS' >> or 'PROCESS' to get the full score report but not the full message. > > This requires parsing the message. > > I would like getting something like: > > ALL_TRUSTED=-1.44,MISSING_SUBJECT=1.345 Why don't you

RE: socket SA is not fast enough, help

2006-03-29 Thread Matthew.van.Eerde
John D. Hardin wrote: > On Wed, 29 Mar 2006 [EMAIL PROTECTED] wrote: >> >> Windows does not have anything like UNIX domain sockets. The >> closest thing to it would be a TCP server listening on 127.0.0.1 >> and only accepting connections from 127.0.0.1 - but that has the >> same overhead as any o

RE: socket SA is not fast enough, help

2006-03-29 Thread John D. Hardin
On Wed, 29 Mar 2006 [EMAIL PROTECTED] wrote: > Rob McEwen (PowerView Systems) wrote: > > Justin Mason wrote: > >> for what it's worth, the overhead of UNIX domain sockets is a lot > >> less. > > > > ... any 3rd party tool to enhance and/or speed up window's built-in sockets? > > Windows does no

Re: socket SA is not fast enough, help

2006-03-29 Thread mouss
[EMAIL PROTECTED] wrote: You can probably set that up in local.cf with clear_report_template report _TESTSSCORES(,)_ That works. Thanks.

Re: socket SA is not fast enough, help

2006-03-29 Thread mouss
[EMAIL PROTECTED] wrote: mouss wrote: unix sockets can't be used if the client and the server are in disjoint jails Really? Not even with symlinks (can you symlink a socket) or mount --bind? symlinks are relative to the chroot. so # ln -s /etc/foo /var/chroot/app/etc/foo doesn't work (beca

RE: socket SA is not fast enough, help

2006-03-29 Thread Matthew.van.Eerde
mouss wrote: > I would like getting something like: > > ALL_TRUSTED=-1.44,MISSING_SUBJECT=1.345 > > instead of (REPORT): > > blahblah > ... > ... > Content analysis details: (-0.1 points, 5.0 required) > > pts rule name description > -- > --

Re: socket SA is not fast enough, help

2006-03-29 Thread mouss
David B Funk wrote: On Tue, 28 Mar 2006, mouss wrote: Another thing is that I can't find a way to get the SA headers (as they would be added by spamassassin) without having the full message sent back (SYMBOLS doesn't return the score of each test). or am I missing something? Use the 'REPORT'

RE: socket SA is not fast enough, help

2006-03-29 Thread Matthew.van.Eerde
Matthew.van.Eerde wrote: > mouss wrote: >> unix sockets can't be used if the client and the server are in >> disjoint jails > > Really? Not even with symlinks (can you symlink a socket) or mount > --bind? /me comes to his senses Of course you can't symlink out of a jail, duh -- Matthew.van.

RE: socket SA is not fast enough, help

2006-03-29 Thread Matthew.van.Eerde
mouss wrote: > unix sockets can't be used if the client and the server are in disjoint jails Really? Not even with symlinks (can you symlink a socket) or mount --bind? -- Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902 Hispanic Business Inc./HireDiversity.com Software Eng

RE: socket SA is not fast enough, help

2006-03-29 Thread Matthew.van.Eerde
Rob McEwen (PowerView Systems) wrote: > Justin Mason wrote: >> for what it's worth, the overhead of UNIX domain sockets is a lot >> less. > > ... any 3rd party tool to enhance and/or speed up window's built-in sockets? Windows does not have anything like UNIX domain sockets. The closest thing t

Re: socket SA is not fast enough, help

2006-03-29 Thread mouss
Justin Mason wrote: Adam Lanier writes: On Wed, 2006-03-29 at 08:50 -0800, Kenneth Kim wrote: My spamassassin is running on a remote server, no way to get around this at the moment. I am connecting to spamd on the remote server using sockets in php. Unfortunately I have to close the socket to g

Re: socket SA is not fast enough, help

2006-03-29 Thread David B Funk
On Tue, 28 Mar 2006, mouss wrote: > Another thing is that I can't find a way to get the SA headers (as they > would be added by spamassassin) without having the full message sent > back (SYMBOLS doesn't return the score of each test). or am I missing > something? Use the 'REPORT' or 'REPORT_IFSPA

Re: socket SA is not fast enough, help

2006-03-29 Thread Rob McEwen (PowerView Systems)
Justin Mason wrote: > for what it's worth, the overhead of UNIX domain sockets is a lot less. I confess, I don't use SA... but I've frequented this list for a long time because I respect that expertise of SA users. Anyway... the mail server software I use runs on Windows 2003 and, recently, thi

Re: socket SA is not fast enough, help

2006-03-29 Thread Justin Mason
Adam Lanier writes: > On Wed, 2006-03-29 at 08:50 -0800, Kenneth Kim wrote: > > My spamassassin is running on a remote server, no way to get around > > this at the moment. I am connecting to spamd on the remote server > > using sockets in php. Unfortunately I have to close the socket to get > > a

Re: socket SA is not fast enough, help

2006-03-29 Thread Adam Lanier
On Wed, 2006-03-29 at 08:50 -0800, Kenneth Kim wrote: > My spamassassin is running on a remote server, no way to get around > this at the moment. I am connecting to spamd on the remote server > using sockets in php. Unfortunately I have to close the socket to get > a response/spam score from the se

Re: socket SA is not fast enough, help

2006-03-29 Thread Kenneth Kim
My spamassassin is running on a remote server, no way to get around this at the moment. I am connecting to spamd on the remote server using sockets in php. Unfortunately I have to close the socket to get a response/spam score from the server. Is there any other way to promt a response from the serv

Re: socket SA is not fast enough, help

2006-03-28 Thread mouss
Matt Kettler wrote: Kenneth Kim wrote: I've found that SpamAssassin will not return a score until I close socket writing. Once i've closed the writing, in order to get a score for the next message, I have to reopen the connection in php to send another message to SA. I hope I'm wrong about this,

Re: socket SA is not fast enough, help

2006-03-27 Thread Matt Kettler
Kenneth Kim wrote: > I've found that SpamAssassin will not return a score until I close > socket writing. Once i've closed the writing, in order to get a score > for the next message, I have to reopen the connection in php to send > another message to SA. I hope I'm wrong about this, but currently

socket SA is not fast enough, help

2006-03-27 Thread Kenneth Kim
I've found that SpamAssassin will not return a score until I close socket writing. Once i've closed the writing, in order to get a score for the next message, I have to reopen the connection in php to send another message to SA. I hope I'm wrong about this, but currently I'm bottle necking at becau