Hi,
the reason for these selects is the possibility that a found
'deliver_to' email address can be a local (dbmail) mail address - so
another select is needed to verify wheter this is true.
If however the found value is numeric a new query is not needed - that
could save us a select.
regards
Hi again,
this is the debug info for these selects:
dbmail/smtp[23681]: auth_check_user(): into checking loop
dbmail/smtp[23681]: auth_check_user(): checking user [EMAIL PROTECTED] to 3
dbmail/smtp[23681]: auth_check_user(): checking user [3] in alias table
dbmail/smtp[23681]: auth_check_user():