This is a discussion on Not permitted sending reply reasons - based on MySQL within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; Dear Group, I've configured Exim 4.64 with MySQL user authorization, and I have an idea, which I'm ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Dear Group,
I've configured Exim 4.64 with MySQL user authorization, and I have an idea, which I'm not totally sure, whether it's possible to be done. Each user, has "user status" Boolean (if true, you may login and email is routed, if false, you receive login fail) stored in the database table. The idea is that I'd like to send an additional message (depending on other than Boolean user status - i.e. int32) if account is locked. Example procedure of locked account e-mail sending should be like the following: 1. User clicks "send message". 2. User is successfully authorized by MySQL module in exim. 3. User status is checked from database, and if it's 0, relay is not permitted, if status is bigger than 1, user receive reply email from "server administrator" with an error message - depended on lock status reason - and e-mail is not relayed, and finally if status is equal 1, relay is permitted and e-mail is routed. I'm wondering, shall I create some dynamic exim filter, or is it possible to do it in exim.conf file in defined section. Please do me a favor, and help me finding a solution for my problem. All the best, Przemek M. Zawada |
![]() |
| Thread Tools | |
| Display Modes | |
|
|