Tim Thomson wrote: > Hi, > I have a number of mail boxes, to handle the different lists I am on. > I use procmail to filter the mails to the right folders. > > I have put: > MAIL='/var/spool/mail/tim;/home/tim/mail/debian-user;/home/tim/mail/seul- > project' > MAILCHECK=10 > > into my .bash_profile. I have tried the same MAIL variable as MAILPATH but > this didn't work.
I use xbuffy to do mail notification. It's a better xbiff-like program. > Also, how can I have mail that have been cross posted still sorted into > the correct boxes? At the moment procmail looks at the TO headers, but if > something is crossposted, all the mails go into the same box. I think I > need to set something in a different header, but I don't know what it is. Don't sort on `To'. When you receive newmail on your spool file, `more' it and you will see an initialĀ `From' line which you can use with procmail. Examples: ----- MAILDIR=/var/spool/mail #you'd better make sure it exists :0 * ^From [EMAIL PROTECTED] debian :0 * ^From [EMAIL PROTECTED] procmail :0 * ^From [EMAIL PROTECTED] fetchmail :0 * ^From [EMAIL PROTECTED] fvwm :0 * ^From [EMAIL PROTECTED] aic7xxx ----- Or put all mailing lists other than Debian in `mailing': ----- MAILDIR=/var/spool/mail #you'd better make sure it exists :0 * ^From [EMAIL PROTECTED] debian #Majordomo lists :0: * ^Sender: owner-\/[-a-zA-Z0-9_.]* maillists #SmartList lists :0: * ^X-Mailing-List: <\/[-a-zA-Z0-9_.]* maillists ----- -- Peter Galbraith, research scientist <[EMAIL PROTECTED]> Maurice-Lamontagne Institute, Department of Fisheries and Oceans Canada P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada 418-775-0852 - FAX 418-775-0546 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .