Problem

There are 2 typical cases of failed email delivery:

Case 1) When emails with Activation code or Password reminder or any other useful or required information going to SPAM or Junk folder or simply not delivered

Case 2) When mail server is not delivering email due to the problem "Relay access denied" in logs

Solutions

Case 1)There are 2 options to improve email delivery:

1.RECOMMENDED: Use 3rd party mail delivery service, for example Mailgun.

    1. Setup account with Mailgun service

    2. Use FTP access to open file httpdocs/WEB-INF/conf/webvideo-base.conf

    3. Search for smtp keyword to find lines for SMTP settings

    4. Update value for smtp settings to use mailgun or any other mail service

    5. Re-login as admin to apply changes.

Advantages:

Disadvantages:


2.OPTIONAL: Improve domain name and network settings to get better delivery from localhost

  1. Set up SPF record for your domain name:
    TXT "v=spf1 include:yourdomain.com ~all"
    (replace yourdomain.com with your real domain name)

  2. Setup Reverse DNS

A service to validate the SPF record for a domain name: https://mxtoolbox.com/spf.aspx

Advantages:

Disadvantages:


Case 2) If you see Relay Access Denied in maillogs and there are no emails delivered make sure to whitelist 127.0.0.1 in mailserver settings at Plesk


Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues