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: firstname.lastname@example.org : 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
@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.
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?
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.