Autor: cjackson
Fecha:
A: Edgar Lovecraft
Cc: exim-users
Asunto: [Exim] Re: Exiscan and Spamassassin
Edgar Lovecraft writes:
> cjackson wrote:
>>
> ..[snip]...
>>
>> domainlist local_domains = localhost : mydomain.com
>> domainlist relay_to_domains =
>> hostlist relay_from_hosts = 127.0.0.1
>
> OOPS!! Macros come BEFORE anything else
>
>> GREYLIST_TEST = SELECT CASE \
>> WHEN now() - block_expires > 0 THEN 2 \
>> ELSE 1 \
>> END \
>> FROM greylist \
>> WHERE relay_ip = '${quote_mysql:$sender_host_address}' \
>> AND sender = '${quote_mysql:$sender_address}' \
>> AND recipient = '${quote_mysql:$local_part}'
>> GREYLIST_ADD = INSERT INTO greylist (relay_ip, sender, recipient,
> block_expires) \
>> VALUES ( '${quote_mysql:$sender_host_address}', \
>> '${quote_mysql:$sender_address}', \
>> '${quote_mysql:$local_part}', \
>> DATE_ADD(now(), INTERVAL 25 MINUTE) \
>> )
>> GREYLIST_UPDATE = UPDATE greylist SET \
>> block_expires = DATE_SUB(now(), INTERVAL 5 MINUTE) \
>> WHERE relay_ip = '${quote_mysql:$sender_host_address}' \
>> AND sender = '${quote_mysql:$sender_address}' \
>> AND recipient = '${quote_mysql:$local_part}'
>> hide mysql_servers = "localhost/greylist_db/ask_user/"
>> acl_smtp_rcpt = acl_check_rcpt
>> acl_smtp_mime = acl_check_mime
>> acl_smtp_data = acl_check_content
>
> Where is your spamd_address line???
>
>> av_scanner = clamd
>> never_users = root
>> host_lookup = *
>> rfc1413_hosts = *
>> rfc1413_query_timeout = 30s
>> ignore_bounce_errors_after = 2d
>> timeout_frozen_after = 7d
>> begin acl
>
> Lets fix those two things first, then see what happens.
Edgar,
Thanks for the reply. Please ignore my last post in which I assumed you were
referring to the full configuration files.
I have moved the macros to the top of the file. And added
spamd_address = 127.0.0.1 783
Still no hreader added.
C