[Exim] MySQL and exim (how to check presence of user thru sq…

Top Page
Delete this message
Reply to this message
Author: Vladimir Sharun
Date:  
To: exim-users
Subject: [Exim] MySQL and exim (how to check presence of user thru sql lookup) ?
I have a mysql db with users (each user have their own flag, means
that user deleted, killed due to violation(s), mailbox full, etc and
finaly user that means "normal" may have a 4 different values of flags
variable, means that forward exist, web access disabled, etc.).
Mail comes to director with driver= smartuser. What kind of modifications
should I do to the exim.conf for:
1. To say 55x User XXX unknown
2. To say 55x Mailbox XXX is over quota, try again later
etc.

all of these messages must appear after RCPT TO: during SMTP session.