Re: [exim] :defer:-like redirect router

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Magnus Holmgren
Date:  
À: Exim users mailing list
Sujet: Re: [exim] :defer:-like redirect router
On Tuesday 20 February 2007 11:53, Alexander Shikoff wrote:
> My question is why I get message "Temporary local problem - please try
> later" instead of "User's mailbox size is over quota"?
>
> When I change in router :defer: to :fail: then all is ok and I get wanted
> message.
>
> Any suggestions? Thanks!


You can get what you want by setting the global option
smtp_return_error_details, but that has side effects that may be undesired
(see chapter 14 of the spec). Some explanation can be found on lines 2123ff
of smtp_in.c; I think the rationale is that the code can't tell a forced
defer (like the one you have set up) from a defer caused by an error. Or
rather, it can in some cases, such as when you explicitly defer from the ACL
itself using the "defer" verb. The *permanent* failures that are handled by
that code are however always forced; therefore the message supplied
with :fail: is always used.

I think this could be improved. Please file a bug report.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans