Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 9th August 2007, 21:11
Rescue9 Rescue9 is offline
Join Date: Jun 2007
Posts: 52
Thanks: 5
Thanked 3 Times in 2 Posts
Default ISPConfig & procmail rules

I've read just about every file I could read regarding email rules with ISPConfig, but it still can't get it to work.

I focus'd on this file: http://www.howtoforge.com/forums/arc...hp/t-9127.html

I seem to remember this working last time I tried this installation, but I don't know what I did back then.

Basically I have a number of Yahoo Group and forum email that I want sorted into individual folders that I created on the server.

There's a lot of information, so if I miss something please ask.

First, I created a .personalrules.rc file that looks like this
## Begin Recipes
## Recipies must have reverse to match reversed words

# Primus Micron
* ^Subject: .*Primus.*Micron.*
${HOME}/Maildir/.BGT\ Specific\.Primus\ Micron/

# Patagonia Down Jacket
* ^Subject: .*Patagonia.*Jacket.*
${HOME}/Maildir/.BGT\ Specific\.Patagonia\ Down\ Jacket/

* ^Subject: .*Jacket.*Patagonia.*
${HOME}/Maildir/.BGT\ Specific\.Patagonia\ Down\ Jacket/

# Big Agnes Lost Ranger
* ^Subject: .*Lost.*Ranger.*
${HOME}/Maildir/.BGT\ Specific\.Big\ Agnes\ Lost\ Ranger/

# Big Agnes Dual Core
* ^Subject: .*Dual.*Core.*
${HOME}/Maildir/.BGT\ Specific\.Big\ Agnes\ Lost\ Ranger/

# BD Mesa
* ^Subject: .*Mesa.*
${HOME}/Maildir/.BGT\ Specific\.BD\ Mesa/
There is more, but you get the idea.

Second, I edited the file /root/ispconfig/isp/conf/procmailrc.master and to look like this
These rules worked as is without the "${HOME}/Maildir/" on my previous server, but I simply can't figure out what to do next.
Reply With Quote
Sponsored Links
Old 9th August 2007, 23:45
Rescue9 Rescue9 is offline
Join Date: Jun 2007
Posts: 52
Thanks: 5
Thanked 3 Times in 2 Posts

I played with this for 5 hours and finally figured it out.

Because $MAILDIR was already specified in the .procmailrc in the web# folder, I needed to remove the ${HOME}/Maildir/ from the beginning of the rules.

Sorry to trouble.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPconfig Virtual Hosts + Perfect setup Problem ? orasis Installation/Configuration 5 16th March 2007 11:46
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 22:01
Users and websites aren't created Glorfindel Installation/Configuration 9 23rd February 2006 05:20
Running ISPConfig on a vserver? tron Installation/Configuration 4 8th December 2005 11:35
procmail supposed to be in main.cf? Smitty Installation/Configuration 4 5th December 2005 11:10

All times are GMT +2. The time now is 22:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.