#1  
Old 2nd January 2008, 15:29
Spaetzle Spaetzle is offline
Member
 
Join Date: Sep 2005
Posts: 56
Thanks: 3
Thanked 0 Times in 0 Posts
Default SPF and multiple IPs

Hi

I have a little problem with SPF and multiple IPs on my Server.
First my Config.
  • Debian Etch installed with the perfect Setup.
  • FQDN of Server: host1.mydomain.tld, IP: 192.168.1.1
  • Some more domains on the Server
  • more IPs: 192.168.1.10 - 19

As long as I only used one IP (192.168.1.1) there were no problems sending mails to hosts checking SPF (For example gmx.de).
After I added more IPs (10-19). All mails send were marked as spam. Looking into the Header I found that postfix started using the highest IP available on the server. When SPF is checked the receiving server sees the wrong IP.
Does anybody know how to create an SPF working with this. I think it is not a good choice adding the highest IP to the record as there might come more IPs in the future. So all SPFs on the server needed to be changed anytime a new IP is added.

At the Moment i just added a line
Code:
smtp_bind_address = <main IP>
to /etc/postfix/main.cf

This seems to work for now. I hope that no other problems will arise from this.

Does anybody know a better way?
Reply With Quote
Sponsored Links
  #2  
Old 3rd January 2008, 11:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

The smtp_bind_address variable in main.cf is the correct solution for the problem.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd January 2008, 11:41
Spaetzle Spaetzle is offline
Member
 
Join Date: Sep 2005
Posts: 56
Thanks: 3
Thanked 0 Times in 0 Posts
Default

OK. This solution works for me. But what if you want to create a customer Domain with its own IP that should use its own IP for sending emails.
Is there a solution to? Any Idea welcome ;-)
Reply With Quote
  #4  
Old 3rd January 2008, 11:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
 
Default

Quote:
Originally Posted by Spaetzle
OK. This solution works for me. But what if you want to create a customer Domain with its own IP that should use its own IP for sending emails.
Is there a solution to? Any Idea welcome ;-)
Then you will have to use multiple servers or at least multiple instances of postfix, ech with its own configuration.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52


All times are GMT +2. The time now is 18:24.


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