Re: exim+exiscan+spamassassin+mysql

"Peter Bowyer" <[email protected]> Thu, 28 Oct 2004 05:24:36 +0100
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <003601c4bca6$1b1b8d40$0a01a8c0@pbdesktop>
Lance <[email protected]> wrote:
> _USERNAME_ in the debug info is ALWAYS 'nobody'.  I've yet to get an
> answer to this problem as if its a problem with my query, config, or
> if exiscan isn't passing something it should be? _DOMAIN_ when used
> in the query is always NULL also...

You don't indicate what syntax you're using in your Exim conf to cause
Exiscan to invoke SA. I'll bet a reasonably large sum of money that it says
something like

spam = nobody

which gives you a good reason why Exsican is passing the user 'nobody'
through to SA. The argument to 'spam=' is an expanded string, so you can use
Exim expansion variables to concoct some other name to pass, which could be
dependent on a recipient address. But beware that the data ACL is only run
once, not once per recipient, so you're going to need advanced techniques to
ensure that you only have one recipient to deal with, and to remember the
address of that recipient. Check the Exiscan docs at
http://duncanthrax.net/exiscan-acl for more information, post again if you
need more help.

>
> I'm going to continue to reply to posts in the sa list and exiscan
> list, sa list blames exiscan and exiscan list blames sa and I'm tired
> of going in circles with this.

Where did the Exiscan list blame SA? Not in my archive. We're quite a
helpful bunch as a rule.

Peter