samr33 Posted December 28, 2004 Posted December 28, 2004 Was wondering if there was some way to configure message sorting through C-panel. The Email Filtering area seemed like an excellent candidate, but the only options I can see for the Action field are Discard, pipe, and forward to email address. Ideally I'd like to take messages from abc@xyz and automatically place them in the "alphabet" folder on my imap account. The RegEx and matching options of Email Filtering seem perfectly suited for this (well, for identifying the email to filter at least), but I can't seem to get the messages into the folders. I've tried entering ">>/mail/alphabet" in the Action field which would work theoretically but I guess the Actions field is carefully filtered for those three above-mentioned options and append isn't one of them. Any creative ideas out there in cyberland? Thanks! Quote
TCH-Bruce Posted December 28, 2004 Posted December 28, 2004 Welcome to the family. What you would have to do is write a script that would process your email and pipe to that script to accomplish what you are wanting. I have never tried but there may be other family members that can help. Quote
samr33 Posted December 28, 2004 Author Posted December 28, 2004 Welcome to the family. What you would have to do is write a script that would process your email and pipe to that script to accomplish what you are wanting. I have never tried but there may be other family members that can help. <{POST_SNAPBACK}> Thanks for the reply Bruce! Good to be part of TCH. Seems like a good group of people and a company with lots of ground-level support. While trying to fine-tune a custom script for this purpose, I inadvertently discovered that no modifier at all (i.e. no pipe| or >>) automatically performs an append. The trick, though, is to find the right directory. /home/(username)/mail/imapfoldername , plus any additional subfolder names if needed. Don't know if this could be useful information to add to the cpanel Email Filtering notes on cPanel or maybe the help pages? Is this the right forum to suggest that? Am I babbling? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.