plars Posted April 25, 2003 Posted April 25, 2003 I have a .procmailrc file that has worked for me in the past so the rules should be good. I put it in the root of my home directory but nothing is even getting logged so I don't think procmail is even trying to run it. Is there a different location I need to put it? Thanks Quote
plars Posted May 7, 2003 Author Posted May 7, 2003 Ok, at this point I would settle for knowing if ANYONE is successfully using procmail on this hosting service. I've managed to get procmail to fire twice. I have had thousands of messages come in matching the exact same signitures (I checked the header files to be certain) and I've used this .procmailrc on 3 other sites before with no problems. What is making this so flakey? I have 2 log entries from procmail saying that it did handle 2 messages, but nothing before or after that went through procmail. Before you ask, yes I do have my .forward setup to run it, and I've tried it with and without exec (exim and some other things need that). Has anyone had any level of success with procmail here? Did you have to do anything special? Quote
Guest Guest_plars Posted May 29, 2003 Posted May 29, 2003 Ok, I'm starting to wonder if .forward is supported. Has procmail been disabled on purpose? Has anyone else even attempted this? I can't believe that it's that uncommon. If I can't make this work then I'm going to have to find a different provider. Mail filtering is crucial to handle the volume of mail I receive. I'm having to redirect to a different host right now where procmail works but I really need to be getting it at this address. Quote
rayners Posted May 29, 2003 Posted May 29, 2003 Well, after a quick look at the server I'm on (4), it would seem that .foward is supported by Exim. I can't say for certain that is the case for all the servers, but I doubt any of them have it explicitly disabled. Where have you placed your .forward file? Quote
Guest Guest_plars Posted May 30, 2003 Posted May 30, 2003 I put it in the root of my home directory (highest directory it lets me see from the file manager). My .forward and .procmailrc are both there. Quote
Guest Guest_plars Posted May 30, 2003 Posted May 30, 2003 Actually, if you have access to the exim.conf, could you check to see if there's a procmail_pipe entry in there? If that's the case, then I shouldn't even need the .forward. The only question is, where should the .procmailrc go? One would assume that it goes in the root of your home directory, but with the multiple imap account setup I'm not sure how it should work, nor do I know what they are using for that. I've putting both files in $HOME and in $HOME/mail/domainname/user and neither would make it work. Quote
Guest Guest_plars Posted June 3, 2003 Posted June 3, 2003 If anyone else is having problems with this, don't bother opening a helpdesk ticket. They refuse to support procmail. Procmail is such a basic feature that I've never had problems with on any host until now. Right now, I'm at the end of the rope. I've tried everything I know how to try and I'm going to go back and double check everything again. Failing that, time to find a new hosting company. Is there something I'm missing? What are people that get high volumes of email using? It's no longer acceptible for me to stay off of some lists with this account, so I have to get something working quickly. And no, the simple "blocker" thing from cpanel is not sufficient. Quote
rayners Posted June 3, 2003 Posted June 3, 2003 Okay, I spent a few minutes and I actually got it working. But it requires some back-end tweaking. I'm going to check with HG before I release any details on it. Quote
Head Guru Posted June 4, 2003 Posted June 4, 2003 If anyone else is having problems with this, don't bother opening a helpdesk ticket. They refuse to support procmail. Procmail is such a basic feature that I've never had problems with on any host until now. Right now, I'm at the end of the rope. I've tried everything I know how to try and I'm going to go back and double check everything again. Failing that, time to find a new hosting company. Is there something I'm missing? What are people that get high volumes of email using? It's no longer acceptible for me to stay off of some lists with this account, so I have to get something working quickly. And no, the simple "blocker" thing from cpanel is not sufficient. You are correct we will not support procmail. Thank you rayners for your work, can you please email me with the details. I also spent ten minutes in jail shell and got it working. You may post here as well, but to the users please dont expect support for this. However, as this user was told in his help desk ticket. cPanel isnt fully supporting it yet and I have no plans on supporting it either. In fact, cPanel doesnt fully support it yet. Quote
rayners Posted June 4, 2003 Posted June 4, 2003 Okay, here's what I found. Basically, all you need to do is have a forwarder setup to pipe to procmail. Unforunately, the Procmail guides I read recommend using "|/usr/bin/procmail -f-" as the pipe, and CPanel doesn't handle the spaces well. If you have shell access for your domain, you can hand edit the file containing the forwarders (/etc/valiases/domain.name) to have a line as follows: >email@domain.name: "|/usr/bin/procmail -f-" And then place a .procmailrc file in your home directory. I spent some time in the CPanel forums, and it just boils down to the fact that CPanel does not currently support Procmail. If you want to do this, and have the access to set it up, more power to you. But, as Bill said, this is not going to be supported by TCH. Quote
plars Posted June 4, 2003 Author Posted June 4, 2003 Thank you very much for taking a look at this, I'll give your suggestion a try. The latest reply on the help desk ticket confirmed my suspicion that exim could be configured to support this better, but I don't think there was an attempt to do that. Since exim.conf is not writable by me this is my only option assuming I can do it with ftp or filemanager. I seriously doubt if cpanel would ever support a feature like procmail. It's just a simple text file and normally isn't so big a hassle. I'll post back when I get a chance to try it. Thanks again rayners. Quote
plars Posted June 4, 2003 Author Posted June 4, 2003 Neither that file nor that directory existed anywhere under the only /etc that I can see so I created them and retested this. It still doesn't work. I've burned too much time on this already. I'm done. Quote
rayners Posted June 4, 2003 Posted June 4, 2003 If you're on a shared server, they should already be there. But, the big thing is that you cannot access them via FTP. I tried. Shell access is required to be able to edit those files. Quote
whoisjohngalt Posted April 1, 2004 Posted April 1, 2004 A hacked solution to this problem: http://www.totalchoicehosting.com/forums/i...?showtopic=8962 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.