Szerző: Phil Pennock Dátum: Címzett: Rick Duval CC: exim users Tárgy: Re: [exim] Populate a local recipient array from MySQL
On 2008-11-18 at 18:25 -0500, Rick Duval wrote: > Is there no way to populate a "local_recipient" type list (does it
> exist?) from a MySQL database in the same manner the "local_domains"
> list so that "verify = recipient" would work?
Of course you can. You (can) have "local_parts" preconditions on the
relevant Routers, just as you have "domains" preconditions. You can use
a localpartlist just as you can use a domainlist such as local_domains.
You can even use a special verify_only Router which uses this check.
Of course, the question is why this isn't happening already; "verify =
recipient" verifies that there's a Router which will accept the
recipient. You should only be accepting recipients which exist, which
means that there's a bug in your existing Routers. Perhaps you accept
all mail for a domain and the Transport fails for some users, so you're
generating backscatter bounces? So you need to adjust the existing
Router to verify local_parts first.
You'll need to be more specific about what you have and what's going
wrong and what you've already tried.