Post by HAO » Wed Sep 01, 2021 12:39 pm

I have the same problem, but my situation seems to be special.

Because I use my own CentOS system to install the aaPanel control panel and set up my own mail server, The mail server software name is Mail Server 4.3.

This is the information of the mail server:
Email Name MailBox space Type Status Operating
service@xxx.tw xxx 2GB Admin
Edit | Del
1Total1

Note: The current mail server supports IMAP/POP3/SMTP/HTTP protocol. Download the HTTP-API documentation
POP service [ ServerAddress:mail.xxx.tw Port:110/995 ]
IMAP service [ ServerAddress:mail.xxx.tw Port:143/993 ]
SMTP service [ ServerAddress:mail.xxx.tw Port:25/465/587 ]

When I set up the mail server, Only such information:
Image

Domain name xxx.tw
A record mail.xxx.tw

Of course, I have already set the A record in my domain management panel, I can also use Thunderbird to send and receive emails normally.

But I still can’t use OpenCart to transmit normally, Can anyone tell me how to solve it?

My environment:
OpenCart 2.3.0.2
OpenCart 3.0.3.2

Currently using OpenCart 3.0.3.2 as the test system.

Thank you!

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by ADD Creative » Wed Sep 01, 2021 5:09 pm

Notice: Error: MAIL FROM not accepted from server!
Means the settings you have entered are correct, as this error is only generated after your username and password has been accepted.

What it does mean is that the mail server didn't like your store's email address. Check that your email address in System->Settings->Store (tab)->E-mail matches your email address in System->Settings->Mail (tab)->SMTP Username.

If it does match then you can get more information as to why it was rejected by changing line 242 of system/library/mail/smtp.php from:

Code: Select all

throw new \Exception('Error: MAIL FROM not accepted from server!');
To:

Code: Select all

throw new \Exception('Error: MAIL FROM not accepted from server! ' . $reply);

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by HAO » Wed Sep 01, 2021 5:35 pm

I seem to have found the reason, Because we are using a host from Linode, Maybe this is related to their restriction or blocking of the SMTP port.

We may need other solutions.

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by straightlight » Wed Sep 01, 2021 6:24 pm

HAO wrote:
Wed Sep 01, 2021 5:35 pm
I seem to have found the reason, Because we are using a host from Linode, Maybe this is related to their restriction or blocking of the SMTP port.

We may need other solutions.
Please post your OC mail settings form without password.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by HAO » Wed Sep 01, 2021 6:38 pm

This seems to be the SMTP setting method I can use normally:
Image

But after that, there was a Linode message that could not be sent successfully, I think Linode really blocked the STMP port, At least this information can be searched on Google.

This makes me feel very helpless.
-------
Undelivered Mail Returned to Sender
This is the mail system at host li1561-126.members.linode.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<xxx@gmail.com>: host gmail-smtp-in.l.google.com[2404:6800:4008:c07::1a]
said: 550-5.7.1 [2400:8902::f03c:92ff:fe2d:e28f] Our system has detected
that this 550-5.7.1 message does not meet IPv6 sending guidelines regarding
PTR records 550-5.7.1 and authentication. Please review 550-5.7.1
https://support.google.com/mail/?p=IPv6AuthError for more information 550
5.7.1 . d5si25492637plr.252 - gsmtp (in reply to end of DATA command)


Reporting-MTA: dns; li1561-126.members.linode.com
X-Postfix-Queue-ID: 53FCB6B709E
X-Postfix-Sender: rfc822; service@xxx.tw
Arrival-Date: Wed, 1 Sep 2021 16:35:38 +0800 (CST)

Final-Recipient: rfc822; xxx@gmail.com
Original-Recipient: rfc822;xxx@gmail.com
Action: failed
Status: 5.7.1
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [2400:8902::f03c:92ff:fe2d:e28f] Our system
has detected that this 550-5.7.1 message does not meet IPv6 sending
guidelines regarding PTR records 550-5.7.1 and authentication. Please
review 550-5.7.1 https://support.google.com/mail/?p=IPv6AuthError for more
information 550 5.7.1 . d5si25492637plr.252 - gsmtp

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by straightlight » Wed Sep 01, 2021 6:41 pm

The issue is in this form. The hostname needs to use the tls:// or ssl:// protocol with the hostname. You don't need to use the mail parameter on the 2nd text box with SMTP normally. The port must also be 567 or 465 (depending on the host). Your triggers below must also be checked once the email settings are working. Then, to work on your OC admin > extensions > events triggers to ensure they are activated.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by HAO » Wed Sep 01, 2021 6:49 pm

I have confirmed these two agreements: tls:// or ssl://, But an error message will occur, This includes: 25/465/587.

In this case, I can only use smtp.xxx.tw and Port: 25 and send mail successfully, But it can only be used to send email messages, If you use this setting for checkout, the above error message will appear.

