Skip to content
  • Contact us: +34 944 58 06 58
  • Plesk Partner Program
  • Plesk Lifecycle Policy
  • Blog
  • Contact us
  • Plesk 360
Menu
  • Contact us: +34 944 58 06 58
  • Plesk Partner Program
  • Plesk Lifecycle Policy
  • Blog
  • Contact us
  • Plesk 360
  • Solutions
    By Role
    • Developers
    • Content Managers
    • Digital Agencies
    • IT Admins
    • Web Hosters
    • Hyperscalers
    Menu
    • Developers
    • Content Managers
    • Digital Agencies
    • IT Admins
    • Web Hosters
    • Hyperscalers
    By Edition
    • Web Admin Edition
    • Web Pro Edition
    • Web Host Edition
    • Business & Collaboration
    • Plesk WordPress Edition
    Menu
    • Web Admin Edition
    • Web Pro Edition
    • Web Host Edition
    • Business & Collaboration
    • Plesk WordPress Edition
    By Cloud
    • Amazon Web Services
    • Microsoft Azure
    • Alibaba Cloud
    • GCP Marketplace
    • Vultr
    • DigitalOcean
    • Linode
    • UpCloud
    Menu
    • Amazon Web Services
    • Microsoft Azure
    • Alibaba Cloud
    • GCP Marketplace
    • Vultr
    • DigitalOcean
    • Linode
    • UpCloud
    Partner Program
    Exclusive discounts, benefits and exposure to take your business to the next level
    Become a partner
  • Product
    Explore Features
    • Everyone
    • Admins & Web Hosters
    • Developers
    • Designers & Agencies
    • Plesk Features
    Menu
    • Everyone
    • Admins & Web Hosters
    • Developers
    • Designers & Agencies
    • Plesk Features
    Key Topics
    • WordPress Toolkit
    • SEO Toolkit
    • Plesk eCommerce Toolkit
    • Joomla! Toolkit
    • Plesk Premium Email
    • Plesk Email Security
    Menu
    • WordPress Toolkit
    • SEO Toolkit
    • Plesk eCommerce Toolkit
    • Joomla! Toolkit
    • Plesk Premium Email
    • Plesk Email Security
    Feature Packs
    • Business & Collaboration
    • WordPress Pack
    • Hosting Pack
    • Power Pack
    • Language Pack
    Menu
    • Business & Collaboration
    • WordPress Pack
    • Hosting Pack
    • Power Pack
    • Language Pack
    Featured Extension
    RcodeZero Anycast DNS
  • Pricing
  • Extensions
  • Help Center
  • More
    • Careers
    • Events
    • Plesk University
  • FREE TRIAL
  • Solutions
    • By Role
      • Developers
      • Content Managers
      • Digital Agencies
      • IT Admins
      • Web Hosters
      • Hyperscalers
    • By Edition
      • Web Admin Edition
      • Web Pro Edition
      • Web Host Edition
      • Business & Collaboration
      • WordPress Edition
    • By Cloud
      • Amazon Web Services
      • Microsoft Azure
      • Alibaba Cloud
      • GCP Marketplace
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
    • Partner Program
      • Partner Program
  • Product
    • Explore Features
      • Everyone
      • Admins & Web Hosters
      • Developers
      • Designers & Agencies
      • Plesk Features
    • Key Topics
      • WordPress Toolkit
      • SEO Toolkit
      • Plesk eCommerce Toolkit
      • Joomla! Toolkit
      • Plesk Premium Email
      • Plesk Email Security
    • Feature Packs
      • Business & Collaboration
      • WordPress Pack
      • Hosting Pack
      • Power Pack
      • Language Pack
    • Featured Extension
      • Extension
  • Pricing
  • Extensions
  • Help center
  • More
    • Careers
    • Events
    • Webinars
    • Plesk University
    • Blog
    • Plesk Partner Program
    • Contact Us
  • FREE TRIAL
