procmail recipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hi all

I am trying to filter emails to a user (weather) based on the subject:

:0
*^Subject:.*Weather
| /usr/bin/formail | /path/to/executable

*^Subject:.*Tornado
| /usr/bin/formail | /path/to/executable

All it does is deliver the email to the weather inbox.
For testing I tried.

echo 1 | mail -s "Tornado" weather

Enabling verbose and log file gives me:
 From root@xxxxxxxxxxxxxxxxxxxxxxxx  Fri Mar 13 10:04:07 2009
 Subject: Tornado
  Folder: 
/var/mail/weather                                                 671

Seems like it should work... What did I miss.

Jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux