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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Vladimir Sharun
Dátum:  
Címzett: exim-users
Tárgy: [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.