Yes, but I'm having the issue using ports > 1024:
$ python /usr/bin/pop3proxy.py -u 1025 -b
SpamBayes POP3 Proxy Beta2, version 0.2 (September 2003),
using SpamBayes POP3 Proxy Web Interface Alpha3, version 0.03
and engine SpamBayes Beta2, version 0.2 (July 2003).
Loading database...
Traceback (most recent call last):
File "/usr/bin/pop3proxy.py", line 820, in ?
run()
File "/usr/bin/pop3proxy.py", line 814, in run
start(state=state)
File "/usr/bin/pop3proxy.py", line 752, in start
main(state.servers, state.proxyPorts, state.uiPort, state.launchUI)
File "/usr/bin/pop3proxy.py", line 729, in main
_createProxies(servers, proxyPorts)
File "/usr/bin/pop3proxy.py", line 707, in _createProxies
listener = BayesProxyListener(server, serverPort, proxyPort)
File "/usr/bin/pop3proxy.py", line 299, in __init__
Dibbler.Listener.__init__(self, proxyPort, BayesProxy, proxyArgs)
File "/usr/lib/python2.2/site-packages/spambayes/Dibbler.py", line 267, in
__init__
self.bind(port)
File "/usr/lib/python2.2/asyncore.py", line 312, in bind
return self.socket.bind (addr)
socket.error: (13, 'Permission denied')
This does work:
su -c " python /usr/bin/pop3proxy.py -u 1025 -b"
-- Stephen
On Sunday 07 September 2003 07:12 pm, Andrew Gaffney wrote:
> Stephen Boulet wrote:
> > I'm trying to configure spambayes as a user, but am getting an error when
> > I'm not root.
> >
> > The program sets up a port you can go to with a browser as a web
> > interface configuration page (http://localhost:8880).
> >
> > I've tried using other ports but have run into the same permissions
> > problem. How can I give myself rights to do this?
>
> Only root can listen on any port <1024.
--
[EMAIL PROTECTED] mailing list