New user registration: Send mail to server mailboxes only.
I have recently installed PHPlist. I did a test of user registration. PHP list sends the registration confirmation email only to the mailboxes that are managed by my server.
It does not send emails to other mailboxes.
Then I also tried to set up an external SMTP and I entered this code (with the data of my mailbox).
I also entered other ports (25, 465 and 587) but I get this error in the event log:
The following From address failed: mail@xxxx.com : MAIL FROM command failed,6rsml22jjOKZy6rsmlAIgJ invalid domain ,550,5.1.0SMTP server error: MAIL FROM command failed Detail: 6rsml22jjOKZy6rsmlAIgJ invalid domain SMTP code: 550 Additional SMTP info: 5.1.0SMTP server error: MAIL FROM command failed Detail: 6rsml22jjOKZy6rsmlAIgJ invalid domain SMTP code: 550 Additional SMTP info: 5.1.0
the message_envelope variable is commented out in the config. php. This is the line:
// $ message_envelope = ‘listbounces @ yourdomain’;
Do I have to enable it?
The strange fact is that if sending confirmation emails works with other email addresses (with different domain names) hosted on the same server as mine.
Sending does not work with email addresses hosted on other servers.
@PaoloGit In that case the FROM address will be the address on the Content tab when you composed the campaign. That probably needs to be the same domain as the $phpmailer_smtpuser value.
You may get more information if you enable phpmailer smtp debug then send a test message. Look in config_entended.php for how to enable that.
@PaoloGit it looks like the FROM address will be Person in charge of this system from the Settings page. It is simpler if you set $message_envelope explicity. It is usually set to the address that will receive bounces.
mail@domain.it: host mx.domain.it[62.149.128.166] said: 550 5.2.0 70RSlKH62xee770RSl5v5R dominio non valido / invalid domain (in reply to end of DATA command)
I can’t find the “.htkeyprivate” file on my server which is done with Virtualmin. I have the key I see on the Virtualmin page, but there should be a file that already exists. Does anyone know the filename on Virtualmin?
The mail server to which I send the message refuses the mail by replying:
"host mx.xxxdomainamexxx.it [nnn.nnn.nnn.nnn] said: 550
5.2.0 8JeclDnTchTw78JeclFE5P invalid domain / invalid domain (in reply
at the end of the DATA command) ".
The DKIM signature is not embedded in the email.
I do not understand the reason as sending the email with the mail program I have no problem.
Problem solved. The cause was an incorrect spelling of the e-mail address inserted in the PHPlist configuration. I apologize for the inconvenience and thank the provider Aruba.it who noticed the error.