"No Such User Here" Sending from Wordpress to G Suite Email - wordpress

I dont know what the real issue is here but hopefully someone can help.
I am sending emails from a Wordpress site using the plugin Easy WP SMTP sending through a cpanel email account created. Most of these emails are getting delivered.
I am having one issue sending to our own gsuite email using our own domain. Other gmail addresses(and i would assume gsuite emails) are working fine, it is only our domain that is having issues.
Eg: Woocommerece triggers order emails to both the customer and our gsuite emails. The customers email is delivered, but the mail to our gsuite email is not. Looking at the cPanel > Email > Track Delivery the details of the email are:
Recipient: film#fightthenewdrug.org
Delivery User: fightthenewdrug
Delivery Domain: fightthenewdrug.org
Delivered To:
Router: virtual_aliases
Transport: fail
Out Time: Nov 15, 2018, 10:04:10 AM
ID: 1gNL4Y-0003zr-E5
Delivery Host:
Delivery IP:
Size: 11.87 KB
Result: No Such User Here
And looking at the successful emails:
Recipient: th....#gmail.com
Delivery User: -remote-
Delivery Domain:
Delivered To: th....#gmail.com
Router: dkim_lookuphost
Transport: dkim_remote_smtp
Out Time: Nov 15, 2018, 10:03:10 AM
ID: 1gNL3Z-0003zN-TX
Delivery Host: gmail-smtp-in.l.google.com
Delivery IP: 64.233.160.26
Size: 11.89 KB
The issue is in sending from the site brainheartworld.org to the emails with the domain fightthenewdrug.org. Initially I was using a different SMTP plugin sent form our gmail address #fightthenewdrug.org but we were having quota/limit issues using gsuite gmail.
And just to clarify, I am spelling emails correctly. And it appears to be all emails #fightthenewdrug.org only.

Searching for Router: virtual_aliases the lead me to this question here and applying that to a cpanel lead me to this article here which got me figured out.
Because both the sending domain and the receiving domain are hosted on the same VPS, it was trying to bypass the mx lookup(maybe not the correct terminology but the basic idea) and deliver to another domain on the same server locally, but the email was managed by gmail so there was No Such User Here for that domain on the local cpanel account.
Under cPanel > Email > Email Routing, if your mail is handled by a remote service, select Remote Mail Exchanger to make sure other accounts on the same server look at the mx records for where to deliver it.

Saved my life. However, i used "Automatically detect configuration" which also seem to work!
SO: under cPanel > Email > Email Routing, selecting Automatically detect configuration also works!
Thumbs up!

Related

Problem in SMTP setting in Wordpress live server with ProHost <unaux.com> to receive mails from Wordpress Contact Form

I'm facing problem to setup SMTP into Wordpress Contact from to get mails directly in my assigned Inbox. It's showing that "Your message has sent successfully and notified sender mail...." but unfortunately it is not showing anywhere either at Inbox or sender mail ID as notification. Can you please suggest me which SMTP to be assigned at the Form configuration? Is it to be or hosting site <unaux.com>?
Use WP Mail SMTP by WPForms and configure it properly.

Postfix doesn't send emails to Gmail, Outlook. Multiple domains and Wordpress

