EmailLabs DOCS
API DOCSEmail API & Cloud SMTPPricingBlog
EN
EN
  • 👋Welcome to EmailLabs!
  • 🔐Security & Compliance
    • EmailLabs Safety Center
      • Scope and Purpose of Personal Data Processing
        • Cloudflare
      • ISO/IEC 27001, 27018 and 22301 Certifications
      • Security Testing
      • Security Measures
      • Document Templates
      • FAQ
  • 💡First Steps
    • Completing Company Data
    • Changing the Login Password
    • GDPR Agreement
    • Creating a Password for the SMTP Server
    • Sender Authorization
    • Whitelabel (Custom Link Tracking)
    • Domain Security - SPF Record
  • ☁️CLOUD-BASED SMTP
    • SMTP Integrations
      • Cloud SMTP for eFitness
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for SALESmanago
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for User.com
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for Baselinker
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for Shoper
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for RedCart
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for Joomla!
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for PrestaShop
        • Sing up to EmailLabs
        • Integration Steps
      • Cloud SMTP for WordPress
        • Sign up to EmailLabs
        • Easy WordPress SMTP Plug-in
        • WP Mail SMTP Plug-in
        • Without the Plug-in
      • Cloud SMTP for Mautic
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for Selly
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for SOTE
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for IdoSell
        • Sign up to EmailLabs
        • Integration Steps
      • Cloud SMTP for AtomStore
        • Sign up to EmailLabs
        • Integration Steps
      • SMTP Relay Configuration
      • Outlook
      • Thunderbird
  • ✨EmailLabs API
    • API Documentation
  • 📈Analytics Panel
    • Dashboard
      • Selecting an SMTP Subaccount
      • Elements on the Dashboard
      • View Detailed Statistics
    • Reports
      • E-mail
        • Panel Navigation and Access Path
        • "Search" Section
        • "List" Section
        • Detailed Message Logs
      • Blacklist
        • Panel Navigation and Access Path
        • "Search" Section
        • "Search" Section
        • Adding an Address to the Blacklist
        • Blocked Domains
        • Export & Import
        • Blacklist Settings
        • Whitelist
      • Activity Report
        • Detailed Message Logs
      • Comparing Tags
      • Status Per Tag
        • Panel Navigation and Access Path
        • "Search" Section
        • “Account Statistics” Section
      • Technology and Geolocation
      • Feedback Loop Report
        • Feedback Loop Yahoo
      • Event API Logs
      • Report Per Domain
    • Administrator
      • Sender Authorization
        • From Domain Authorization - Configurator
          • Authorizing the Domain Hosted by Cloudflare
          • Authorizing the Domain Hosted by GoDaddy
          • Authorizing the Domain Hosted by cyber_Folks
          • Authorizing the Domain Hosted by home.pl
          • Authorizing the Domain hosted by Nazwa.pl
          • Authorizing the Domain Hosted by OVHcloud
          • Authorizing the Domain Hosted by zenbox
      • Users
        • Panel Navigation and Access Path
        • „Search” Section
        • „List” Section
        • Editing the User’s Information
        • Managing The Roles
      • My Profile
        • Panel Navigation and Access Path
        • Changing the Administrator or Company Data
        • Changing the Account Password
      • Application Log
        • Panel Navigation and Access Path
        • “Search” Section
        • “List” Section
      • API
        • Panel Navigation and Access Path
        • Generating the Keys
        • API Integration
        • Event API Settings (Webhooks)
      • General Settings
        • Blacklist Settings
        • Validity of Entries on the Blacklist
        • Bounce Number Before Blocking
        • Access to the Panel for Specified IP
        • Access to API for Specified IP
        • Deliverability Alerts
      • Tags
      • Message Templates
        • Sending Messages With Templates
      • GDPR
    • SMTP Accounts
      • Active Accounts
        • Panel Navigation and Access Path
        • Change Password
        • Application Settings
    • Functionalities
      • IP Authorization
      • Block Temporary Inboxes
      • Deep Linking
        • Deep Linking Configuration for Android
        • Deep Linking Configuration for iOS
      • Footer
      • Headers
      • Open Tracking and Link Tracking
        • Open Tracking
        • Link Tracking
      • Tags
      • UTM
      • Unsubscribe
        • Unsubscribe Page Provided by EmailLabs
        • Redirect to Customer Website and Add Email Address to Blacklist
        • List-Unsubscribe
      • Whitelabel (Individual Link Tracking)
        • Step 1: Adding a Record to the DNS Panel
        • Step 2: Configuration in the EmailLabs Panel
    • Authentications
      • SPF
        • If You Don't Have an SPF Record Yet
        • If You Already Have Other Services Included in Your Domain's SPF Record
      • DKIM
        • Individual DKIM
          • Adding a DNS Record
          • Configuration in the EmailLabs Panel
        • Sender Authorization
      • DMARC
        • Neutral DMARC Policy
        • Restrictive DMARC Policy
          • Configuring Your Return Path
      • S/MIME
      • BIMI
    • Email Deliverability
      • Message Statutes
        • Injected
        • OK
        • Softbounce
        • Spambounce
        • Hardbounce
        • Dropped
        • Open
        • Track
        • Feedback
    • Billings
      • Plan Change
      • Plan Cancellation
      • Payment Methods
      • Invoices
  • FAQ
    • System
    • Account
    • Sending and Deliverability
    • Analytics
    • Sender Authorization
    • EmailLabs Safety Center
      • Data Protection Officer
      • Data Controller
      • Entrustment and Further Entrustment of Personal Data Processing
      • Implementation of Information Security Management System
      • Risk Assessment
      • Business Continuity
      • Security Incident Management and Personal Data Breach Handling
      • Information Classification
      • Employees
      • Access Control and Access Management
      • Remote Access
      • Portable and Mobile Devices
      • Document Destruction
      • Server Security
      • Network Security
      • Logs
      • Data Security at Rest and in Transit
      • Physical Security
      • Cloud Computing
      • Data Protection Measures
