I have a WHM server - with several PHP scripts on it that send off emails. It used to work until apparently just recently. Now, it seems to have stopped sending emails from those scripts.
Given that I know there's no problem with the scripts themselves, how would I go about debugging why they're no longer being sent?
Here's what I know so far:
PHP Scripts should be fine, nothing has changed on them
Server does not appear on any spam blacklists
Test email script does not generate any errors, nor is there anything hung up in the WHM queue
Nothing shows up in the gmail accounts (regular or spam boxes) for what's supposed to have been sent.
Any ideas?
WHM 60 Build 35, CentOS 6
Please try to follow the instructions bellow which could help you in debbuging your email issue(s):
1) - check if you server has a valid hostname like host.domain.tld and that hostname actually points to the server's ip address
2) - check if you have rDNS setup correctly for your server's ip address and the reverse DNS should match the hostname
3) - Use Mail Queue Manager from WHM (in the left search in WHM got o Email -> Mail Queue Manager) and see if there are any emails in the mail queue there
4) - Use Mail Troubleshooter from WHM ( Email -> Mail Troubleshooter) and see what happens when you try to send an email to a gmail address
5) - You could check the Exim server logs by logging in via ssh and do a tail -f /var/log/exim_mainlog
Most probably your emails are in the server's mail queue and for some reason they are not delivered
Related
I'm having an issue with incoming emails for my cPanel email accounts. Below is the error I get on all incoming emails when I check incoming emails on Mail Delivery Reports in WHM:
What I think caused the issue is that I was trying to transfer the cPanel accounts from one of my servers(alpha.yodns.top) to another server(alpha.yodns.africa). Now, I had some issues on the server that I was transferring to, so I decided to just keep the accounts running on the first server instead.
What I picked up while I was trying to fix this yesterday is that the nameservers had changed(to the NS of the server I was transferring to) on the DNS Zones of my accounts. So, I had to change those back to their original state. I thought that would resolve the issue but it didn't.
The accounts are able to send out but unable to receive any emails.
The issue has been resolved. I had to remove all the domains from /etc/manualmx using:
whmapi1 unset_manual_mx_redirects domain='example.com'
A manual_mx was somehow set to redirect to the new host server for all the domains.
My db mail suddenly stopped working, the error is:
The mail could not be sent to the recipients because of the mail
server failure. (Sending Mail using Account 2 (2018-08-14T16:00:23).
Exception Message: Cannot send mails to mail server. (A call to SSPI
failed, see inner exception.).
I can't find any more info on the error, it just suddenly stopped working.
My SQL Server is 2012.
All my smtp settings are correct and nothing changed.
If it worked at one point and you haven't changed anything with your firewall, then check your email password. Also if you are using gmail - you need to check if 'lesssecure' is turned on.
Open your Google Admin console (admin.google.com).
Click Security > Basic settings .
Under Less secure apps, select Go to settings for less secure apps .
In the subwindow, select the Enforce access to less secure apps for all users radio button. ...
Click the Save button.
I wanted to upload files via email in Alfresco.
I am using alfresco community 5.2
I have added inbound email properties in alfresco-global.properties file
and i have followed all the steps and
I sent an email as explained in below links
But I am not able to receive any files in my alfresco
I have referred the links
https://www.youtube.com/watch?v=p17GkHsLdmc
http://keytocontent.blogspot.in/2010/05/upload-files-to-alfresco-via-email.html
Steps I have followed
1. set the properties in global properties
email.inbound.enabled=true
email.server.enabled=true
email.server.port=25
email.server.domain=vikash-laptop.com
email.inbound.unknownUser=anonymous
email.server.allowed.senders=.*
created a user named as hello1
email id=> hello1#vikash-laptop.com
added this user into EMAIL_Contributors group
Created a site named as test site
created a folder in Document Library>>Dropoff and
applied aspect email aliasable
added alias properties as dropoff
so the my email address will be dropoff#vikash-laptop.com
tried to send email to dropoff#vikash-laptop.com
and hello1#vikash-laptop.com both
Still i am not receiving any files which i have attached in email.
How did you try and send an email to vikash-laptop.com? You need to make sure the host name you are specifying (vikash-laptop.com) is going to resolve to the IP address of your alfresco server (I assume running on your laptop).
You also need to make sure that your mail client will resolve that domain correctly and can connect to the alfresco server. For example, if you were going to try and send an email from gmail, that would have problems unless vikash-laptop.com was a registered domain so that the gmail servers could resolve it and access port 25 on that machine from the internet.
If you just want to do a simple test on your laptop without a mail client where alfresco is running you can just telnet to the alfresco host and try and connect to that port (google "test smtp telnet" for a lot of suggestions) and see that it is listening on port 25 as you configured it and that you can send test email.
I have downloaded smtp mail sender and it is working. and now i am able to receive email attachments in alfresco.
I am trying config Exim to accept email sent from an other server, but I can not.
On my server, I can sent email to local user:
# echo "This is test 1." | mail -s Testing_1 user_a#mydomain.com
so i want send an email to user_a (with add: user_a#mydomain.com) from other domain (eg: gmail, yahoo)
I try sent an email from gmail account to user_a#mydomain.com, so check exim log (/var/log/exim_mainlog) nothing here?
maybe this email can't sent to my server with #mydomain.com . Or Exim can't receive any email?
os: CentOs, dedicated!
Many times when you have a problem with exim, you can simply Google the word "exim" and the error message to find others who have had the same problem. Most of the time, whatever you find will be someone asking nearly the question as you in a webhosting forum and the fix for it later in the same thread. I searched for exim Failed to find user "system" from expanded string and found the full thread and the exact answer further down in that discussion.
Based on the results of that discussion thread, you appear to be using CPanel and its custom Exim configuration. Per the instruction in that thread, fix the entries in your /etc/userdomains and that problem will go away.
i am getting some line of message in /var/spool/mail/ec2-user log file, when alert mail is not delivering to the user by using cronjob .
all emails sent from my amazon ec2 server via php programs such as windows live mail would have following header message
X-Authentication-Warning: ec2-user set sender to email using -f
i m getting this problem from recently only, at the beginning i didnot face this problem
i m using following windows live mail configuration
ini_set('SMTP', "smtp.live.com");
ini_set('smtp_port', "25");
ini_set('sendmail_from', "admin#mail.com");
ini_set('password',"password");
ini_set('Security','Enable TLS');