Re: [exim] Reject mail destined for subdomain

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ger Apeldoorn
日付:  
To: Mike Cardwell
CC: Exim Users List
題目: Re: [exim] Reject mail destined for subdomain
Mike Cardwell wrote:
> Ger Apeldoorn wrote:
>
>
>> I've got a list of hosts (entire subdomains in fact) that cannot recieve
>> mail, but send some that is generated by interactive jobs.
>>
>> Occasionally, mail gets send from these hosts with a wrong destination
>> address. This causes multiple NDRs from the mailhost, which cannot be
>> delivered because the sendinghosts cannot receive any mail. This causes
>> the queue on the mailserver to fill up.
>>
>> How can I discard all mails to these hosts (subdomains) at the incoming
>> mailhost?
>>
>
> In the rcpt acl:
>
> discard domains     = domain1.example.com : domain2.example.com : 
> domain3.example.com
>     log_message = $domain sends, but does not accept email

>
> Mike
>
>

Hi Mike,

Thanks for your reply, is it possible to use wildcards like *.example.com?

Thanks,
Ger.