HELP I cant locate procmailrc to invoke spam assassin with procmail
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HELP I cant locate procmailrc to invoke spam assassin with procmail
Hello their guys
was just wondering if anyone could help me
I have just freshly installed Fedora Core 5, and SpamAssassin 3.2.3
However i wish to invoke this with procmail 3.22, but i am having trouble locating the procmailrc file that some books / tutorials instructs me to do so.
I have performed a file search and it cannot find it
i have looked in various directory's but still nothing.
can someone please advise on this?
ohh and i do have procmail on my system, its located in the /usr/bin directory
It maybe that you need to make procmailrc yourself.
Do you have procmail installed?
If you make the procmailrc file, procmailrc will go into /etc. In this location it is system wide. Or you can have a .procmailrc file in the home directory. The choice is yours.
It maybe that you need to make procmailrc yourself.
Do you have procmail installed?
If you make the procmailrc file, procmailrc will go into /etc. In this location it is system wide. Or you can have a .procmailrc file in the home directory. The choice is yours.
*** Important note, be sure to have everything installed and configured.
sudo /sbin/chkconfig spamassassin on
sudo /sbin/service spamassassin start
If you are using for instance evolution email client, go to the plugin's and be sure to check this item.
The ~/.procmailrc file is for incoming mail - it is separate to what you send/read with Evolution. Here is an example of what you could put in it (from the SpamAssassin docs):
Code:
MAILDIR=$HOME/mail
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
#
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
#
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
#
:0fw: spamassassin.lock
* < 256000
| spamassassin
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
:0:
* ^X-Spam-Status: Yes
probably-spam
# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it.
# NOTE: This is probably NOT needed in recent versions of procmail
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.