Not permitted sending reply reasons - based on MySQL

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 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.exim

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-29-2006
pmz
 
Posts: n/a
Default Not permitted sending reply reasons - based on MySQL

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:05 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0