Re: [Exim] partial-lsearch as filter conditional

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy C. Reed
Ημερομηνία:  
Προς: Marc Perkel
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] partial-lsearch as filter conditional
On Thu, 13 Dec 2001, Marc Perkel wrote:

> All the users will have the ability to put a file in their own home
> directory called .spam-reject and that file will contain a list of email
> addresses and/or domain names of senders to be rejected. The file might
> look like this:
>
> *@spamhost.com
> peter@???


I do something like this, really just the opposite:

# my first director
# only known email addresses are allowed to send to this server
# of course, it could be spoofed, but no one knows that
verify_known_sender:
driver = smartuser
require_files = /home/$local_part/.mail-accept-list
senders = ! /home/$local_part/.mail-accept-list
new_address = :fail: Sender unknown

Maybe you could use a director with
senders = /home/$local_part/.bad-emails

Or maybe you could use sender_reject or sender_reject_recipients and point
it to the user's own list.

  Jeremy C. Reed
...................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net/