The problem: None of the emails sent trough any of the 8 Wordpress installations on the VPS trough contact form are being received by gmail. Please help, I'm a begginer. Didn't found simple tutorial online that works. But here is what happens:
Tried to host my own VPS server (Debian9)
Made virtual hosts and added 8 domain names
Connected them all to Cloudflare (to increase speed)
Added free Zoho accounts to the DNS records MX/SPF (to have mails like mymail#mysite.com)
v=spf1 include:zoho.com ~all and _domainkey
Installed Postfix, configured it with the idea that I'll be able to send from Wordpress contact forms and password reset emails
Wrote to my VPS provider. He says:
Since you are sending emails from www-data#servername.cloud the SPF check fails, because we do not allow sending emails with our domain.
EMAIL ERROR LOG:
Aug 6 02:30:44 2n5z postfix/smtp[1050]: C739381595: to=<somemeail#gmail.com>, relay=gmail-smtp-in.l.google.com[2a00:1450:4010:c08::1a]:25, delay=0.42, delays=0/0.01/0.08/0.33, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[2a00:1450:4010:c08::1a] said: 550-5.7.26 This message does not have authentication information or fails to 550-5.7.26 pass authentication checks. To best protect our users from spam, the 550-5.7.26 message has been blocked. Please visit 550-5.7.26 https://support.google.com/mail/answer/81126#authentication for more 550 5.7.26 information. z2si1913276ljj.406 - gsmtp (in reply to end of DATA command))
Full log here: https://pastebin.com/6wwepVrM
Otherwise it says it's spam.

Contact Form 7 showing sent message but not receiving email

Experiencing issue with WP plugin, contact form 7. When I fill in the form and submit, I receive a success message stating it was sent yet I don't receive it in my emails.
The mail is not in my junk and I only received the message in my email when I input the email its being send to!?
The email it is going to is an exchange account. I can see the emails coming through using a contact form submission on the WP backend. But would like to resolve this issue.
Form
[text* your-name placeholder "Name"]
[email* your-email placeholder "Email Address"]
[text* your-dob placeholder "DOB"]
<p>Which Challenge(s) would you like to enter?</p>
[checkbox* select-challenge "1" "2" "3"]
</br>
Please tick here that you have read and accepted the [popup_trigger
classes="popmake-food-challenge-tcs"]
<u>terms & conditions</u>[/popup_trigger] for entry & participation.
[acceptance acceptance-997]
[submit "Send"]
Mail
To: myname#company.com
From: Website
Subject: Challenge
Reply-To: [your-email]
From: [your-name] <[your-email]>
Eating Challenge Registration
Name: [your-name]
Email: [your-email]
DOB: [your-dob]
Challenge(s): [select-challenge]
I also checked with website host that they use wp_mail() and was confirmed they do. As other contact forms send - bar this one.
Try setting the from: email address to wordpress#yourdomain.com. Contact Form 7 support recommends setting the from address as being on your own domain, so that the website's mailer program doesn't think it is spoofing the email being sent (sending it from an incorrect email address).
If that doesn't work, best to use a plugin like WP Mail SMTP Plugin.
I set it up to send contact form emails through our Gmail account, which worked well. Instructions here.
SMTP Plugins are a Band-aid Solution
The reason people use SMTP plugins is because they have not set up their own domains properly; so, they route their emails through their email hosting company under the expectation that THEIR domain is both set up properly and permissive enough to accept the email that needs to be forwarded. So, let's say your website is at example#mywebsite.com and your email is example#gmail.com, then you can use an SMTP plugin to send an email to gmail.com, and then gmail resends it on your behalf.
As you can see, this is a clunky work around, and does not actually fix the problem of not being able to send email from your website directly. There are a few use cases where this is a problem:
If you want to actually send the email from example#mywebsite.com and not expose your example#gmail.com address to the public.
If your email provider does not support SMTP.
Some anti-spam tools may block emails routed this way, because SMTP can be a sign of spoofing through a hacked account. This almost always leads to problems when using the Mail(2) feature to send confirmation emails to the client since you are pretty much guaranteed that some of them will use spam filters that will block it.
You may also need to send emails through other means (not contact form 7) that does not work with your SMTP plugin.
A Better Solution
The best way to fix deliverability issues to to set up your DKIM, SPF, and PTR records properly in your DNS.
If you are using cPanel as most hosting companies seem to do these days, you need to go to EMAIL > Email Deliverability and it will show you warnings if you need to update your DNS. If you do, just copy the records it auto generates into your Domain's DNS and this should fix the problem. Unlike trying to route through someone else's server to send emails, this will set up YOUR server to send them properly thus alleviating all of the above mentioned issues.
This is just as easy to set up as most SMTP plugins, and makes it so you don't have to clutter your WordPress install with unnecessary plugins.
If you do not have cPanel access, just contact your Domain Hosting provider and ask that they setup your DKIM, SPF, and PTR. If your Domain Hosting provider and your Web Hosting provider are two different companies, you may need to request the proper DNS records from your web hosting company to either put in your self or give to your domain hosting company.
when I have a problem about wp contact form I always solve that with using smtp plugin. I suggest you to use wp smtp mail plugin.
Easy SMTP WP plugin page on wordpress.org
If any problem after using smtp plugin, reply this post I will try to help you again.
I have this problem in my website.
Some hosting companies block automatic email sending, because some user uses the host for sending email marketing. So, I think you can contact your host provider to solve this problem.

fail to send out email by kaa admin

I clone kaa source code from git, and succeed built and run it on my ubuntu 14.04.
and then I also succeed to create kaa admin.
and then I set my outgoing email settings as this
SMTP Protocol: smtps
SMTP Host: smtp.gmail.com
SMTP Port: 465
Username: myemailaddress#gmail.com
Password: mypassword
and then I went to create a tenant, then add a user:
Username: admin
Email: myanotheremail#xxx.com
Account role: Tenane Administrator
but I fail to sent out the email to the tenant user from kaa server (or I did not receive the mail from kaa admin)
I also change the log level to TRACE and restart service, but there seems no error or trace information about this scenario in it.
would someone please help guide me what to do to make it work?
Many thanks
Vincent
Your outgoing email settings looks correct.
Looks like for Google accounts, you need to allow less secure apps to access accounts. Follow the official guide to do this.

Email Goes to junk in Hotmail

Email is sent using Amazon simple Email service form my website. When an email is sent to any Yahoo or Gmail address, it is delivered to Inbox; but when it is sent to Hotmail,it is delivered to Junk.
Why only Hotmail Treats my email as junk?
When an external user sends email messages to an Outlook.com account,
SmartScreen® filter technology evaluates the content of the messages
and assigns each message a rating based on the probability that it is
a junk email. This rating is stored as a message property called a
spam confidence level (SCL) within the message itself. The SCL rating
stays with the message as it is sent to other anti-spam protection
layers within Outlook.com. Rules inside Outlook.com are set to handle
email messages with various SCL ratings. If a message has an SCL
rating lower than a certain threshold, it is considered to be spam,
and a rule then deletes the message rather than sending it to the
user's junk email folder. If the message has a higher SCL rating than
the threshold, the email is delivered to the user's junk email folder
rather than to the inbox.
https://mail.live.com/mail/junkemail.aspx
Not all the Anti-Spam system depends only on 3rd party blacklists. Major email service providers builds their own reputation table in addition with the use of major 3rd party blacklists like spamhaus, barracuda etc. In your case, you are using Amazon SES to send mails.
I, myself found enormous marketing mails coming from Amazon SES. If the reputation of your email service provider is bad in hotmail then it may trigger the suspicious level of your mail regardless of your email service provider reputation at other blacklist providers. In addition to this, if your subject, body content contains some suspicious words then your mail will end up in junk folder.
Most emails sent from third party applications such as Wordpress, Joomla, or Amazon get diverted to junk and sometimes they fail and get stuck behind a security layer. I know for a fact with Wordpress Contact Form 7, this is the case many times.
After so many years and finally attending a seminar for this particular issue, I finally was able to solve this problem specifically for Hotmail (Outlook.com).
Before you do anything ensure your SMTP settings in your web config file (ASP.NET) are written correctly or in case of plugins (Wordpress) make sure the fields are filled correctly. This means ensuring these are the settings you are using for Outlook:
From: your email ("asdf#outlook.com")
From Name: "Your name or company name"
Host: smtp.live.com
Type of Encryption: TLS
SMTP Port: 587
SMTP Authentication: Yes
Username: Same you use to login (usually the complete email address)
Password: Enough said there
IMPORTANT - Send a test email even if it fails. The point is to trigger an activity in Outlook and have them flag it as an
unauthorized connection
Now, to the fix:
Go to Outlook.com
Login
go to Account Settings
Choose Security & Privacy
Click on "See my recent activity"
The most recent activity should be the fail attempt. Authorize it as a trusted connection.
Done!
Re-test and you shall see your emails showing in the inbox as an authorized connection. Doing these steps let Outlook know that your emails from Amazon are legitimate connections and not Amazon trying to spam your account with solicitations etc.
Mostly it is a email service provider specific thing but you can do below checks
Ensure valid sender email address
Try not to use keywords like gift, prize etc. which are preferably spam activities
Try using https://litmus.com which may help on this/ rendering email in different email clients

Resources