• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs Postfix outgoing IP address does not change

tkalfaoglu

Silver Pleskian
TITLE:
Postfix outgoing IP address does not change
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
PLESK Onyx, CentOS Linux release 7.5.1804, kernel 3.10.0-862.14.4.el7.x86_64, x86_64.
postfix-2.10.1-6.0.1.el7.centos.x86_64
PROBLEM DESCRIPTION:
When the outgoing IP is changed in https:/..../plesk/server/mail/
the change is correctly done in main.cf as
smtp_bind_address = 95.216.90.225

However, even after stop/start of postfix, the outgoing mail is still sent from our eth0 address, 95.216.38.116.

Tested by sending mails to myself and examining the Received headers.​
STEPS TO REPRODUCE:
  1. change the postfix outgoing mail IP address after the original was blocked by SORBS.
  2. Stop/start postfix.
  3. Send test mail out.
  4. Examine headers.
ACTUAL RESULT:
Mail still gets sent out from the old address​
EXPECTED RESULT:
Mail should be sent from the selected address.​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Last edited:
Please check that your postfix has 2.7 version or later. And please, specify "PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE" with ALL details.
Thanks.
 
Hi. It's:

# rpm -qa|grep postfix
postfix-2.10.1-6.0.1.el7.centos.x86_64
postfix-perl-scripts-2.10.1-6.0.1.el7.centos.x86_64
 
Alternative - You can use ip route to set a specific IP for all outgoing connections.
 
Can you share your main.cf config?
Or at least "inet_interfaces" parameter.
> When inet_interfaces specifies just one IPv4 and/or IPv6 address that is not a loopback address, the Postfix SMTP client will use this address as the IP source address for outbound mail.
> Postfix Configuration Parameters

Cannot reproduce the issue with default settings so need more information here.
 
having same problem, how to configure plesk or postfix to send emails from ip corresponding to domain ip, ??
or simply change outgoing mail ip for domains.?

‪CentOS Linux 7.6.1810 (Core)‬ Plesk Onyx Version 17.8.11 Update #67,
postfix-2.10.1-7.el7.x86_64

i tried a lot, but can't find solution...and need help
 
Back
Top