The following issue has been SUBMITTED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=873 
====================================================================== 
Reported By:                jpecar
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   873
Category:                   Database layer
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             14-Jan-11 17:52 CET
Last Modified:              14-Jan-11 17:52 CET
====================================================================== 
Summary:                    dbmail processes exit 0 when db returns "access
denied"
Description: 
I was suprised to find this:

[root@email-test-02 ~]# dbmail-imapd 
[root@email-test-02 ~]# echo $?
0
[root@email-test-02 ~]# ps ax |grep dbmail
 5605 pts/0    S+     0:00 grep dbmail

I traced the reason for this with strace -fs 1024 dbmail-imapd, which
shows at the end:

write(2, "Failed to start connection pool -- Access denied for user
'dbmail'@'192.168.10.96' (using password: YES)\n", 105) = 105

Reason for access denied is not important, what's important is that dbmail
should clearly communicate this error back to user, both via exit code and
via some user understandable string or at least log entry.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
14-Jan-11 17:52  jpecar         New Issue                                    
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to