Maybe we must have a dedicated SMTP mail server, At least not controlled by linode.com, This is what I think.

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by straightlight » Wed Sep 01, 2021 6:51 pm

HAO wrote:
Wed Sep 01, 2021 6:49 pm
I have confirmed these two agreements: tls:// or ssl://, But an error message will occur, This includes: 25/465/587.

In this case, I can only use smtp.xxx.tw and Port: 25 and send mail successfully, But it can only be used to send email messages, If you use this setting for checkout, the above error message will appear.

Maybe we must have a dedicated SMTP mail server, At least not controlled by linode.com, This is what I think.
Take a look in your cPanel > Email > << Your Email >> > Settings > Lower-left end side page for the SSL settings.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ADD Creative » Wed Sep 01, 2021 6:55 pm

HAO wrote:
Wed Sep 01, 2021 6:38 pm
-------
Undelivered Mail Returned to Sender
This is the mail system at host li1561-126.members.linode.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<xxx@gmail.com>: host gmail-smtp-in.l.google.com[2404:6800:4008:c07::1a]
said: 550-5.7.1 [2400:8902::f03c:92ff:fe2d:e28f] Our system has detected
that this 550-5.7.1 message does not meet IPv6 sending guidelines regarding
PTR records 550-5.7.1 and authentication. Please review 550-5.7.1
https://support.google.com/mail/?p=IPv6AuthError for more information 550
5.7.1 . d5si25492637plr.252 - gsmtp (in reply to end of DATA command)


Reporting-MTA: dns; li1561-126.members.linode.com
X-Postfix-Queue-ID: 53FCB6B709E
X-Postfix-Sender: rfc822; service@xxx.tw
Arrival-Date: Wed, 1 Sep 2021 16:35:38 +0800 (CST)

Final-Recipient: rfc822; xxx@gmail.com
Original-Recipient: rfc822;xxx@gmail.com
Action: failed
Status: 5.7.1
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [2400:8902::f03c:92ff:fe2d:e28f] Our system
has detected that this 550-5.7.1 message does not meet IPv6 sending
guidelines regarding PTR records 550-5.7.1 and authentication. Please
review 550-5.7.1 https://support.google.com/mail/?p=IPv6AuthError for more
information 550 5.7.1 . d5si25492637plr.252 - gsmtp
That error massage reads that Google rejected your email because it didn't like the way your mail server DNS was set up.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by HAO » Thu Sep 02, 2021 1:44 pm

ADD Creative wrote:
Wed Sep 01, 2021 6:55 pm
That error massage reads that Google rejected your email because it didn't like the way your mail server DNS was set up.
If so, how do I set up the mail server correctly, Because I am not using cPanel's control panel, I use the control panel software from China.
Image

Anyway, I already know that Linode has SMTP restrictions on policy, Many discussions on the Internet, I think this is a confirmed fact, but if I rent a mail server from a third-party company, can I not be controlled by Linode?

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by ADD Creative » Thu Sep 02, 2021 4:26 pm

You would need to work out what is wrong and consult the documentation and support of the software your are using.

There are free online tools you can use to check if everything is set up and working.
https://mxtoolbox.com/emailhealth/
https://www.mail-tester.com/
And lots more.

Could be your host is just a reseller and use Linode to provide their services. Have you considered managed hosting? That way your host will manage the server for you.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by HAO » Thu Sep 02, 2021 5:22 pm

Thank you for your help!

But we may rent a dedicated SMTP mail server, Does this mean that if we do not use any SMTP's port of linode.com, We can solve this problem?

This is the result of my query:
Image

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by ADD Creative » Thu Sep 02, 2021 10:32 pm

HAO wrote:
Thu Sep 02, 2021 5:22 pm
Thank you for your help!

But we may rent a dedicated SMTP mail server, Does this mean that if we do not use any SMTP's port of linode.com, We can solve this problem?
I would have no idea. You would need to ask your mail server provider and your host / Linode.
This is the result of my query:
Image
That is telling you that you don't have an MX record set in your domains DNS records.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by webstudio19 » Sun Nov 28, 2021 4:36 pm

hi
i attached my issue here
im on oc 3036
my configure email is

on
attachments

but the customers do not reviving email of orders??'

you can hel p me?

Attachments

587.png

587.png (36.73 KiB) Viewed 2597 times


Newbie

Posts

Joined
Sun Apr 19, 2020 3:45 pm

Post by ADD Creative » Mon Nov 29, 2021 4:00 am

webstudio19 wrote:
Sun Nov 28, 2021 4:36 pm
hi
i attached my issue here
im on oc 3036
my configure email is

on
attachments

but the customers do not reviving email of orders??'

you can hel p me?
Try Mail Engine as SMTP and you need to put tls:// in front of your hostname. Or ssl:// and use port 465.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 274 guests