Do it one piece at a time. Get fetchmail running, along with your MTA (I use postfix), and let it just download the mail and drop it into your Maildir or where ever you would like it. Once that works to you add the rest of the pieces one by one. It's just easier to troubleshoot that way.I have read extensively from Google and trialled many packages such as fetchmail, getmail, exim, procmail, courier, clamav and spamassassin etc. It all rapidly turns into a 'Can of Worms'(TM). :)
postfixgetmail: mail from my offsite imap and pop servers fetchyahoo: to get my mail from yahoo local mail: from system apps all go into a spool of some sort.
you should really try amavisd-new for thisTest for virus - clamav Test for scrips etc - sanitizer Test for Spam and add ***SPAM*** to subject - spamassassin
let postfix hand the mail off to procmailSort into Maildir folders based on x criteria eg. 'To:' address and ***SPAM***
again postfix, and have it relay mail to your ispI use a superhost, all outbound email via my isp smtp server.
install courier-imap - after installing with apt-get there is absolutely nothing you have to do to configure itIMAP server on local host
fetchmail/getmail/ectI really don't want a hand holding session but what I would like a logical path to follow using the minimum number of steps and processes.
Hans du Plooy
SagacIT (Pty) Ltd
hansdp at sagacit dot com