[SA-exim] SEnding spamc -u option?

Marc MERLIN marc at merlins.org
Sat Dec 23 08:01:47 PST 2006


On Sat, Dec 23, 2006 at 01:45:23PM +0100, Tom wrote:
> After extensive searching I haven't been able to find a solution to a
> particular *problem* i'm having.
> 
> I wish to run a multi-domain webserver and have separate preferences for
> each domain (AFAIK spamassassin requires local user accounts as opposed to
> the forwarding I require). As such it would be perfect if I could keep a
> list of domains and have sa-exim send the -u option to spamc dependent on
> these domains.
 
Mmmh, it would still be a problem if you have a spam sent to two of the
domains you have at the same time, as sa-exim wouldn't know what -u to give
 
> My knowledge of c is minimal, but I feel something like this would be
> possible by keeping a list of domains and users which are checked before
> sending the appropriate -u option. This would allow me to keep a set of
> options for each domain - which would be more than enough for my purposes.

There's been talks about doing some hack where the -u would be linked to an
acl set in the exim config. Long story short, you have to handle the
situation where you have multiple recipients from different domains and/or
with different configs.

Someone, or I will eventually allow -u to take an exim variable, and people
would then have to work out what they do with the mail, and multiple
recipient conflicts in the exim config, so that sa-exim doesn't have to
care :)

But long answer short: today, you can't do this with sa-exim, nor do I know
of any simliar software that lets you do this, just because it's both hard
and will ever only be an incomplete solution at best.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  



More information about the SA-Exim mailing list