1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Qmail uses incorrect IP Address

Discussion in 'Plesk for Linux - 8.x and Older' started by gwider, Aug 14, 2008.

  1. gwider

    gwider Guest

    0
     
    Hello All!

    Since the upgrade to Pleask 8.6 Qmail is misbehaving slightly.
    Qmail used to use the standard IP address eth0 to send email.

    Qmail is now using a secondary IP address eth0:1 instead which is creating bad SFP problems.

    server:/var/qmail/control # ifconfig (real addresses have been x-ed out)
    eth0 Link encap:Ethernet HWaddr 00:E0:81:5C:67:6F
    inet addr:xx.xxx.xx.xxx Bcast:xx.xxx.xx.xxx Mask:255.255.255.255
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:63499060 errors:0 dropped:0 overruns:0 frame:0
    TX packets:90868963 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:8881697321 (8470.2 Mb) TX bytes:110897975310 (105760.5 Mb)
    Interrupt:19

    eth0:1 Link encap:Ethernet HWaddr 00:E0:81:5C:67:6F
    inet addr:xx.xxx.xx.xx Bcast:0.0.0.0 Mask:255.255.255.255
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:19

    eth0:2 Link encap:Ethernet HWaddr 00:E0:81:5C:67:6F
    inet addr:xx.xxx.xx.xxx Bcast:0.0.0.0 Mask:255.255.255.255
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:19

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:1599521 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1599521 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:237341994 (226.3 Mb) TX bytes:237341994 (226.3 Mb)

    I did try the following approach http://forum.swsoft.com/showthread.php?t=47946&highlight=outgoingip creating an /var/qmail/control/outgoingip file, but this didn't help. I presume this will only work with an additonal Qmail patch which I'd like to avoid.

    Can anybody suggest a method how to fix this problem or to convince Qmail to use the standard IP address again?
    Thanks for your responses!
     
  2. RS_Jelle

    RS_Jelle Basic Pleskian

    23
    23%
    Joined:
    Apr 1, 2005
    Messages:
    46
    Likes Received:
    0
    I have the same problem (but running Plesk 8.3).
     
  3. dash

    dash Regular Pleskian Staff Member

    28
    40%
    Joined:
    Sep 26, 2007
    Messages:
    204
    Likes Received:
    47
    try to use the following KB article:
    http://kb.odin.com/en/1190
    This article will explain which ip is used by qmail for outgoing connections and how to change it.
     
Loading...