Hi Aaron,

  Your latest fix works-for-me. :)

Thanks,
--Keith


[EMAIL PROTECTED] wrote:
> The following issue has been RESOLVED. 
> ====================================================================== 
> http://dbmail.org/mantis/view.php?id=617 
> ====================================================================== 
> Reported By:                asianux-keith
> Assigned To:                aaron
> ====================================================================== 
> Project:                    DBMail
> Issue ID:                   617
> Category:                   general delivery
> Reproducibility:            always
> Severity:                   minor
> Priority:                   normal
> Status:                     resolved
> target:                      
> Resolution:                 fixed
> Fixed in Version:           2.2.6
> ====================================================================== 
> Date Submitted:             28-Jun-07 04:47 CEST
> Last Modified:              09-Jul-07 01:29 CEST
> ====================================================================== 
> Summary:                    bad dsn returned for mailbox over quota
> Description: 
> When postfix get over quota message from dbmail, it returns an 'unknown
> user' message in the bounce.
> 
> This similar in symptoms to bug 164.
> 
> dbmail/smtp[17663]: Info:[dsn] dsn.c,dsn_tostring(+168): Invalid dsn code
> received [6][0][0]
> 
> 6.x.x doesn't seem valid
> RFC 1893 suggests X.2.2
> (so, maybe it should be 4.2.2?)
> 
> ====================================================================== 
> 
> ---------------------------------------------------------------------- 
>  aaron - 29-Jun-07 08:49  
> ---------------------------------------------------------------------- 
> Fixed in SVN. 
> 
> ---------------------------------------------------------------------- 
>  asianux-keith - 03-Jul-07 11:00  
> ---------------------------------------------------------------------- 
> Hi Aaron,
> 
>   The dsn returned by dsn.c is changed, but postfix is still getting 5.1.1
> from pipe.c.  I think the change you made dsn.c (quota is now CLASS_FAIL)
> is not effective due to the following in pipe.c.
> 
>                 final_dsn = dsnuser_worstcase_int(has_2, has_4, has_5,
> has_5_2);
>                 switch (final_dsn.class) {
>                 case DSN_CLASS_OK:
>                         /* Success. Address related. Valid. */
>                         set_dsn(&delivery->dsn, DSN_CLASS_OK, 1, 5);
>                         break;
>                 case DSN_CLASS_TEMP:
>                         /* sort_and_deliver returns TEMP is useridnr is 0,
> aka,
>                          * if nothing was delivered at all, or for any
> other failures. */
> 
>                         /* If there's a problem with the delivery address,
> but
>                          * there are proper forwarding addresses, we're
> OK. */
>                         if (dm_list_length(delivery->forwards) > 0) {
>                                 /* Success. Address related. Valid. */
>                                 set_dsn(&delivery->dsn, DSN_CLASS_OK, 1,
> 5);
>                                 break;
>                         }
>                         /* Fall through to FAIL. */
>                 case DSN_CLASS_FAIL:
>                         /* Permanent failure. Address related. Does not
> exist. */
>                         set_dsn(&delivery->dsn, DSN_CLASS_FAIL, 1, 1);
>                         break;
>                 case DSN_CLASS_QUOTA:
>                         /* Permanent failure. Mailbox related. Over quota
> limit. */
>                         set_dsn(&delivery->dsn, DSN_CLASS_FAIL, 2, 2);
>                         break; 
> 
> ---------------------------------------------------------------------- 
>  aaron - 09-Jul-07 01:29  
> ---------------------------------------------------------------------- 
> Should actually fixed in SVN now :-) 
> 
> Issue History 
> Date Modified   Username       Field                    Change               
> ====================================================================== 
> 28-Jun-07 04:47 asianux-keith  New Issue                                    
> 29-Jun-07 08:49 aaron          Status                   new => resolved     
> 29-Jun-07 08:49 aaron          Fixed in Version          => 2.2.6           
> 29-Jun-07 08:49 aaron          Resolution               open => fixed       
> 29-Jun-07 08:49 aaron          Assigned To               => aaron           
> 29-Jun-07 08:49 aaron          Note Added: 0002265                          
> 03-Jul-07 11:00 asianux-keith  Status                   resolved => feedback
> 03-Jul-07 11:00 asianux-keith  Resolution               fixed => reopened   
> 03-Jul-07 11:00 asianux-keith  Note Added: 0002273                          
> 09-Jul-07 01:29 aaron          Status                   feedback => resolved
> 09-Jul-07 01:29 aaron          Resolution               reopened => fixed   
> 09-Jul-07 01:29 aaron          Note Added: 0002285                          
> ======================================================================
> 
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> 
> 
> 


_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to