Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th March 2006, 20:37
toastmaster toastmaster is offline
Junior Member
 
Join Date: Jan 2006
Location: Ephrata, Washington, USA
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to toastmaster
Default my nat IP in postfix headers is blacklisted

Hello,

I connect to my mail server through my ISPs NAT router, whose IP address is constantly being blacklisted because of virus activity within the network. When I send an email using my server, postfix inserts the header

Code:
Received: from HOSTNAME (Unknown[<My nats IP>])
which usually causes the outbound message to have a very high score because I get these:

Code:
RCVD_IN_XBL: <my NATs IP> listed insbl-xbl.spamhaus.org
in my @spam_admin notifications.

My question is what is the best practice so that my outbound email is not getting blocked by anyone using the spamhaus blacklist.

I have thought about using postfix to strip the headers out, using the postfix command header_checks, but just curious if you have any advice on the subject.
__________________
Jason Gerdes
Reply With Quote
Sponsored Links
  #2  
Old 6th March 2006, 21:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

Quote:
Originally Posted by toastmaster
I have thought about using postfix to strip the headers out, using the postfix command header_checks, but just curious if you have any advice on the subject.
This wont help at all, because other mailservers are performing these checks themself. Today all dynamic IP addresses from DSL and dialin lines are blacklisted.

The solution is to use a mail relay server from your ISP as smartrelay for your local mailserver. So all outgoing mail is sent by the Mailserver from your ISP which is hopefully not blacklisted
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th March 2006, 03:18
toastmaster toastmaster is offline
Junior Member
 
Join Date: Jan 2006
Location: Ephrata, Washington, USA
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to toastmaster
Default follow-up question

Till,

I am not sure that I understand. My server is using a static(Public) IP address. It is outside of the NAT router. My workstation is inside the NAT router. When I send an email, the first header that gets inserted is:

Code:
Received: from GERDES (unknown [64.146.168.140]) by cronos.homenetnw.com (Postfix) with ESMTP id 49E92474472 for <jason.gerdes@yahoo.com>; Mon, 6 Mar 2006 16:09:53 -0800 (PST)
The NAT ip is 64.146.168.140. If I remove or replace that IP, won't that stop spamassassin from checking that IP for blacklisting?

I work for the ISP whose NAT router is always being blacklisted. Should I instead restrict port 25 access so that I won't get that IP address blacklisted anymore. I'm confused about how to proceed. Any help you can provide would be greatly appreciated.

Jason
__________________
Jason Gerdes
Reply With Quote
  #4  
Old 7th March 2006, 11:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Quote:
Originally Posted by toastmaster
Till,

I am not sure that I understand. My server is using a static(Public) IP address. It is outside of the NAT router.
IT is possible that even static IPs are blacklisted if they belong to a DSL line, dial-up accout, etc.

Quote:
Originally Posted by toastmaster
I'm confused about how to proceed. Any help you can provide would be greatly appreciated.

Jason
You can use another mailserver (one that isn't blacklisted) for relaying your mail: http://www.howtoforge.com/forums/showthread.php?t=72
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
problems sending receiving mail on Postfix mavgh1 HOWTO-Related Questions 17 10th March 2006 13:43
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 16:20
please help: postfix design and configuration jaguar Installation/Configuration 1 9th December 2005 12:46
postfix problem flourishing General 1 7th December 2005 18:39
Removed PostFix, Now MySql Problems!!! sapient Installation/Configuration 10 24th October 2005 08:11


All times are GMT +2. The time now is 01:39.


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