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
Good thought Jerry - that's along the same lines I've been thinking - but that sysconfdir is a different place for many people - should be something up top and commented so it's easy for poeple to change. Also, the entire piece of code could be skipped if someone defines the value in advance - in a constant or adds any code that defines it (like a dynamic postmaster address based on the destination delivery domain for virtual hosting)
m/
Right, which is why I'd pull it from the rc script...
[EMAIL PROTECTED] courier]# grep ^sysconfdir /etc/init.d/courier sysconfdir="/etc/courier"
Now if the rc scripts were always in the same place, then we'd have something! :-)
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
