[exim] Greylisting for all but one recipients

Top Page
Delete this message
Reply to this message
Author: Florian Lagg
Date:  
To: exim-users
Subject: [exim] Greylisting for all but one recipients

Hi,

I try to implement greylisting for all but one mail recipient. Maybe I've
something wrong but I cannot figure out.

acl/30_exim4-config_check_rcpt:
...
  defer
    message        = $sender_host_address is not yet authorized to deliver \
                     mail from <$sender_address> to <$local_part@$domain>. \
                     Please try later.
    log_message    = greylisted.
    !recipients    = nogreylisting@??? :
/etc/exim4/realtime_recipients
    !senders       = :
    !hosts         = : +relay_from_hosts : \
                       /etc/greylistd/whitelist-hosts : \
                       /var/lib/greylistd/whitelist-hosts
    !authenticated = *
    !acl           = acl_local_deny_exceptions
    domains        = +local_domains : +relay_to_domains
    verify         = recipient/callout=20s,use_sender,defer_ok
    condition      = ${readsocket{/var/run/greylistd/socket}\
                                 {--grey \
                                  $sender_host_address \
                                  $sender_address \
                                  $local_part@$domain}\
                                 {5s}{}{false}}
...


I also tried 
!recipients    = nogreylisting@???
and 
!recipients    = /etc/exim4/realtime_recipients
alone (the file lists just the one mail address above).


!hosts is also ignored - what am I doing wrong?
I'm trying for hours now. Please help me out.

Thanks,
Florain Lagg
--
View this message in context: http://www.nabble.com/Greylisting-for-all-but-one-recipients-tp20285110p20285110.html
Sent from the Exim Users mailing list archive at Nabble.com.