Menu
  • Solutions
    • By Role
      • Developers
      • Content Managers
      • Digital Agencies
      • IT Admins
      • Web Hosters
      • Hyperscalers
    • By Edition
      • Web Admin Edition
      • Web Pro Edition
      • Web Host Edition
      • Business & Collaboration
      • WordPress Edition
    • By Cloud
      • Amazon Web Services
      • Microsoft Azure
      • Alibaba Cloud
      • GCP Marketplace
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
    • Partner Program
      • Partner Program
  • Product
    • Explore Features
      • Everyone
      • Admins & Web Hosters
      • Developers
      • Designers & Agencies
      • Plesk Features
    • Key Topics
      • WordPress Toolkit
      • SEO Toolkit
      • Plesk eCommerce Toolkit
      • Joomla! Toolkit
      • Plesk Premium Email
      • Plesk Email Security
    • Feature Packs
      • Business & Collaboration
      • WordPress Pack
      • Hosting Pack
      • Power Pack
      • Language Pack
    • Featured Extension
      • Extension
  • Pricing
  • Extensions
  • Help center
  • More
    • Careers
    • Events
    • Webinars
    • Plesk University
    • Blog
    • Plesk Partner Program
    • Contact Us
  • FREE TRIAL

Knowledge Base

Unable to send email in Plesk: mail transport unavailable

 
emailserverunixtoolstechnical questions

Symptoms

  • There are lots of undelivered outgoing emails on the Plesk server. It is not possible to send mail and messages get stuck in the mail queue.

  • The following errors are logged in /var/log/maillog:

    postfix/smtp[715642]: connect to example.com[203.0.113.2]:587: Invalid argument
    postfix/smtp[715642]: 8A0FA1D2090C: [email protected], relay=none, delay=470, delays=470/0.01/0.16/0, dsn=4.4.1, status=deferred (connect to example.com[203.0.113.2]:587:
    Invalid argument)

    postfix/qmgr[14111]: warning: connect to transport private/203.0.113.2-: Connection refused
    postfix/error[21724]: 0A1322CF16C: [email protected], relay=none, delay=0.07, delays=0.03/0.01/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)

Cause

Postfix is misconfigured.

Resolution

Connect to the server via SSH.

If there are no custom settings in Postfix’s configuration, execute mchk utility:

# plesk sbin mchk –without-spam

If there are some custom settings and the issue should be resolved more accurately, verify the following:

  1. Transport settings are set as below:

    # postconf -n | grep -i transport
    sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
    transport_maps = , hash:/var/spool/postfix/plesk/transport
    virtual_transport = plesk_virtual

  2. Transport may be defined in sender_dependent_default_transport_map if Send from domain IP addresses option is set in Tools & Settings > Mail Server Settings:

    # postmap -s /var/spool/postfix/plesk/sdd_transport_maps
    @example.com plesk-203.0.113.2-:
    @example2.com plesk-203.0.113.3-:

    Note: 203.0.113.x should be replaced with the server’s IP addresses.

  3. If so, the entries from sdd_transport_maps are defined in the first column of smtp_bind_address option. smtp_bind_address is an optional numerical network address that the Postfix SMTP client should bind to when making an IPv4 connection.

    # grep “smtp_bind_address” /etc/postfix/master.cf
    plesk-203.0.113.2- unix – n n – – smtp -o smtp_bind_address=203.0.113.2 -o smtp_bind_address6= -o smtp_address_preference=ipv4
    plesk-203.0.113.3- unix – n n – – smtp -o smtp_bind_address=203.0.113.3 -o smtp_bind_address6= -o smtp_address_preference=ipv4

  4. To be able to connect, smtp_bind_address needs to be defined as mentioned in the mynetworks section and the binding name should be the same as defined in sdd_transport_maps:

    # postconf mynetworks
    mynetworks = 127.0.0.0/8 [::1]/128 203.0.113.2/32, 203.0.113.3/32

    Starting from Plesk 12, it should be empty:

    # postconf mynetworks
    mynetworks =

    unless there are white-listed IP addresses in Plesk > Tools & Settings > Mail Server Settings > White List tab. If so, they will be added to mynetworks section.

  5. Restart the service:

    # service postfix restart

 

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Advanced Techniques for Building an Email List

