Re: [exim] known senders from file

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy C. Reed
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] known senders from file
> If the file (or even directory) doesn't exist, I want that check to be
> skipped. If the file does exist, then the sender must exist in that file
> for it to be delivered. Any suggestions or examples would be appreciated.


Not sure what my problem was before. For the archives ... here is what
works for me:

deny message = "denied"
condition = ${if exists{/etc/virtual/${domain}/${local_part}/mail-accept-list}{yes}{no}}
!senders = /etc/virtual/$domain/$local_part/mail-accept-list