Jerry Amundson wrote:
Gordon Messmer wrote:
There's a distutils managed package of the pythonfilter for Courier here:
http://phantom.dragonsdawn.net/~gordon/courier-patches/courier-pythonfilter/courier-pythonfilter-0.1.tar.gz
It looks like you didn't get a chance to work on a whitelist feature. Understandable, considering your schedule in recent weeks (RHCE, etc.)... Still on your list? If not, I could research it...
I failed to mention:
Any host listed as a RELAYCLIENT in your smtpaccess files will be whitelisted from dial back authentication.
Hmm. I'm new to python, like I said, but I don't see where you match for RELAYCLIENT - only where you check the IP. [maybe also because I don't know the smtpaccess structure?]
And these checks are supposed to be the same?
if string.find( ip, '.' ):
ipsep = '.'
elif string.find( ip, '.' ):
ipsep = ':'Since we can assume dialback.py is on a Courier server, I'd like to put some smartness to it, like use "sysconfdir" from /etc/init.d/courier, if "me" exists use it, if not check for domainname, else use gethostbyaddr(gethostname()).
That's not a bad idea. The file "courier/config.py" would be the proper place to put such discovery routines, if you're inclined to patch it before I do.
Maybe, after a couple more days of python study... :-)
jerry
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
