From:
[email protected]
Quoting Christopher Cramer (
[email protected]):
Every message passes Exim's DATA acl, and that is where sa-exim hooks
in. And it being that your system scans OUTGOING messages but not
INCOMING messages looks to me pretty much like you might need to read sa-exim.conf some more, and come with clearer reports than
'documentation sucks' and 'the damn thing still does nothing'.
I don't see anything in sa-exim.conf for scanning outgoing versus
incoming.
Hmm. What is this then:
# This decides whether SA gets run against the message or not. Messages
# will not be rejected if the message had SA headers but weren't added
# by us If you comment this out, SA will be disabled
SAEximRunCond: ${if and {{def:sender_host_address} {!eq {$sender_host_address}{127.0.0.1}} {!eq {$h_X-SA-Do-Not-Run:}{Yes}} } {1}{0}}
See that 'if' construct?
It tells sa-exim not to run when the message comes from 127.0.0.1, or
a special header has been added. So it only limits scanning on outgoing messages, unless you have X-SA-Do-Not-Run: Yes in all your incoming
messages...
It turned out to be an issue with the exim4 config, in any case.
What exactly was causing the problem then? I'm really curious.
With a sa-exim install, the only 'switch' that tells sa-exim to run or
not is in sa-exim.conf, called 'SAEximRunCond'. I gathered that you had
that misconfigured, because that has triggers not to run with local
IP's, when configured correctly.
The problem with coming up with a better report was that I had nothing to
go on - there was nothing in the logs saying anything like "We decided
not to scan this message because...".
Well, okay. That tells me you didn't read, or understand what you read,
in sa-exim.conf. On one of the first lines is this snippet:
And you didn't see the first lines in sa-exim saying:
# Mostly always useful. Higher values == more debug output.
SAEximDebug: 1
And you didn't think of changing that to 9999, and reading exim's logfiles?
THAT would have been a start.
So anyway, I think it would be helpful if in README.Debian there
was a statement mentioning the DATA acl, and a pointer to the access
control list section of the exim4 manual.
Umm. SA-Exim and Exim's DATA ACL's are completely unrelated. You do not
have to fiddle with acl_data to get sa-exim working. It would only
obfuscate things to point to Exim's DATA acl's from sa-exim's docs.
I haven't checked your new package yet, but in the one I have
installed now, all I can find is the misleading statement "This code
works without anything in the exim conf" in README.gz.
You might call that 'misleading'. In the original design of Exim4 and
sa-exim it should be as easy as that to have Exim call the sa-exim
module. And from your emails I understand that after installing sa-exim,
it did in fact run, but only outgoing messages...
To me that is a configuration issue, "the code did actually work without
any changes to exim.conf". But enough about that...
IMHO people should read and understand what they are doing. It's not my
job to supply them with flowcharts on how to solve problems. As in your
case, if you had read the config file, you would have found SAEximDebug.
Kind regards,
Sander.
--
| There are 10 types of people, those who read binary, and those who don't.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBIFXf1GN+QQjOyU0RAh53AKCOmwQVTrXoPm73e/xnOJLrF55d+QCfVksD VP4lls6vA0Rggi1aa6oZLas=
=Z4pb
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)