Nick Ramsay <[EMAIL PROTECTED]> said: > Doesn't this require a bit more trickery to associate IP addresses > with user accounts?
Good question Nick. I don't know for sure. Bear with me as I'm trying to gather all the information and decipher it. Many thanks to those that have shared information so far :-> Gordon pointed out the main docs for tcprules are here: http://cr.yp.to/ucspi-tcp/tcprules.html And they give this example: [EMAIL PROTECTED]:first 18.23.0.32:second :third 127.:fourth If $TCPREMOTEIP is 10.119.75.38, tcpserver will follow the third instructions. If $TCPREMOTEIP is 18.23.0.32, tcpserver will follow the second instructions. If $TCPREMOTEIP is 127.0.0.1 and $TCPREMOTEINFO is bill, tcpserver will follow the fourth instructions. If $TCPREMOTEIP is 127.0.0.1 and $TCPREMOTEINFO is joe, tcpserver will follow the first instructions. So 'possibly' if we expand on this we could have as one example: [EMAIL PROTECTED]:allow,RELAYCLIENT="",MAILRULES="/var/qmail/control/mailrules.joe" Even if this doesn't work then we could simply use the exact users e-mail address directly in the mailrules file. Example: [EMAIL PROTECTED]:*@.mycompany.com [EMAIL PROTECTED]:*@*:Sorry, you are restricted to local mail only This states joe is accepted to e-mail anyone local but rejected to everywhere else. I REALLY would like everyone to install my contrib and give it a try: http://myezserver.com/downloads/mitel/alpha/mailrules/ It is alpha, will change, but it does work. It will at least get everyone aquainted with the possibilities so we can discuss further mailrules development. Regards, -- Darrell May DMC Netsourced.com http://myEZserver.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org
