Hi Louis,

> -----Original Message-----
> From: Louis LeBlanc

> Sorry for barging in on this thread, but I'm trying to get this
> working myself right now (spamd/spamc with procmail).  I have one
> question though.

Join the party!


> Regarding spamc, if the -f flag us used and it can't connect to
> spamd, it returns without an exitcode set.  Do you use this fact to
> run the message through spamassassin as a backup?  If not, do you
> know whether this is possible?

Honestly, I don't know.  It is a good point and I would like to know the
answer myself.  I have not been using the -f flag.  I have tested it though
and if spamd is down, the message is still processed.

Anyone know the answer to this?


> Right now, I use the following in ~/.procmailrc:
> 
> :0fw
> * !^Subject:.*SAtalk
> | spamassassin -a
>
> And for spamd/spamc, I'd probably use something like this:
> 
> spamd -a -c -d
> 
> and in ~/.procmailrc:
> :0fw
> * !^Subject:.*SAtalk
> | spamc -u LOGNAME
> 
> What I'd like to do is check to see if spamd managed to tag a message
> and if not, pipe it through the old spamassassin -a above (I could
> probably just check for the X-Spam-Flag: header and pipe it through
> if it doesn't exist).  I still want to use per/user configs and bayes
> dbs in either case.
> 
> Can you tell me if I'm totally off here?

I can't see your entire Procmail script and I really don't understand the
mechanics of your system.  It looks like you are trying to pipe to spamc
through a site-wide configuration.  If so, how are you getting the username
for the -u option?  I can think of how to perform a sitewide Procmail/SA
solution with a user-based Procmail/SA solution but that would ential
sending the message through SA twice.  There is then a way to perform a
site-wide only solution as well as a per-user only solution.  What are you
really trying to do?

My opinion . . .  I think a combo site-wide and per-user solution is
overkill.  You should probablly stick to one or the other.  Furthermore, I
just don't see the need for a per-user solution unless you are forced to do
it, like an ISP.  Again these are just my opinions.  If anyone has insight
to counter my belief, I would love to be educated.

--Larry



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to