[Exim] MySQL sender/recip rejection figured out

Top Page
Delete this message
Reply to this message
Author: Brian K. West
Date:  
To: exim-users
Subject: [Exim] MySQL sender/recip rejection figured out

Director:

recipient_reject:
driver = aliasfile
senders = ${lookup mysql {MYSQL_SEND_REJECT}{$value}}
search_type = lsearch*
file = /etc/blocked

contents of /etc/bloced

*: :fail: message to send back

Query:
MYSQL_SEND_REJECT = SELECT sender FROM sender_reject WHERE
sender='${sender_address}' AND recipient='${local_part}@${domain}'


This allows me to make a control panel for users to add senders.. note
theses are not global, they are unique to each.


Also where can I get more information on mysql usage with exim? I have yet
to find many docs for this!

Thank,
Brian