Koozali.org: home of the SME Server

procmail, spamassasin and 5.5

John Alamo

Re: procmail, spamassasin and 5.5
« Reply #15 on: July 21, 2002, 05:06:04 AM »
I tried the same thing (I think):

[root]# cat sample-spam.txt | /usr/bin/ifspamh username
spamc returned temporary failure

This is on a system where SpamAssassin is working properly.

Setup the .qmail and .qmail-isspam files in your user directory per the instructions and use the following command to test:

sendmail username < sample-spam.txt

chris meredith

Re: procmail, spamassasin and 5.5
« Reply #16 on: July 21, 2002, 07:39:14 PM »
My .qmail file looks like this:

|ifspamh meredith-isspam
./Maildir/

I also tried:

|/usr/bin/ifspamh meredith-isspam
~meredith/Maildir/


My .qmail-isspam looks like this:

./Maildir/

I also tried:

~meredith/Maildir/

I did a "sendmail meredith < sample-spam.txt" and "sendmail meredith < sample-nospam.txt" and sent myself a regular mail from my workstation.  All are in the mail queue if I do a qmail-qread, but they never get delivered.

If I change my .qmail to be:

|/usr/bin/spamc |/usr/bin/maildir ./Maildir

I get the message with all the X-Spam headers and all.  No check for error codes or anything that way, but it does work for me, so spamc seems to be able to connect to spamd and everything.

Since I am the only one posting about problems I am going to guess its just something weird in my config.  The box is fairly hacked up.  Thanks for all your help.

alex dworschak

Re: procmail, spamassasin and 5.5
« Reply #17 on: July 26, 2002, 02:23:13 AM »
I set up spamassassin as is described above and spamc spamd are running, but wenn I enable:  |ifspam user-isspam ./Maildir/
in the .qmail   -file NO mail is send to the user !!!!. wenn I comment it out again, EVERY mail is received again!

somebody got a hint for me ?

Rich

Re: procmail, spamassasin and 5.5
« Reply #18 on: August 15, 2002, 03:56:30 AM »
Has anyone been able to get this to work,

i get the error "/bin/sh:_/usr/ifspamh:_No_such_file_or_directory/" with .qmail set to

|ifspamh user-isspam
./Maildir/

If i change it to read

/usr/bin/ifspamh rm-isspam
./Maildir/

i get the error
/usr/bin/ifspamh:_tail:_command_not_found//usr/bin/ifspamh:_822field:_command_not_found//usr/bin/ifspamh:_sed:_command_not_found//usr/bin/ifspamh:_822field:_command_not_found//usr/bin/ifspamh:_wc:_command_not_found//usr/bin/ifspamh:_[:_-gt:_unary_operator_expected/spamc_returned_temporary_failure

Anyone got any ideas?

Rich

Arby Edi

Re: spamassasin and 5.1.2
« Reply #19 on: August 28, 2002, 05:33:37 AM »
wget http://cr.yp.to/software/mess822-0.58.tar.gz

I can't get to this server, any ideas or am I lame??

Also, I'm trying to set this up on 5.1.2.  Did this become successful for anybody?

John Alamo

Re: spamassasin and 5.1.2
« Reply #20 on: August 28, 2002, 06:58:20 AM »
I posted the file to another server. Hope this helps.  As far as 5.1.2 -- I think I heard several people were able to get it up and running successfully.

wget http://www.jumbographics.com/mess822-0.58.tar.gz

Arby Edi

Re: spamassasin and 5.1.2
« Reply #21 on: August 29, 2002, 06:28:58 AM »
Thanx John got it up and running fine and testing on a single user account but now I'm lost.  Leaving it with defaults, I sent an email from outlook express using the same domain as the server and the email didn't go through.....but it also didn't bounce back or go anywhere.   This is my question, and it may be a spamassassin.org question or RTFM answer, but what now and where are the rules?  I thought the message goes through and notifies that it is now considered spam or something liek that.

chris meredith

Re: spamassasin and 5.1.2
« Reply #22 on: September 02, 2002, 07:49:11 PM »
Sounds like you are having the same problem as me.  Check this post from earlier in the thread:

http://forums.contribs.org/index.php?topic=14458.msg55117#msg55117

Arby Edi

Re: spamassasin and 5.1.2
« Reply #23 on: September 02, 2002, 11:22:03 PM »
Ok checked the above thread messages and it looks like a few people are having the same issue without resolution.  Looks like i'll be heading for a different spam product....any ideas?

Jaco Bongers

Re: spamassasin and 5.1.2
« Reply #24 on: September 03, 2002, 12:33:30 AM »
Have you tried the spamassassin/procmail combination. I have successfully
implimented it on my server (SME 5.5).

Jaco

Arby Edi wrote:
>
> Ok checked the above thread messages and it looks like a few
> people are having the same issue without resolution.  Looks
> like i'll be heading for a different spam product....any ideas?

Arby Edi

Re: spamassasin and 5.1.2
« Reply #25 on: September 03, 2002, 12:43:02 AM »
No I haven't but i'm running 5.1.2 and would hate to screw something up. Besides the fact that i'm quite rough with Linux and SME still so unless there is a howto with details, I doubt I'd be able to even play with it much.

the3dman

Re: spamassasin and 5.1.2
« Reply #26 on: September 03, 2002, 10:44:55 PM »
So, what is the spamassassin/procmail combination? Would you mind posting the basics to get that method up and running? I also have read through everything here and a few other places. I get the same problems as Chris is having. NO mail is going through.
I was using procmail on 5.5, so this may be a better solution.

Jaco Bongers

Re: spamassasin and 5.1.2
« Reply #27 on: September 04, 2002, 02:51:00 PM »
see http://e-smith.caw.co.za/phorum/read.php?f=1&i=22&t=22

the3dman wrote:
>
> So, what is the spamassassin/procmail combination? Would you
> mind posting the basics to get that method up and running? I
> also have read through everything here and a few other
> places. I get the same problems as Chris is having. NO mail
> is going through.
> I was using procmail on 5.5, so this may be a better solution.

Jaco Bongers

Re: spamassasin and 5.1.2
« Reply #28 on: September 04, 2002, 02:57:45 PM »
Oops: make  that URL

http://www.caw.co.za/phorum/read.php?f=1&i=22&t=22

Jaco Bongers wrote:
>
> see http://e-smith.caw.co.za/phorum/read.php?f=1&i=22&t=22
>
> the3dman wrote:
> >
> > So, what is the spamassassin/procmail combination? Would you
> > mind posting the basics to get that method up and running? I
> > also have read through everything here and a few other
> > places. I get the same problems as Chris is having. NO mail
> > is going through.
> > I was using procmail on 5.5, so this may be a better
> solution.

brian read

Re: spamassasin and 5.1.2
« Reply #29 on: September 04, 2002, 02:58:10 PM »
That URL fails with a "unable to determine IP..." message.

Brian