[Spambayes] [ spambayes-Patches-670417 ] Allow the pop3 proxies to bind to specific addresses

SourceForge.net noreply at sourceforge.net
Tue Jan 21 10:31:48 EST 2003


Patches item #670417, was opened at 2003-01-18 20:06
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=670417&group_id=61702

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Tony Lownds (tonylownds)
Assigned to: Richie Hindle (richiehindle)
Summary: Allow the pop3 proxies to bind to specific addresses

Initial Comment:
This patch allows one to specify an IP address when specifying a port in the pop3proxy_ports setting.

This is useful for two reasons:

1. By binding to a loopback address, the pop3proxy cannot be contacted from outside machines. Providing this option improves security.

2. The mail client Eudora - which is quite popular - is unable to specify a different POP port for different POP accounts. This patch alllows Eudora to be used with spambayes with multiple POP accounts.

The implementation is fairly straightforward: any place a port was passed for binding, a pair of (address, port) is passed. In the two places a port was read (from a configuration file and from command line options), either an int or an address:int is accepted. Any place a port was turned into a string for printing, the (address, port) pair is turned into a suitable string.


----------------------------------------------------------------------

>Comment By: Richie Hindle (richiehindle)
Date: 2003-01-21 18:31

Message:
Logged In: YES 
user_id=85414

Many thanks for the patch, Tony - excellent job.  Checked in
as pop3proxy.py 1.38 and spambayes/Dibbler.py 1.2.



----------------------------------------------------------------------

Comment By: Richie Hindle (richiehindle)
Date: 2003-01-20 14:28

Message:
Logged In: YES 
user_id=85414

If you can't upload them here, please email them to me.
Thanks.


----------------------------------------------------------------------

Comment By: François Granger (fgranger)
Date: 2003-01-20 13:13

Message:
Logged In: YES 
user_id=86948

I asked Tony about this, he sent me the files. Can I upload them or forward them to you ?

----------------------------------------------------------------------

Comment By: Richie Hindle (richiehindle)
Date: 2003-01-20 11:35

Message:
Logged In: YES 
user_id=85414

Has SourceForge eaten the patch file?  It says
"No Files Currently Attached".


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=670417&group_id=61702



More information about the Spambayes mailing list