RE: [Exim] opt in dns blacklisting

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Simon Bell
Dátum:  
Címzett: exim-users
Tárgy: RE: [Exim] opt in dns blacklisting
This is a multi-part message in MIME format.
--
This returns:

2004-03-18 22:19:32 H=usercf098.dsl.pipex.com [62.190.237.98] U=mail
F=<admin@???> temporarily rejected RCPT <simon@???>:
failed to expand ACL string "if
${lookup{$localpart@$domain}lsearch{/usr/exim/spam}}{true}{false}}": unknown
variable name "localpart"

when trying to send an email to the server.

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On Behalf
Of Tor Slettnes
Sent: 18 March 2004 22:09
To: aooi58@???
Cc: exim-users@???
Subject: Re: [Exim] opt in dns blacklisting

On Thu, 2004-03-18 at 11:45, Simon Bell wrote:
> I'm planning on adding an opt in dns blacklist filter to my exim
> setup. I just want to create a file with list of username@???
> address's in them. The address's in the file are those of people who
> want there email checked against a black list. How would I go about

getting exim to do this?

You could probably set up a 'deny dnslists' condition in your acl_smtp_rcpt
(probably 'acl_check_rcpt'):

acl_check_rcpt:
    [...]
    deny message   = $local_part refuses your mail because
$sender_host_domain \
                     is in a black list at $dnslist_domain.
         condition = ${if
${lookup{$localpart@$domain}lsearch{/some/file}}{true}{false}}
         dnslists  = black.list.example


[not tested]
-tor



--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##
--
[ smime.p7s of type application/x-pkcs7-signature deleted ]
--