Howdy, List.
How can I set Courier up to accept mail for wildcard DNS? I'm using authmysql / courier 0.44. Here's what I would expect to work:
1. mx record for *.foobar.com points at mx.myserver.com
2. .foobar.com added in myserver's esmtpacceptmailfor (note the leading '.')
3. makeacceptmailfor
4. add entry in mySql with email address defined as [EMAIL PROTECTED] (note the '.' after the '@'; this is with mysql_select_clause)
5. mail to [EMAIL PROTECTED] accepted to homedir / uid / gid as defined in SQL.
6. If [EMAIL PROTECTED] is defined in one of the db entries, any mail to [EMAIL PROTECTED] should be accepted as well.
I'd also expect tight binding -- e.g., if entry A has [EMAIL PROTECTED] and entry B has [EMAIL PROTECTED] are both defined, any email under the *.usa.foobar.com domain would go to entry A. I'd expect to need 2 entries -- one for [EMAIL PROTECTED], and another for [EMAIL PROTECTED]; otherwise there's no way to split them.
The only thing I've been able to think of, short of writing a patch, is adding an ugly SQL hack in the MYSQL_SELECT_CLAUSE. There's got to be a better way...
Courier Gurus, Help?
as always, Many thanks, Jeff
------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
