Bo,
Please reply on-list, not to me personally.
I am using the spamassassin frontend plugin. In the ADMIN folder there is a file called SAMPLE.procmailrc. It tells you to use this in the /etc/procmailrc or copy it to the .procmailrc file in the local users home directory. I have done this with no luck. Here is a sample of the .procmail file located in the home directory.
What does "no luck" mean? No one can help if you don't look at your logs and include more information about what is going wrong. Your original email does not state that you are even using procmail. Are you?
As I mentioned before, you might try cc'ing the plugin author, but otherwise, the better place for this is a procmail group, since procmail problems are OT for a SquirrelMail list.
-- paul
# Sample .procmailrc file for inclusion in a user's home directory: # Designed to call the spamassassin plugin's procmail file located in # SM/data/USER-spamrc
# This sample assumes that you are using a maildir delivery. # This is why it does not use the second colon to ensure locking *and* # why a trailing "/" exists for each maildir to convince procmail to use # maildir delivery:
#If we want verbose information, we turn this on: # (Note: This will generate 4x more data in your log file.) # (If you do not deal with the output from the call to procmail, it will also # output data each time it runs = each tim your get an e-mail.) # Keep this set to "off" unless you know what you are doing: VERBOSE=off
# A nice addition for dealing with parsing: SHELL=/bin/bash
# An extended path for locally called applications: PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
# A variable we can use, assuming the SM username is the same as the system # username: USER=`whoami`
#Your maildir directory: MAILDIR=/home/${USER}/Maildir
# Our optional default: # (NOTE: !!! You *must* include the trailing "/" to the path or procmail # won't treat the delivery as a maildir delivery,) DEFAULT=${MAILDIR}/
# It is a good idea to have a LOGFILE specified, but beware it can grow # if you dont take care of it: LOGFILE=$MAILDIR/PROCMAIL.log
# For SquirrelMail: # This is critical. This is the file that (when it exists as a result of # the SM user setting the "filter on", or the filter being on) ensures # spamassassin is called based on the admin/*config.php option you set: INCLUDERC=/var/ssl.passwall.com/sm/data/${USER}-spamrc
# A bug has been reported in some copies of promail (and one user "out there") # This is designed to fix a problem if it should come up with procmail: # Work around procmail bug: any output on stderr will cause the "F" in "From" # to be dropped. This will re-add it. :0 H * ! ^From[ ] * ^rom[ ] { LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw | sed -e 's/^rom /From /' }
#Our default catch-all: # (NOTE: !!! You *must* include the trailing "/" to the path or procmail # won't treat the delivery as a maildir delivery,) :0 ${MAILDIR}/
On Mon, February 14, 2005 11:26 pm, Paul Lesneiwski said:
Bo Lynch wrote:
I am having problems getting the black and whitelists to work with the spamassassin plugin. I am using SM1.4.3a-6 with postfix + spamassassin + spampd + dovecot + vexira antiv. I have edited the .procmailrc file for that user and have placed the sample script in that with no luck. If any can shed some light it would be must appreciated.
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
that is, you need to show exactly WHICH plugin you're using, as define what exactly you mean by "problems". you might also cc the author of the plugin.
--
Open Guild, LLC 206.984.1171 http://openguild.net/ Software.Systems.Solutions
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
