Re: Spamassassin behaving strangely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joe Zeff wrote:

> Just out of curiosity, what email client are you using?  I ask because
> I'd like to get spamassassin working but I don't know how to integrate
> it with what I have.

I'm running dovecot, an IMAP server, on my desktop;
then I'm using kmail on my laptop to read the mail.

I'm not sure if this is the right way to do things,
but in ~/.procmailrc on the server I have
---------------------------------
:0fw:spamassassin.lock
* < 256000
| /usr/bin/spamc

:0:
* ^X-Spam-Status: Yes
/home/tim/Maildir/.Spam/new
---------------------------------

Then when I run "sudo service spamassassin restart"
spamd starts running.
This sets the X-Spam-Status for each email item;
and the entry in .procmailrc above
move spam mail to the directory shown.

Then I have an entry sa-learn in /etc/cron.daily
---------------------------------
#!/bin/sh

/usr/bin/sa-learn --spam /home/tim/Maildir/.Spam/cur
/bin/rm -f /home/tim/Maildir/.Spam/cur/*
---------------------------------
which runs sa-learn on the spam I've saved,
and then deletes it.

As I said, I'm not sure if this is the right way to go about it.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux