[Exim] deny selected sender-recipient

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Dr.-Ing. Hans Kemnitz
日付:  
To: exim-users
CC: kemnitz
題目: [Exim] deny selected sender-recipient
Hi,

We want to deny E-Mail from selected senders for
special recipients; all other shall be accepted.
See the simple example to deny:

    Sender Address             Recipient Address
   ----------------           -------------------
  Iwanow@remote_dom_A.de   -    John@my_dom.de
  August@remote_dom_A.de   -    Paul@my_dom.de
  Pierre@remote_dom_B.de   -    John@my_dom.de


To simpify management, we want to store the data
in files. Our first try was the following ACL setup:

  deny senders     = lsearch;/senders
       recipients = lsearch;/recipients


File senders:
    Iwanow@remote_dom_A.de : \
    August@remote_dom_A.de : \
    Pierre@remote_dom_B.de


File recipients:
    John@my_dom.de : \
    Paul@my_dom.de


As wanted, John receives no more mail from Iwanow
and Pierre; however this construct has the lack that
additionally John receives no more mail from August
and Paul no mail from Iwanow.

Any ideas how to an ACL without these side effect ?

Best regard, Hans