Results 1 to 6 of 6
  1. #1
    bpiper Guest

    Bind IP to qmail

    How do I bind an IP address to qmail?

    I have multiple IP addresses on my machine and I want set eth0:1 as the mail server address. My DNS is pointing mail.mydomain.com to the correct IP but qmail is picking the address on eth0 to send from which obviously is failing in some spam filters.

    Any help would be greatly appreciated.

    Thanks!

  2. #2
    Join Date
    Jul 2007
    Posts
    42
    Points
    6,133
    Level
    33
    I found your old thread searching google for a way to bind IP to sendmail.

    Looks like interworx already has qmail patched (thankfully) and you can do it. Follow the instructions in the second post of this thread:
    http://forums.interworx.com/threads/...ress-selection

    Reboot SMTP server after creating the file and it works beautifully.

  3. #3
    Join Date
    Apr 2012
    Posts
    2,150
    Points
    23,244
    Level
    66
    Hi deheleri

    Many thanks

    Yes, the patch was added many years ago and you can bind ip to any IPv4 address, even have different domains bind to different ip addresses

    Many thanks

    John

  4. #4
    Join Date
    Oct 2017
    Posts
    2
    Points
    4
    Level
    1
    May I ask a question? Why do you want to do this, I mean multiply the IP?

  5. #5
    Join Date
    Apr 2012
    Posts
    2,150
    Points
    23,244
    Level
    66
    Hi zandry

    Good question

    The answer is many reasons from separating email to hosting ip, to using email on another server etc... itís also handy if your email server ip gets blacklisted

    Many thanks

    John

  6. #6
    Join Date
    Jul 2007
    Posts
    42
    Points
    6,133
    Level
    33
    Our specific reason is because we had an IP on a different server with many years of positive email reputation. We got a new server and had our host move that IP to our new server. After it was on the new server, we could bind qmail to use that IP, and continue emailing with our good reputation.

  7. The Following User Says Thank You to deheleri For This Useful Post:


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •