procmail
[Top] [All Lists]

Procmail or Fetchmail Problem?]

2003-04-20 02:18:54
Using Debian Woody 3.0 stable system. 

I setup fetchmail to grab my mail from four accounts using this
~/.fetchmailrc setup:

        poll pop3.ie.net.au with proto IMAP
        user 'xxxx' there with password 'xxxx' is 'mpierce' here

        poll mail.optusnet.com.au via mail023.sys.optusnet.com.au
        user 'xxxx1' there with password 'xxxx' is 'mpierce' here
        user 'xxxx2' there with password 'xxxx' is 'mpierce' here

        poll 303Sport via mail.1300Ttimes.com with proto POP3
        user 'xxxx' there with password 'xxxx' is 'mpierce' here

        
I then do some filtering with this ~/.procmailrc setup:
#.procmailrc
#routes incoming mail to appropriate mailboxes

#ASSIGNMENTS SECTION
SHELL=/bin/sh
LINEBUF=4096            #Needed to keep Procmail from chocking on long
                        #receipes or instructions on what to do with
                        #particular kinds of email
PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=${HOME}/Mail/   #Slash @ end of mailbox name tells procmail to
store
                        #email in 'Maildir' format (instead of mbox
format)
DEFAULT=inbox/
LOGFILE=${MAILDIR}/procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "

#RECIPES (Filters) SECTION
#Spamassassin
#pipe the email through SpamAssassin
:0fw
| /usr/local/bin/spamassassin -L
#evalute rule 1 and add spam status to email if spam
:0
* ^X-Spam-Status: Yes
/home/mpierce/Mail/spam/

# Create a backup cache of 100 most recent messages in case of mistakes.
:0 c
backup

  :0 ic
  | cd backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`

# Regenerate "From" lines to make sure they are valid
  :0 fhw
  | formail -I "From " -a "From "


#Forward mail received to a specific Mail mbox

#Root
:0:     #use lock file
* ^From(_dot_)root(_at_)libranet
inbox

#Accept all other mail to default mailbox
:0:
${DEFAULT}

#AnchorDesk
:0:     # the last colon means use a lockfile
* ^(From|Cc|To).*(newsletter.online.com|zdnet.com.au)
MailingList     #put these messages in the 'MailingList' folder

#Dell-laptops
:0:     # the last colon means use a lockfile
* ^(From|Cc|To)(_dot_)*linux-dell-laptops(_at_)yahoogroups(_dot_)com
MailingList     #put these messages in the 'MailingList' folder

#Evolution
:0:     # the last colon means use a lockfile
* ^(From|Cc|To)(_dot_)*evolution(_at_)lists(_dot_)ximian(_dot_)com
MailingList    #put these messages in the 'MailingList' folder

#LibraNet Users Group
:0:     # the last colon means use a lockfile
* ^(From|Cc|To)(_dot_)*libranet-users(_at_)libranet(_dot_)com
MailingList     #put these messages in the 'MailingList' folder

#Linux Today
:0:     # the last colon means use a lockfile
* ^(From).*nl.internet.com
* ^Subject:.*YOUR LINUX TODAY NEWSLETTER
MailingList     #put these messages in the 'MailingList' folder

# Procmail list (Testing this rule with use of FORMAIL)
:0:     # the last colon means use a lockfile
* ^TOprocmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE
| ${FORMAIL} -A"X-Folder: Bulk" >>${MailingList}
#| ${MailingList}


Now most of the .procmailrc rules seem to be working OK. Haven't tested 
mail from procmail as I just signed up. 

Problem, using Evolution1.0.8 as my mail client of choice. Everytime, I
tell Evo to check mail on the account mail.optusnet.com.au, it always
bring downs new mail from the mailing lists i.e., AnchorDesk,
Dell-Laptops, Evolution, Linux Today, etc. I can do this right away
running command 'fetchmail'.

The question is why isn't fetchmail getting this mail or is this a
problem in procmail?




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>