Project

General

Profile

When sending test emails - error 501 Syntactically invalid HELO argument(s)

Added by Ivan Ivan over 7 years ago

In redmine i want test mail(Setting-email notification). Get error:

An error occurred while sending mail (501 Syntactically invalid HELO argument(s) )

I have following setting mail:

config/configuration.yml

default:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: "mail.name.com" 
      port: 25
      authentication: :login
      domain: 'xxx.xx.xx.xx:81'
      user_name: 'office@mail.com'
      password: 'xxxxxxxx'
      enable_starttls_auto: false
      openssl_verify_mode: 'none'

etc/hosts
127.0.0.1       localhost h997VM
xxx.xx.xx.xxx   ubuntu14gi

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

etc/hostname

h997VM

Information about system:

Ubuntu 14
Environment:
  Redmine version                3.3.2.devel
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux]
  Rails version                  4.2.7.1
  Environment                    production
  Database adapter               PostgreSQL

Can you help please? Thank for advance for your help.