Exim ACLs - Recipient Verification against Usernames in a MySQL database?
what I want to do is to check incoming emails to see if they are addressed to valid recipients on our server. Valid recipients usernames are stored in a mysql database. If emails are being addressed to non-existent users I want exim to respond with a simple "No such user here" message and not accept the message. If the recipient exists, I would like mail delivery to continue as normal.Any help or links to ACL code samples would be much appreciated.