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...


Regarding dialback.py :

# The postmaster address will be used for the "MAIL" command in the
# dialback conversation.
postmaster_addr = '[EMAIL PROTECTED]' % socket.gethostname()

This would rarely work for me, as I give servers names that the Internet knows nothing about.

Also, from the Python docs:

Note: gethostname() doesn't always return the fully qualified domain name; use gethostbyaddr(gethostname()) (see below).

If we dialback to another Courier server, "[EMAIL PROTECTED]", for example, will "517 Syntax error." in a hurry. I'll hard-code my own domain if I put this in place.

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()).

my 2 cents...

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

Reply via email to