Jump to content

Recommended Posts

Posted

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!

Posted

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.

Posted
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.

 

 

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? :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...