Click to See Complete Forum and Search --> : procmail, fetchmail, evolution


rbrimhall
05-12-2003, 10:33 AM
Hi,
I've successfully gotten fetchmail to retrieve my mail from my pop3 isp account and think I've gotten procmail to sort this to my home folder to a folder entitled mail... however, I can't seem to read the mail in either ppine, evolution, or sylpheed... is there a certain format this folder should be in? Should it be in a folder? I'm very confused by this... I know that mail collected goes to the mail spool but not sure what "spool" entails and if evolution (which is what I've been using) even reads from the mail spool (or if pop3 mail checked by evolution goes there)... I would like to get this working with mailfilter also... can mailfilter be invoked from fetchmail before mail is retrieved... if so can someone give the command?

THanks!

phil_r
05-12-2003, 12:41 PM
Hmmm... I have fetchmail poll 2 ISP accounts, collect mail, deliver to Procmail, which puts them in my home directory, and K-Mail reads them just fine (set up an account to access a local maildrop).

Can't say for Evolution though, I don't use it... are you running any spam filters that might be killing the messages? SpamAssassin tends to nuke my mail.

Phil.

rbrimhall
05-12-2003, 01:07 PM
jut mailfilter but it deletes from the server itself... when I set up an inbox is it a folder or a text document? When I connected to the folder through evolution it didn't show any messages, but when I went to the folder in nautilus I could see several files with msgs in the title... I tried diverting the mail to pine's mail folder and the messages ended up as docs that had "man pages" formats... not sure what's going on... any suggestions for what I'm doing wrong or if you don't mind maybe you could maybe email me or post a section/copy of your procmail recipes (maybe I'm doing something wrong there...)

email rbrimhal@bellsouth.net

any help is appreciated... I really want to get this working... I'm just at an impasse for now though...

rbrimhall
05-13-2003, 12:52 PM
anybody willing to share how they've set this up? or can point me to where I'm going wrong as far as being able to read the email? Very confused...:confused:

rbrimhall
05-15-2003, 07:47 PM
OK!! Got it working... now, if I could only figure out how to launch mailfilter before fetchmail retrieves the mail and also figure out how to leave copies of the email on the server I'd be set! Any suggestions? Anyone...?

gleather
05-18-2003, 10:07 PM
Any progress on using mailfilter to kill messages on the server?

rbrimhall
05-19-2003, 10:01 AM
yeah, used a preconnect in .fetchmailrc to run mailfilter and pointed it to my .mailfilterrc... works great!! Can't post the actual line now though b/c I'm at work... I'll post the stuff in order to inform others who want to know... info was buried on the fetchmail website under someone's offsite faq

rbrimhall
05-21-2003, 05:21 PM
my fetchmailrc:

set syslog
set bouncemail
set no spambounce
set daemon 60
poll mail.myisp.net with proto pop3:
user "jdoe" there has password "psswd"
is waldo here and wants mda "/usr/bin/procmail -f -"
preconnect "mailfilter --mailfilterrc=/home/waldo/.mailfilterrc

my procmailrc:


PATH=/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin
MAILDIR=/home/waldo/Mail/inbox
DEFAULT=$MAILDIR
PMDIR=$HOME/tmp/Procmail
LOGFILE=$PMDIR/log

:0:
inbox

:0:
* ^TO_[jdoe@myisp.net]

It places my inbox in the $Home dir first and then I move it to the Mail folder... but it works... spam free in 2003 (I wish but I'm getting closer!)

Hope this helps someone out