On 14 Jul 2004, [EMAIL PROTECTED] wrote: > And what about QMAILQUEUE enviroment value per-user? it will be > usefull for example for filter any users yes and others not, if > rcptcheck access LDAP to check destinations, to take QMAILQUEUE from > LDAP and modify QMAILQUEUE enviroment VALUE i think not will be so > hard, and this implementation will be powerfull.
I think that would make mail fail for certain users in a mysterious way, so maybe it's not a good idea. The other changes (DATABYTES, etc.) were environmental changes, which don't affect the mail processing pipeline. This would change the pipeline, so it would be much harder to debug. I know QMAILQUEUE can be set even now by IP, but that's intended for other purposes (internal vs. external queueing), not per-user filtering. I'm pretty sure you can test the environment inside QMAILQUEUE right now. Look at the user name and change the behavior based on that... You can even get the behavior from LDAP if you want, but I repeat that it will probably complicate debugging a lot. Ted