Read More »

Setting up Your Ideal Web Development Environment With Plesk Essentials

Read More »

6 Things to Keep in Mind When Choosing an Ideal Server for Big Data Requirements

Read More »
Knowledge Base

Unable to receive/send mail in Plesk: (!)DENIED ACCESS from IP 203.0.113.2, policy bank

Read More »

Mail stuck in the queue in the server with Plesk: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (13)

Read More »

Unable to access mail: Warning: Inotify instance limit for user exceeded

Read More »

Unable to send mail from Plesk: 554:5.7.0 Your message could not be sent. The user filteramm is not allowed to send email

Read More »

Hosting Wiki

  • Server Redundancy
  • QMAIL
  • Sendmail
  • Postfix
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • JavaScript
  • Plesk
  • Web Server
  • DNS Server
  • IPv6
  • IPv4
  • SIP
  • SSH
  • UDP/IP
  • IP
  • Network Bandwidth
  • Email Autoresponder
  • Mailing Lists
  • Email Alias
  • Email Virus Protection
  • Email Forwarding
  • Webmail
  • SpamAssassin
  • SPAM filter
  • SPAM
  • TCP/IP
  • SMTP

Industry
Partners

industry-partner_ALIBABA
industry-partner_GOOGLEPARTNER
industry-partner_MICROSOFT
industry-partner_REDHAT-r2
industry-partner_ALIBABA
industry-partner_AUTOMATTIC
industry-partner_AWS
industry-partner_DIGITALOCEAN
industry-partner_SCALEWAY

Follow us:

Facebook Twitter Linkedin Youtube Github

COMPANY

About Plesk 
Our Brand
Legal
Privacy Policy
Careers
Impressum

PRODUCT

Pricing 
Extensions
What’s new

KNOWLEDGE BASE

Documentation
Help Center 
Migrate to Plesk 
Contact Us
Hosting Wiki
Preview releases

PROGRAMS

Contributor Program NEW Partner Program

COMMUNITY

Blog
Forums 
Plesk University

First defaul
Company

About Plesk
Our Brand
Legal
Privacy Policy
Careers
Impressum

PRODUCT

Pricing 
Extensions
What’s new

KNOWLEDGE BASE​

Documentation
Help Center
Migrate to Plesk
Contact Us
Hosting Wiki
Preview releases

PROGRAMS​

Content ProgramNEW

Partner Program

COMMUNITY​

Blog
Forums
Plesk University

Follow us:

Facebook Twitter Linkedin Youtube Github

© 2022 Plesk International GmbH. All rights reserved. Plesk and the Plesk logo are trademarks of Plesk International GmbH.

