When mail is sent from my server, QMail uses an incorrect IP for the connection. How do I change the IP used for outgoing connections from my server?

Follow

Comments

5 comments

  • Avatar
    Luis Zubeldia

    This change the ipv4 byt Gmail for example begin using the same ipv6 of the server.

    How can i diable ipv6 for qmail so?

  • Avatar
    Vitaly Zhidkov (Edited )

    @Luis, you can use "ip -6 route" command to manage ipv6 routes configuration

  • Avatar
    Alain CORDIER

    I have the same question as Luis: I want to disable IPV6 for qmail output ONLY (as I need to send mails to gmail and do not have the possibility to add a PTR record for now) ?

  • Avatar
    Vitaly Zhidkov

    @Alain, did you try the ip -6 route?

  • Avatar
    Alain CORDIER

    @Vitaly, no, I switched from Qmail to Postfix and set inet_protocols to ipv4

Please sign in to leave a comment.

Have more questions? Submit a request