Re: [exim] EXIM 'Completed' hook'

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: Re: [exim] EXIM 'Completed' hook'
On 04/11/15 02:20, Jasen Betts wrote:
>        /* Log temporary errors if there are more hosts to be tried.
>        If not, log this last one in the == line. */
> +      /* this log_write mimics code in post_process_one in deliver.c */

>
>        if (host->next)
>         log_write(0, LOG_MAIN, "H=%s [%s]: %s", host->name, host->address, addr->message);
> -
> +#ifdef EXPERIMENTAL_EVENT
> +  event_defer_errno=addr->basic_errno;
> +  msg_event_raise(US"msg:smtp:defer", addr);
> +#endif


That would be per host tried, per recipient. Is that intended?
If so, other possible classifications are
msg:rcpt:host:defer
msg:host:rcpt:defer

Alternatively, did you only want one for each transport run?
In which case an else for the if(host->next), and msg:rcpt:defer.

--
Cheers,
Jeremy