[exim-dev] [Bug 475] New: redirect router do not accept cust…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: bug475
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 475] New: redirect router do not accept custom :defer: messages
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=475

           Summary: redirect router do not accept custom :defer: messages
           Product: Exim
           Version: 4.66
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Routing
        AssignedTo: ph10@???
        ReportedBy: minotaur@???
         QAContact: exim-dev@???
                CC: minotaur@???



When redirect router is used to defer incoming messages sometimes there is need
to configure custom error message. As example:

virtual_user_quota_defer:
        driver          = redirect
        domains         = +virtual_domains
        condition       = ${if

>={${extract{size}{${stat:/var/mail/virtual/$domain/$local_part}}}}{MYSQL_QUOTA_VM

BOX} }
        data            = :defer:User's mailbox size is over quota!
        allow_defer


But when all the conditions in router are met remote client gets message
"Temporary local problem - please try later" instead of configured one "User's
mailbox size is over quota!".

Desirable behavior can be got by setting the global option
smtp_return_error_details, but that has side effects that may be undesired, as
noticed in chapter 14.23 of the spec.txt.

It should be great to get :defer: custom messages working in redirect router
without setting global option smtp_return_error_details.

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email