#1  
Old 1st December 2007, 23:40
joaocosta joaocosta is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Forward email and SpamAssassin

I have email account A (using ISP Config) which forwards to account B on a different domain/server. In account A, I've also used ISP Config to setup Spam Assassin, and it's working well.

However, the forwarding seems to happen before SpamAssassin kicks in, because all the spam is being forwarded to account B. How can I configure things such that SpamAssassin kicks in before the email is forwarded ?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 2nd December 2007, 12:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Quote:
However, the forwarding seems to happen before SpamAssassin kicks in, because all the spam is being forwarded to account B. How can I configure things such that SpamAssassin kicks in before the email is forwarded ?
This can not be configured without programming in ISPConfig 2.2.x. But the current dev versions of ISPConfig (2.3.3) do spam scanning for redirected mails.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd December 2007, 20:09
joaocosta joaocosta is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Can you point me in the direction of how i can program this for ispconfig 2.2.x ? I just needs some hints as to where to look.

What exactly do you mean by programming in this context ? I thought that all that would be needed was to change some configuration file settings, nothing really specific about ISPConfig. If you can just give me keywords for the things i'm supposed to look for that would be a great help.

Thanks.
Reply With Quote
  #4  
Old 2nd December 2007, 22:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Quote:
What exactly do you mean by programming in this context ?
PHP programming. You can not change this by modifying just a config file.

You will have to change the ISPConfig source code to not use the .forward file for forwarding and to use a procmail recipe instead that is called after the spamassassin procmail recipe.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th September 2012, 13:25
esezako esezako is offline
Senior Member
 
Join Date: Dec 2008
Posts: 176
Thanks: 16
Thanked 4 Times in 3 Posts
Default

I have the same issue.

How can i force the spam scan before forward an email?

Thanks
Reply With Quote
  #6  
Old 28th September 2012, 13:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

ISPConfig 2: no
ISPConfig 3: yes
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 28th September 2012, 13:43
esezako esezako is offline
Senior Member
 
Join Date: Dec 2008
Posts: 176
Thanks: 16
Thanked 4 Times in 3 Posts
 
Default

I need do this in Ispconfig 2.

Any orientation?

My server is constantly blacklisted.
Reply With Quote
Reply

Bookmarks

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
Spamassassin blocks email from local users Sidi Installation/Configuration 4 10th December 2007 10:16
spamassassin and forward mail braakiss Installation/Configuration 1 18th April 2007 19:17
Spamassassin Auto-generated Email bluethunder82 Installation/Configuration 14 9th October 2006 03:52
config spamassassin hotchilli Server Operation 1 8th July 2006 12:03
Multiple MySQL Queries - with Postfix-mysql, courier-authmysql, maildrop-mysql... snowfly HOWTO-Related Questions 4 7th July 2006 04:19


All times are GMT +2. The time now is 02:09.


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