Click here to get rid of any annoying frames
Excerpted version. For the full and most current version. Go to http://linux.org.mt/article/killspam
The software I used are spamassassin, procmail, and fetchmail. My email client is Mozilla but you should be able to use KMail or other clients in the same way. The important thing is that they accept an "mbox" as the source of messages.
Here is the sequence of events which:
Mozilla supports retrieving mail from an mbox file, but this option is not documented. To create such an email account, first create a normal POP3 account, then quit from Mozilla and find the user preferences file. The file is called "prefs.js" and it"s found somewhere in the hidden ".mozilla" or ".netscape" directories in your home directory. The easiest way to find it is to check the "Mail & Newsgroup Account Settings", under "Server Settings" in the POP3 account you can see the Local directory at the bottom. The prefs.js file is usually in the same directory as the "Mail" root folder.
Within this file, find the setting "mail.server.serverN.type/" (where N is a number), and change it from "pop3" to "movemail".
Apart from this, make sure that the directory containing the mbox file (/var/spool/mail) has the permissions "1777". This allows any user to create new files there, but existing files are protected from deletion or renaming. This is necessary because Mozilla will create a "lock file" to ensure exclusive access to your file before writing to it.
chmod 1777 /var/spool/mail
Note that Mandrake Linux will try to set the permissions back automatically to the default values through the msec program. To control this, edit the files /usr/share/msec/perm.*, find the line for /var/spool/mail, and set the permission to 1777.
<< 2003.12.02 Tue