We've expanded our news coverage and improved our search! Visit
news.oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Sanitizing Mail on Panther Server
|
| Subject: |
|
BTW kids, it's case-sensitive |
| Date: |
|
2004-05-26 12:33:32 |
| From: |
|
furbo_dude
|
Response to: BTW kids, it's case-sensitive
|
|
A simpler solution is to do the case conversion in /etc/procmailrc:
# convert user name to all lowercase
USER=`echo $USER | tr "[:upper:]" "[:lower:]"`
# if no matches above, deliver message to the user's inbox
:0w
| /usr/bin/cyrus/bin/deliver -a $USER -m user/$USER
-ch
|