I only suggested typing procmail in the shell as a simple/easy way to test
if it was indeed installed.  You would almost never call procmail directly
from the command line.

Instead, you now need to hook procmail up to your MTA.

The easy version:
Try executing this command from bash (I don't know if it would work in
other shells):

eg:

host:~> bash
[EMAIL PROTECTED]:~$ echo '"|exec /usr/bin/procmail"' >> ~/.forward
[EMAIL PROTECTED]:~$ cat ~/.forward
"|exec /usr/bin/procmail"
[EMAIL PROTECTED]:~$

... then send yourself an email and look at the headers for SpamAssassin
stuff.




FYI, I took this suggestion from the procmail manpage ([EMAIL PROTECTED]:/$ man
procmail):

If procmail is not installed globally as the default mail delivery agent
(ask your system administrator), you have to make sure it  is  in-
voked  when  your mail arrives.  In this case your $HOME/.forward (beware,
it has to be world readable) file should contain the line below.
Be sure to include the single and double quotes, and unless you know your
site to be running smrsh (the SendMail Restricted SHell), it must
be an absolute path.

"|exec /usr/bin/procmail"

Some mailers (notably exim) do not currently accept the above syntax.  In
such case use this instead:

|/usr/bin/procmail

--
Chris Thielen

Easily generate SpamAssassin rules to catch obfuscated spam phrases:
http://www.sandgnat.com/cmos/



maximo lopez said:
> i download it , i instaled following the instructions
> y write procmail on the command shell and the is triying to do something ,
> bus its takin too long
>
>
> ----- Original Message -----
> From: "Chris Thielen" <[EMAIL PROTECTED]>
> To: "Spamassassin-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, November 13, 2003 3:12 PM
> Subject: Re: [SAtalk] instalation problems
>
>
>> First hit on google.com/search?q=procmail is http://www.procmail.org/
>>
>> Note: procmail isn't the only way to integrate SpamAssassin, but it is a
>> common way.
>>
>> Also note: (Once procmail is installed) some people integrate procmail
>> via
>> ~/.forward files (in individual users' home directories).  Consult your
>> MTA documentation for how to integrate procmail on a site-wide (global)
>> basis.
>>
>> --
>> Chris Thielen
>>
>> Easily generate SpamAssassin rules to catch obfuscated spam phrases:
>> http://www.sandgnat.com/cmos/
>>
>>
>> maximo lopez said:
>> > if i execute procmail on the shell
>> > command nor found
>> >
>> > is not instaled rigth ???
>> >
>> > where can i get it ???
>> >
>> > ----- Original Message -----
>> > From: "Chris Thielen" <[EMAIL PROTECTED]>
>> > To: <[EMAIL PROTECTED]>
>> > Sent: Thursday, November 13, 2003 1:52 PM
>> > Subject: Re: [SAtalk] instalation problems
>> >
>> >
>> >> 1) Is procmail really installed? If you type "procmail" in the shell,
>> >> does
>> >> it execute?
>> >> 2) Is procmail hooked up properly to your MTA?
>> >>
>> >> --
>> >> Chris Thielen
>> >>
>> >> Easily generate SpamAssassin rules to catch obfuscated spam phrases:
>> >> http://www.sandgnat.com/cmos/
>> >>
>> >>
>> >> maximo lopez said:
>> >> >
>> >> > in my last email I sent my procmail file , I am sending again
>> >> >
>> >> > I follow the install file step by step, the only think I can't
> install
>> > was
>> >> > the pyzor , all the other steps for system wide was successfully
>> >> install
>> >> >
>> >> > then I finish the installation and I re-start the freebsd, and I am
>> > still
>> >> > receiving Spam , none of the emails was stop ???
>> >> >
>> >> > what should I check , what's next ???
>> >> >
>> >> >
>> >> > best regards
>> >> >
>> >> >
>> >> > ----- Original Message -----
>> >> > From: "Evan Platt" <[EMAIL PROTECTED]>
>> >> > To: "spamAssassin" <[EMAIL PROTECTED]>
>> >> > Sent: Thursday, November 13, 2003 12:26 PM
>> >> > Subject: Re: [SAtalk] instalation problems
>> >> >
>> >> >
>> >> >> --On Thursday, November 13, 2003 11:16 AM -0600 maximo lopez
>> >> >> <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> > I don't know how to do that , that is why I can't
>> >> >> >
>> >> >> > please help me
>> >> >>
>> >> >> Not to be rude, but unless I'm misunderstanding you.. if you don't
>> >> know
>> >> > how
>> >> >> to copy and paste your procmail to a e-mail, installing
>> SpamAssassin
>> >> is
>> >> >> probably going to be a huge undertaking.
>> >> >>
>> >> >> SpamAssassin has manuals. Anything else, we can obviously help,
>> >> however
>> >> >> details help. And posting a question like "SpamAssassin isn't
>> >> working.
>> > I
>> >> >> think it's my procmail. Help." - you probably aren't going to get
> any
>> >> >> replies.
>> >> >>
>> >> >> What WOULD help are details of what isn't working - are messages
>> >> being
>> >> >> marked as spam at all? How is SpamAssassin being called, how are
>> you
>> >> >> determining it isn't working, etc.
>> >> >>
>> >> >> Evan
>>



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to