Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-15-2003, 01:29 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: JAMD 0.0.6
Posts: 7

Rep: Reputation: 0
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 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.
Old 09-15-2003, 03:25 PM   #2
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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
set postmaster "fancy"
set nobouncemail
set no spambounce
set properties ""
poll 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

Last edited by fancypiper; 09-15-2003 at 03:41 PM.
Old 09-15-2003, 03:31 PM   #3
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Messup deleted

Last edited by fancypiper; 09-15-2003 at 03:34 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetchmail SpamAssassin & Q-mail rajbaxi Linux - Software 4 11-09-2006 11:42 PM
fetchmail/spamassassin woes dizzutch Linux - Software 0 12-30-2004 02:22 PM
fetchmail procmail spamassassin VincentB Linux - Software 4 08-24-2004 02:35 PM
SpamAssassin + Virusscanner + Fetchmail + POP3 Server dARkHunTEr Linux - Software 44 05-17-2004 11:20 PM
fetchmail + KMail. oh and spamassassin graffitici Linux - Networking 0 01-23-2004 12:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration