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 17th March 2009, 14:31
radim_h radim_h is offline
Senior Member
Join Date: Jan 2007
Location: Prague, Czech
Posts: 426
Thanks: 34
Thanked 26 Times in 21 Posts
Send a message via ICQ to radim_h
Default ISPC2 How to do spam check BEFORE forwarding emails ?

I have set email account in ISPC 2.2.29 and have also set forwarding of email to different mailbox.
Spam is set to be deleted.
But as i found email is forwarded first and then spam is delted for local mailbox.
This is really anoying when forwarding mails for example to mobile pohone as SMS

How should i set Spam to be deleted first (email Spamcheck first) and then rest of emails forwarded ?

Thanks for any help ..
Reply With Quote
Sponsored Links
Old 18th March 2009, 08:51
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

In Linux the forward files is always executed before any procmail script is run. As far as I know this can not be changed.

the only thing you can try is to modify the ispconfig scripts so that they do not use the forward function from linux to forward the files and write a procmail recipe instead for forwarding which you can include after the spam check in .procmailrc.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 18:37
how to apply spam filter to forwarded emails on postfix? sluggish_homer Server Operation 3 16th April 2008 23:52
Check outgoing mail? spam? spuppy General 2 24th March 2008 17:27
ISP Config not working in mandriva 2008 bigdavid889 Server Operation 8 28th February 2008 21:05
SPAM: whitelisting local domains (safe emails)... lyndros Tips/Tricks/Mods 3 7th October 2007 21:27

All times are GMT +2. The time now is 20:13.

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