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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux