[Exim] Re: Exiscan and Spamassassin

Top Page
Delete this message
Reply to this message
Author: cjackson
Date:  
To: Edgar Lovecraft
CC: exim-users
Subject: [Exim] Re: Exiscan and Spamassassin
Edgar Lovecraft writes:


> ..[snip]...
>>
>> I copied the source directory from another working Exim server and
>> recompiled on this server that's having the problem of not adding the
>> header in the ACL (though it says that the header is being added) and I
>> have the same problem! Is this a library issue? Both systems are Debian
>> unstable.
>
> I cannot answer the library question, however I can say that you have not
> posted you entire configuration file


[snipped]

Here is a dramatically shortened configuration file. Everythin extraneous
has been removed. Basically, Exim scans the email using Spamassassin then
sends the email to a directory. Honestly this sounds like a permission
problem, but I can't find any problem with permissions.


CONFIGURATION:

domainlist local_domains = localhost : mydomain.com
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1

acl_smtp_data = acl_check_content

never_users = root

begin acl

acl_check_content:

 warn  message = X-Spam-Score: $spam_score ($spam_bar)
       spam = mail/defer_ok
       logwrite = :main: Spam Score: $spam_score


 warn  message = X-Spam-Report: $spam_report
       spam = mail/defer_ok


accept

begin routers

save_copy:
driver = accept
transport = save_delivery
unseen

begin transports

save_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0660
hide directory = /path/to/mail/dir
create_directory
maildir_format=true
maildir_tag= ,S=$message_size

begin retry

* * F,2h,15m; G,16h,1h,1.5; F,4d,6h

begin rewrite

begin authenticators

PERMISSIONS /var/spool/exim:

drwxr-x---  2 mail mail 4096 2004-08-17 10:58 db
 -rw-r--r--  1 root mail    5 2004-08-17 11:48 exim-daemon.pid
drwxr-x---  2 mail mail 4096 2004-08-17 11:48 input
drwxr-x---  2 mail mail 4096 2004-08-17 11:58 log
drwxr-x---  2 mail mail 4096 2004-08-17 11:58 msglog
drwxr-x---  2 mail mail 4096 2004-08-17 09:41 scan


EDITME FILE:

BIN_DIRECTORY=/usr/exim/bin
CONFIGURE_FILE=/usr/exim/configure
EXIM_USER=mail
SPOOL_DIRECTORY=/var/spool/exim
ROUTER_ACCEPT=yes
ROUTER_DNSLOOKUP=yes
ROUTER_IPLITERAL=yes
ROUTER_MANUALROUTE=yes
ROUTER_QUERYPROGRAM=yes
ROUTER_REDIRECT=yes
TRANSPORT_APPENDFILE=yes
TRANSPORT_AUTOREPLY=yes
TRANSPORT_PIPE=yes
TRANSPORT_SMTP=yes
SUPPORT_MAILDIR=yes
LOOKUP_DBM=yes
LOOKUP_LSEARCH=yes
LOOKUP_DSEARCH=yes
LOOKUP_LDAP=yes
LOOKUP_MYSQL=yes
LDAP_LIB_TYPE=OPENLDAP2
LOOKUP_LIBS=-L/usr/local/etc/openldap/lib -L/usr/local/mysql/lib -L/lib
-L/usr/lib -L/usr/local/lib -lldap -lmysqlclient -lz
LOOKUP_INCLUDE=-I /usr/local/etc/openldap/include -I
/usr/local/mysql/include -I /usr/local/include -I /usr/include
AUTH_PLAINTEXT=yes
SYSLOG_LOG_PID=yes
EXICYCLOG_MAX=10
COMPRESS_COMMAND=/bin/gzip
COMPRESS_SUFFIX=gz
ZCAT_COMMAND=/bin/zcat
SYSTEM_ALIASES_FILE=/etc/aliases

Still no header added from Exiscan.
Thanks,
Craig Jackson