Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th December 2009, 11:28
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default No-spam email are ok for the ISPConfig spamfilter,but not for the receiver spamfilter

Hello to everybody.
I've realized a mailserver based on ISPConfig and debian.
It's working just fine.

I've just one problem: sometimes happen that somebody try to send me an email from a ISP that is NATing the IPs; the ISPConfig spamfilter is of course checking that email and mark is as NOT spam.
So the email is passed to the receiver, that is using a local spamfilter.
Well, this spamfilter is marking that email as SPAM.

This is the scenario:

LocationA _____ LocationB ___________ LocationC
the sender_____ISPConfig server _______ receiver


Doing an mxtoolbox blacklist check, the IP of the sender(that in reality is of his ISP, because it's NATing all his customers to few IP) is blacklisted...
For the moment I just remove that IP from the blacklist and I solve the problem.
But unfortunately this problem is happening quite often.

So my question is: there is a way to setup the ISPConfig to just avoid the IP of the sender when is passing the email to the receiver, so that the spamfilter on the locationC will not mark that email as spam?

Or do you have another idea to solve this problem?

Thanks
Michele
Reply With Quote
Sponsored Links
  #2  
Old 16th December 2009, 11:32
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,597
Thanks: 792
Thanked 4,984 Times in 3,904 Posts
Default

To me it seems to be more a problem of the spamfilter on the local system and not the filter in ispconfig as the ispconfig filter acts correctly. The filter on the local system should ignore these ip addresses and only use the real sender IP and not any IP addresses that the mail passed on the way to the receiver. As you run already a spamfilter on the ispconfig system, you should remove the filter on the local system.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 16th December 2009, 11:42
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Hi Till.
I totally agree with you.
But unfortunately I've no access at all to the receiver spamfilter.
I know that is not a problem of ISPConfig. But I've access just to the ISPConfig server.
That's why I want to find a way to setup ISPConfig server to avoid the sender IP when deliver the email to the receiver.

Or maybe do you have a better idea?

Quote:
The filter on the local system should ignore these ip addresses and only use the real sender IP and not any IP addresses that the mail passed on the way to the receiver.
It's using the real sender IP, that is a bad IP (because the ISP is NATing all the users with few IPs)


thanks
Michele

Last edited by voltron81; 16th December 2009 at 11:47.
Reply With Quote
  #4  
Old 16th December 2009, 11:50
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,597
Thanks: 792
Thanked 4,984 Times in 3,904 Posts
Default

I think your problem is not realted to the spamfilter or ispconfig as these mail headers are not changed by amavisd. I think the only possible solution might be to use postfix header filters to delete or replace header lines that conatin IP addresses from private networks like 192.168.*

A header check like this might work:

/^Received:.*\[(192\.168|172\.(1[6-9]|2[0-9]|3[01])|10)\./ IGNORE
/^Received:.*\[127\.0\.0\.1/ IGNORE

See also here:

http://marc.info/?l=postfix-users&m=122106353826539&w=2
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 16th December 2009, 12:07
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Thanks a lot Till.

I'll have a look to that link...

Cheers
Michele
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
ClamAV scans email ISPConfig 2 Snitram General 2 18th June 2009 14:46
Cannot send email from OE through ISPconfig site tomd General 10 12th March 2009 06:05
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
ISPConfig 2.2.0 problem with email addresses DataJet General 1 29th March 2006 13:29
ISP-Ubuntu breezy ispconfig dns email e-mail working finally yellowjelly HOWTO-Related Questions 0 19th November 2005 20:30


All times are GMT +2. The time now is 17:38.


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