Hi *,
is there a quick way to convert a postfix regex/pcre map for use with
an exim acl?
I have some regex files like this:
(header_checks)
/^X-Mailer: .*EVAMAIL/ REJECT Sorry, your mailer was
identified as
mass mailer program.
...
/^X-Mailer: .*Avalanche/ REJECT Sorry, your
mailer was identified
as mass mailer program.
...
/^Date: .* 19[0-9][0-9]/ REJECT Past Date
/^From: <>/ REJECT You need to
specify a return address,
otherwise we will not accept your email.
(host_blacklist)
/[Dd]ynamic/ REJECT
/[Dd][Hh][Cc][Pp]/ REJECT
/\.dsl\.brasiltelecom\.net\.br$/ REJECT
...
The only idea I had is to use the embedded perl interpreter (condition
= perl{xxxxx}{yyyy}) and a subroutine that loads the "map file" and
checks the parameter with =~/<file_loaded_expression>/.
any other hint?
thanks,
bye
--
Stefano Sasso
http://stefano.dscnet.org/
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/