Re: [exim] Aliases and Bounces

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: Re: [exim] Aliases and Bounces
On 09/06/16 16:07, Matt wrote:
> # deny email addresses listed in file
> deny recipients = lsearch;/etc/virtual/over_quota
>         message = Email account over quota

>
> Problem is if there is an aliases that forwards to that account I
> still get bounces. Is there an easy way to make it see when it hits
> an aliases to know one of the addresses it forwards too is over quota
> or in /etc/virtual/over_quota? I doubt it.


Do a recipient verify; so long as there was only one
resulting address from the redirects expansion done
(for aliasing), $address_data should have that address
(if I read the docs correctly). Use that for your
over-quota lookup.

That doesn't help you for multiple resulting destinations.


For that, or if you actually want "would be over-quota
if we accepted this message" you're in the same area as

https://bugs.exim.org/show_bug.cgi?id=163

I agree it's something that Exim ought to be able to do for
you; it's essentially a recipient verify job with probing
extended all the way to a local transport (just like callouts
do for remote transports). I don't buy the "expensive"
argument but for SIZE-less message transactions we'll
have to suggest some assumed message size.

--
Cheers,
Jeremy