HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Feature Requests (http://www.howtoforge.com/forums/forumdisplay.php?f=17)
-   -   Spam Strategy...No redirect??? (http://www.howtoforge.com/forums/showthread.php?t=12975)

faraday G 28th May 2007 09:57

Spam Strategy...No redirect???
 
Just wondering why there is no spam redirect guys.

I use ISPConfig because im too lazy to setup vertual hosts for the 2 domains I look after. Its so much simpler and also handles spam and virus protection....very cool proggy.

But one thing that would really polish it off for me would be the ability to redirect spam, instead of just re-labelling or dropping it.

I have a donotreply@ email address I want to redirect all the companies spam too, just in case something extremely important comes along and doesnt go through.

I know I can setup the address up as a catch-all address and it does that, but it also catches the spam from accounts that no longer exist which is terrible.

Is there another way of doing this???

Thanks in advance to those that have the time to help..

PS. Well done devs on a fine piece of warez.

till 28th May 2007 13:39

You can add a redirect to the spamassassin procmail recipe in the users home directories or to the master template in /root/ispconfig/isp/conf/

faraday G 29th May 2007 00:10

fantastic.

Now can someone explain what the hell that means lol.

As stated before, I used ISPConfig as its the easy way to accomplish the job, which im all about, productivity.

So if anyone has 5 minutes, please help by elaborating.

faraday G 29th May 2007 00:37

another quick one. I have 2 websites that im hosting with 2 seperate spam accounts. It would be great if I could somehow set it up so that everyone in one damain or home directory, is set to send spam to the spam address by default.

Even if I hadto do it manually for every account that would be ok. What I dont want is spam from 2 domains going to the 1 directory.

falko 30th May 2007 16:07

Quote:

Originally Posted by faraday G
Now can someone explain what the hell that means lol.

There's a .procmailrc file in each user's homedir, e.g. /var/www/web1/user/web1_exampleuser/.procmailrc. You can modify these procmail files, but you should be aware that these changes will be overwritten whenever you change something in ISPConfig. To avoid this, you can modify the template file in /root/ispconfig/isp/conf, or even better (if you use ISPConfig 2.2.13), create a customized template in /root/ispconfig/isp/conf/customized_templates/.

faraday G 30th May 2007 23:44

Thanks for your help.

Would that work with 2.2.12? PAst experience has often taught me that upgrading often break things, so I decided to wait until I know the system better.

till 31st May 2007 08:34

The functionality with the customized_templates folder has been integrated in 2.2.13, so it will not work with 2.2.12.

faraday G 1st June 2007 00:15

ok I upgraded to 2.2.13.

Can someone link me to a walkthrough to explain step by step how to do this.

Thanks.

falko 1st June 2007 19:01

Let's say you want to modify /root/ispconfig/isp/conf/procmailrc.master. Instead of modifying that file, you leave the file unmodified and put your edited version into /root/ispconfig/isp/conf/customized_templates (-> /root/ispconfig/isp/conf/customized_templates/procmailrc.master). ISPConfig will see that file and use it instead of /root/ispconfig/isp/conf/procmailrc.master.

faraday G 4th June 2007 01:03

Thanks Falko.

I kinda go that part. I just dont know what I need to put in that file to do what I need done.


All times are GMT +2. The time now is 21:07.

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