501 HELO requires valid address


#1

Nextcloud version: 14.0.3
Operating system and version: Alpine Linux v3.8
Apache or nginx version: nginx/1.14.0
PHP version : PHP 7.2.10

The issue you are facing: Getting error when trying to configure SMTP server:

A problem occurred while sending the email. Please revise your settings. (Error: Expected response code 250 but got code “501”, with message "501 HELO requires valid address ")

Is this the first time you’ve seen this error? New Install.

Steps to replicate it:

Send mode: SMTP
Encryption: SSL/TLS
Authentication Method: Login
Authentication Required: Checked
Server Address: smtpout.secureserver.net:465

The output of your Nextcloud log in Admin > Logging:

Nothing there…

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'memcache.local' => '',
  'datadirectory' => '/data',
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => '',
  ),
  'dbtype' => 'sqlite3',
  'version' => '14.0.3.0',
  'overwrite.cli.url' => '',
  'installed' => true,
  'mail_from_address' => '',
  'mail_smtpmode' => 'smtp',
  'mail_domain' => '',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtpout.secureserver.net',
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
);

#2

Ever get this problem fixed? I am having the same issue.


#3

Unfortunately no. I had to switch from GoDaddy to SparkPost. Though GoDaddy works for everything else…


#4

Ok thanks I will give it a shot and If I have any success i will post back.