LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fetchmail / spamassassin help? (https://www.linuxquestions.org/questions/linux-newbie-8/fetchmail-spamassassin-help-93061/)

kiteless 09-15-2003 12:29 PM

fetchmail / spamassassin help?
 
hi folks, can you help me with my mail woes? here is what i want to do, i want to have fetchmail (or something) pick up my mail from my pop3 servers and somehow pipe them through spamassassin, and finally view them in kmail. here are the mail packages i have available. i know i probably don't need them all:

sendmail 8.12
procmail 3.22
postfix 2.0.15
fetchmail 6.2
spamassassin 2.55

at the moment i am working on fetchmail. i don't know if this is where i need to start or not. here is my .fetchmailrx file:

set daemon 180
poll mail.misternaughty.com with proto POP3
user 'user' there with password 'pass' is 'kiteless' here

here is where i am running into a problem. i can run a fetchmail -vc and it shows it is connecting to my mail server, logging in correctly, and seeing there is mail waiting. now if i just run a fetchmail -va, it does nothitng. no feedback or anything. it just runs as a process, and no matter how long i let it run, it doesn't pick up the mail. i am totally confused. i am not sure what i need to do here. is there an alias i need to setup somewhere? do i need to set up local mail somehow? any help would be appreciate, i have no clue what i am doing (well thats not true but i am lost). i would be willing to try and get postfix working, or whatever you think is the best course of action. thanks in advance.

fancypiper 09-15-2003 02:25 PM

I think I got this config from Suresh Ramasubramanian's email guide back in '99, but I'm not sure.

I use fetchmail by commanding:

fetchmail -d 300

My .fetchmailrc file for a sample
Code:

set postmaster "fancy"
set nobouncemail
set no spambounce
set properties ""
poll mail.yourisp.com with proto IMAP
      user 'ispusername' there with password 'isp-password' is 'fancy' here

chmod 600 ./.fetchmailrc after you edit.

E-mail will be delivered to the file /var/spool/mail/<user>, so set your e-mail client to use local delivery or to use the directory that procmail filters it to.

# Common e-mail tools
sendmail - postfix - sends mail to local users (and internet when configured correctly)
fetchmail - gets mail from internet accounts (non-Hotmail type)
procmail - sorts and delivers into separate mailboxes
mutt - mail client that sucks less than all the others
Email the Linux Way
Suresh Ramasubramanian's email guide
The Linux Mail User HOWTO
The Linux Electronic Mail Administrator HOWTO
SquirrelMail web mail
Why use Hotmail when there is LinuxMail?
Gotmail, a utility to download mail from Hotmail type accounts

fancypiper 09-15-2003 02:31 PM

Messup deleted


All times are GMT -5. The time now is 09:54 PM.