Re: [svn:qpsmtpd] r607 - in trunk: lib/Qpsmtpd plugins/auth
[email protected] (Matt Sergeant) Fri, 27 Jan 2006 15:32:08 -0500
| Newsgroups | perl.cvs.qpsmtpd |
|---|---|
| Message-ID | <[email protected]> |
On 27 Jan 2006, at 12:16, [email protected] wrote: > - my $dbh = DBI->connect( $connect, $dbuser, $dbpasswd ); > - $dbh->{ShowErrorStatement} = 1; > + my $dbh = DBI->connect( $connect, $dbuser, $dbpasswd, > + { PrintError => 0, } ) > + or return DECLINED; That doesn't seem like the right thing to do. If the db connect fails, but someone has specifically put auth/auth_vpopmail_sql in their config/plugins, surely we want it to fail a bit more severely? Matt.