Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-28-2008, 05:23 AM
Intermediate Member
 
Posts: 23
Default Zimbra cluster and postfix smtp_bind_address

Hi everyone,

I have a Zimbra cluster setup like this:

node primary.example.com, IP 10.0.0.2
node secondary.example.com, IP 10.0.0.3
cluster service name mail.example.com, cluster service IP 10.0.0.4

I would like to setup postfix so that it uses the cluster service IP address 10.0.0.4 and not the cluster node's own IP address (10.0.0.2) when it's sending mail to outside recipients.

Elsewhere it is said that one shouldn't use postfix's smtp_bind_address to achieve the desired end result. Is there any other way to do it?
Reply With Quote
  #2 (permalink)  
Old 02-01-2008, 12:32 AM
Intermediate Member
 
Posts: 23
Default

Just to explain why I think this is important:

when postfix opens an SMTP connection to, say, hotmail.com to send mail, it uses the IP 10.0.0.2. Then it says "EHLO mail.example.com" to initiate the SMTP session. hotmail checks the sending server in several ways, and one of them is a reverse dns check. 10.0.0.2 doesn't resolve to mail.example.com but to primary.example.com. This makes the sending server suspicious to hotmail and the messages sent are more likely to end up in the hotmail recipients' "Junk" folder.

This is just an example, and you could replace hotmail with any big ISP/mail provider. This is a real problem for us.
Reply With Quote
  #3 (permalink)  
Old 02-01-2008, 12:46 AM
Moderator
 
Posts: 2,207
Default

I'm not following you here.

What kind of cluster are you using, RHCS ?

Postfix should bind to the virtual IP, just like any other Zimbra service (mailboxd, amavisd, etc).
Reply With Quote
  #4 (permalink)  
Old 02-01-2008, 01:52 AM
Intermediate Member
 
Posts: 23
Default

It is indeed RHCS, installed exactly as documented in Zimbra Single Server Cluster Installation Guide.
Reply With Quote
  #5 (permalink)  
Old 02-01-2008, 02:02 AM
Moderator
 
Posts: 2,207
Default

And using RHCS, postfix does not bind to the virtual IP ???
Reply With Quote
  #6 (permalink)  
Old 02-01-2008, 05:17 AM
Intermediate Member
 
Posts: 23
Default

Quote:
Originally Posted by Klug View Post
And using RHCS, postfix does not bind to the virtual IP ???
That's exactly the case! It uses the hosts own ip instead.
Reply With Quote
  #7 (permalink)  
Old 02-01-2008, 05:24 AM
Moderator
 
Posts: 2,207
Default

I've just checked with a message set by one customers' cluster (running 4.5.10) : postfix "speaks" through the virtual IP.
Reply With Quote
  #8 (permalink)  
Old 02-01-2008, 05:28 AM
Intermediate Member
 
Posts: 23
Default

Quote:
Originally Posted by Klug View Post
I've just checked with a message set by one customers' cluster (running 4.5.10) : postfix "speaks" through the virtual IP.
That's weird! I'm still running 4.5.9, but that shouldn't make any difference, should it?
Reply With Quote
  #9 (permalink)  
Old 02-05-2008, 01:35 AM
Intermediate Member
 
Posts: 23
Default

Quote:
Originally Posted by Klug View Post
Postfix should bind to the virtual IP, just like any other Zimbra service (mailboxd, amavisd, etc).
I think postifix binds to IP_ADDR_ANY, at least on my site it is listening on:
- localhost (127.0.0.1)
- server ip address (10.0.0.2)
- cluster service address (the "virtual IP", 10.0.0.4)

How to make postfix use the virtual IP when talking to outside, without generating problems referred to in this post?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.