Symptoms

The task 'Send test message for mailname <MAILNAME>' or 'Send configuration of mailname <MAILNAME> to 'email@domain.com' fails with SMTP error.

Cause

MailMessenger service controller cannot send email due to misconfiguration.

Resolution

Check MailMessenger service controller configuration in the POA Provider Control Panel:

In System Director > Configuration Manager > Service Controllers > MailMessenger > Configuration

Mail server name: smtprelay.provider.com
Default sender: adminemail@provider.com

These values are set when POA management node installed.

POA should be able to send mail from POA management node via the configured smtprelay.provider.com server.

  1. Provider should change values to allow relay.

  2. Check it using e.g. telnet utility on the POA Management Node:

    ~# telnet smtprelay.provider.com 25
    Trying 10.63.212.10...
    Connected to hostname.
    Escape character is '^]'.
    220 smtprelay.provider.com ESMTP Sendmail 8.13.1/8.13.1; Sun, 17 Jun 2007
    17:35:34 +0700
    mail from:
    250 2.1.0 adminemail@provider.com... Sender ok
    rcpt to:email@domain.com
    250 2.1.5 email@domain.com... Recipient ok
    
  3. Restart the failed task.

How to configure relay

a) for Sendmail:

Append following line to file /etc/mail/access

<POA_management_node_IP> RELAY

Execute as privileged user:

~# cd /etc/mail
~# make

b) using POA Qmail:

Append following line to file /usr/local/qmail/shared/control/whitelist

<POA_management_node_IP/32>

Internal content