[Exim] exim 4.05 ACL and deny senders

Etusivu
Poista viesti
Vastaa
Lähettäjä: jackalek
Päiväys:  
Vastaanottaja: EXIM users list
Aihe: [Exim] exim 4.05 ACL and deny senders
Witaj EXIM!

7 hours writing and testing and now I have what I want. Almost.

  My config:
  begin acl
  [.........]
deny  message = Spadaj spamerze... Get off spamers
    senders = ${if exists{/etc/exim4/spam} \
                  {lsearch*@;/etc/exim4/spam}}


^^^^^^^^^^^^^^^^^^
global block senders

deny  message = Spadaj spamerze... Get off spamers
    senders = ${if exists{/home/$local_part/.spam} \
              {lsearch*@;/home/$local_part/.spam}}


each user own list.
it works prety well

user can write adresses that hi don't like.
But I want to do feeature that user can customize reject message.

cat ./spam
dupek@??? <separator> i don't like you
asas@??? <separator> i have bad day :)
[......]

I can't do this.
lsearch extracts whole line, how to extract text after the
<separator>? How to assign it to deny message ?

ps.

sory for my poor english, it is not my mother language. I hope you
understand my mail :)))





--
Pozdrowienia,
 jackalek                          mailto:jackalek.listy@klej.net