![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using procmail to filter content | new2ss | UNIX for Advanced & Expert Users | 1 | 06-11-2007 03:24 AM |
| procmail code help | Hexabah | UNIX for Dummies Questions & Answers | 0 | 08-30-2006 07:05 PM |
| Procmail Tutorial | luiz_fer10 | UNIX for Dummies Questions & Answers | 1 | 05-24-2002 08:39 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Procmail filter
Hello,
I want to make a filter with procmail, using the day of the week ant the hour to filter the message. If the day is Tuesday, the message is redirected to one address. On the other days, the message goes to another address. The messages will be redirected at 8 am to 17 pm. I tried something like: :0 * ^From (0[89]|1[0-6]|):[0-5][0-9]: (Tue) :0 * ^From (0[89]|1[0-6]|):[0-5][0-9]: (Sun|Mon||Wed|Thu|Fri|Sat) ! email2 But this don't work how I want to. Anybody knows the right syntax? Thanks |
| Forum Sponsor | ||
|
|