I'd like dbmail-users to be able to show the password when doing a lookup
with -l. Doing a lookup in sql just takes to much time.

Why not use a script then? Something like this:

#!/bin/sh
mysql -u dbmail dbmail -pPASSWORD <<EOF
SELECT passwd FROM dbmail_users WHERE userid='${1}';
EOF

Reply via email to