[Pkg-exim4-users] Exim configuration values not accepted

Marc Haber
Sat, 23 Jun 2007 07:20:33 -0000

On Fri, Jun 22, 2007 at 11:39:42PM -0400, Haines Brown
wrote:
> I''ve got exim working, spamd running, and clamAV installed.
Messages
> received by exim are marked with a spam score, but no action is taken
> on them even when the score is very high, and there''s no virus
> evaluation.

Looks like you didn''t establish any ACL rules.

> My impression is that to get exim to use spamd and clamav, I need to
> make two changes to /etc/exim4/exim4.conf.template
>
> When I put av_scanner = clamd:/tmp/clamd (although I have no such
> file) into exim4.conf.template
>
> # /etc/init.d/exim4 restart
> Stopping MTA for restart:2007-06-22 22:38:43 Exim configuration error
>   in line 115 of /var/lib/exim4/config.autogenerated.tmp:
>   main option "av_scanner" unknown
> Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
> not installing /var/lib/exim4/config.autogenerated.tmp to
> /var/lib/exim4/config.autogenerated
>
> When I put spamd_address = 127.0.0.1 783 into it I get:
>
> $ sudo /etc/init.d/exim4 restart
> Stopping MTA for restart:2007-06-22 22:46:20 Exim configuration error
>   in line 115 of /var/lib/exim4/config.autogenerated.tmp:
>   main option "spamd_address" unknown
> Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
> not installing /var/lib/exim4/config.autogenerated.tmp to
> /var/lib/exim4/config.autogenerated

You need to run exim4-daemon-heavy. And you need to adapt your ACLs.

> I''m having a very hard time reconciling documentation with itself
and
> with my Debian etch. For example, I want to filter at SMTP time, but
> the exim document does not seem to mention that, but speaks of
> filtering at ACL run.

ACLs run at SMTP time.

I suggest that you visit the upstream wiki for documentation.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber         | "I don''t trust Computers. They | Mailadresse
im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190