You are not logged in.

#1 2008-04-09 14:48:21

gernonimo
Member
Registered: 2008-03-06
Posts: 14

getmail - procmail: filtering depending on mail-account

i'v installed getmail and procmail (with the maildir format). getmail fetches all my mails from 3 different mail accounts (gmx, gmail, tuwien). I want procmail to sort the mail depending on the mail account the mail comes from:
My Inbox has 3 subfolders:
Inbox
  - gmx     (all mails fetched from gmx)
  - gmail    (all mails fetched from gmail)
  - tuwien   (all mails fetched from tuwien)

this are my procmail filterrules:

:0
* ^TO_.xyz@gmx\.at
.INBOX.gmx/

:0
* ^TO_.xyz@gmail\.com
.INBOX.gmail/

:0
* ^TO_.xyz@tuwien*
.INBOX.tuwien/

# default rule, drops messages into the default box
:0
* .*
./

but the rules for gmx, gmail and tuwien don't work if i receive a mail as "BCC" - only the last rule for the default box apply. The problem is that a mail received as "BCC" does not contain my email-address anywhere. Is there a possibility to handle this problem somehow?
Thanks in advance!
Gernot

Offline

Board footer

Powered by FluxBB