Managed with 💙  with Plesk WP Toolkit
  • 2017 Review
  • About Us
  • Agencies
  • Become a partner
  • Blog
  • Brand
  • Build with Plesk
  • Careers
    • (Senior) JavaScript Developer for Sitejet (m/f/d)
    • Backend Developer Server Monitoring (m/f/d)
    • Backend Developer Server Monitoring (m/f/d)
    • Cyber Security Engineer I (m/f/d)
    • Cyber Security Engineer II (m/f/d)
    • DevOps Engineer for Cloud Services & Web Apps (m/f/d)
    • HR Specialist for Plesk (m/f/d)
    • IT Systemadministrator (m/f/d)
    • JavaScript Developer (Core Team) – Full Time
    • Linux Support Engineer for cPanel & WHM (m/f/d) – Full time
    • Middle/Senior Vue.js Frontend Developer (XOVI)
    • PHP Developer (Core Team) – Full Time
    • Praktikant/Werkstudent Human Resources (m/w/d)
    • QA Engineer for Cloud Services & Web Apps (m/f/d)
    • Sales Account Manager Xovi GmbH
    • Security Engineer – Full Time
    • Senior Network Engineer
    • Website and eCommerce Manager
    • Windows/Linux Support Engineer (m/f/d)
    • Windows/Linux Support Engineer (m/f/d)
    • Xovi Middle + Full Stack PHP Developer (m/w/d)
  • Cloudspectator
  • Contact support via chat
  • Contact Us
  • Content Managers
  • Cyber-Deals
  • Developers
  • Elvis Plesky
  • EULA
  • Free Trial for Web Professionals – Thank You
  • Get Extension
    • Get Plesk BaseKit Extension
    • Get Plesk BoldGrid Extension
    • Get Plesk Web Business Builder Extension
    • Get your DigiCert SSL Plesk Extension
    • Get your Sectigo SSL extension
    • Permissions Recursive
    • The Plesk Mocktail Server
  • Holideals
  • Hosting Control Panel
  • Impressum
  • Infrastructure Providers
    • Hyperscalers
      • DigitalOcean
      • Linode and Plesk
      • Plesk on Alibaba Cloud
      • Plesk on Amazon Web Services (AWS)
        • Plesk on AWS Promo
          • Get AWS Credits
            • Thanks for your interest in the Plesk AWS Credits Promotion
      • Plesk on Azure
      • Plesk on Google Cloud Platform
      • Plesk on UpCloud
      • Plesk on Vultr
    • Shared Hosters
    • VPS and Dedicated Hosters
  • ISV
  • IT Admins
  • Legal
  • Licensing and Purchase support
  • Login
  • Oakley Investment FAQ
  • Partner Resource Library
  • Partners Success Stories
  • Plesk 360
  • Plesk APAC Partner Day 2019
  • Plesk APAC Partner Day Event
  • Plesk at CloudFest 2019
  • Plesk at CloudFest 2020
  • Plesk at CloudFest 2022
  • Plesk Business and Collaboration Edition
  • Plesk Content Program
    • Thank you
  • Plesk Contributor Program
  • Plesk eCommerce Toolkit
  • Plesk Editions
  • Plesk Email Security
  • Plesk Essay Scholarship
  • Plesk Events
  • Plesk Features
  • Plesk greets ACHI 2018
  • Plesk Japan Partner Day 2020
  • Plesk Joomla! Toolkit
  • Plesk Lifecycle Policy
  • Plesk Lifecycle Policy (draft)
  • Plesk Obsidian Officially Released
  • Plesk Partner Program
    • Become a partner
    • Partner Program Brochure
    • Plesk Developer Program
      • Submitting Plesk Extensions
    • Resell Plesk
    • Thanks for your interest in the Plesk Partner Program
    • Use Plesk
  • Plesk Partner Program – Revamp
  • Plesk Podcast: Next Level Ops
  • Plesk Premium Email
  • Plesk Price Adjustment 2020/2021 for Partners
  • Plesk Price Adjustment 2020/2021 Online Customers
  • Plesk Price Adjustment 2021/2022 – Online Customers
  • Plesk Price Adjustment 2021/2022 for Partners
  • Plesk SEO Toolkit
  • Plesk sign up for Newsletter
  • Plesk Superheroes
  • Plesk Trial Request
  • Plesk Trial Request – LP
  • Plesk University
    • Plesk University Certification Badges
  • Plesk University Summer School
  • Plesk UX
  • Plesk with CloudLinux
  • Plesk WordPress Edition
  • Plesk WordPress Toolkit
    • Smart Updates
  • Pricing
  • Pricing
  • Pricing Adjustment 2017/2018
  • Privacy Policy
  • Professional Services
    • Administrative services
    • Free migration to Plesk
    • Managed migration to Plesk
    • Migration Steps
  • Remote Management for WordPress Toolkit
  • RU LP – Plesk Trial Request
  • Terms of Use
  • Test chat
  • Thank You
  • Try Plesk for Free
  • Upcoming Features
  • Upgrade Your Plesk
  • Upgrade your Plesk Extension
  • Wanted: a Plesk Wapuu created by you
  • Web Hosting Industry Trends for 2021
  • Wiki
  • WordCamp Europe 2017