Powered by GitBook
On this page
  1. CLOUD-BASED SMTP
  2. SMTP Integrations

SMTP Relay Configuration

The following documentation will provide you with step-by-step guidance on configuring a local mail server as an SMTP relay to the EmailLabs service. Through this configuration, you can send email messages using a queuing mechanism, which will enhance the stability, efficiency, and reliability of the sending process. Furthermore, should there be a connection problem between the local server and EmailLabs servers, the sending process will restart automatically.

By enabling advanced SMTP protocol mechanisms such as "pipelining" and connection caching, you will enhance the performance and reliability of the sending process, especially in the case of high traffic.

To correctly configure the Postfix server, log in as root or obtain root privileges using the su or sudo command. Then, in the configuration file /etc/postfix/main.cf, add the following entry:

relayhost = [smtp.emaillabs.net.pl]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_password
smtp_sasl_security_options = 

Next, you need to create a password file at the path mentioned in the previous entry:

cd /etc/postfix/ touch relay_password

In the created file, add:

smtp.emaillabs.net.pl user_name:password

Save the file and for security, change the file permissions using the command:

postmap /etc/postfix/relay_password
chmod 600 /etc/postfix/relay_password /etc/postfix/relay_password.db

If you don't have the libsasl2 (SASL) library installed, make sure to install it before restarting Postfix.

Finally, you should restart the Postfix server.

/etc/init.d/postfix restart

To configure Sendmail as a mail relay, log in as root, or obtain root privileges using the 'su' or 'sudo' command. Then, add the following line to the file /etc/mail/access:

AuthInfo:smtp.emaillabs.net.pl "U:user_name" "P:password "M:PLAIN"

In the next step, you should configure the Smart Host in the /etc/mail/sendmail.mc file. Under the line starting with #dnl define... add:

define(SMART_HOST', smtp.emaillabs.net.pl')dnl
FEATURE(`access_db')dnl
define(RELAY_MAILER_ARGS', TCP $h 587')dnl
define(ESMTP_MAILER_ARGS', TCP $h 587')dnl

Then, you need to update the entered data. Navigate to the /etc/mail/ folder and execute the following commands:

m4 sendmail.mc >sendmail.cf
makemap hash access < access

Remember to restart the Sendmail server:

/etc/init.d/sendmail restart
PreviousIntegration StepsNextOutlook

Last updated 7 months ago

☁️