WebFaction
Community site: login faq

Hello, I have some doubts about filter mail from mailist.

Can I use this lines?

:0:
* ^TOccsl-comunidade
* ^TOthackday
* ^TOlistamacambira
.sl-discuss/

and this

:0:
* ^TO:.*@kde.org
.KDE/

It is my first time in procmail filter.

asked 26 Aug '13, 18:41

Filipe Saraiva
13
accept rate: 0%

edited 26 Aug '13, 19:25

seanf
12.2k42136


You should only need to declare this once,

:0:

The To lines should look like this,

* ^To:.*ccsl-comunidade
permanent link

answered 26 Aug '13, 21:11

johns
5.4k412
accept rate: 23%

Thanks johns. The use of TO is based in http://partmaps.org/era/procmail/quickref.html.

" ^TO This covers most headers which can carry your address in them, such as To:, Apparently-To:, Cc:, Resent-To:, etc. You should perhaps use ^TO_ instead. Note that there is no corresponding ^FROM macro. "

Thanks!

permanent link

answered 31 Aug '13, 10:42

Filipe Saraiva
13
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×17
×3

question asked: 26 Aug '13, 18:41

question was seen: 1,957 times

last updated: 31 Aug '13, 10:42

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM