Hello hope you guys doing well,
For the last 3 days, I am trying to fix the issue with my VPS server it did not send any emails from the server to the user mail address.
I am new to server management.
hope you guys help me with something.
Looks like your problem is that Google Cloud blocks email sending by default on port 25. You need a smart host to fix this. Read the articles below for further information:
https://support.cpanel.net/hc/en-us/articles/360041074753-Why-is-port-25-blocked-
https://support.cpanel.net/hc/en-us/articles/360053203653
Related
I've recently installed Canvas LMS on a cloud server. Everything was ok, except for outgoing mails. I'm really new at this, and I don't know how it works. I would appreciate very much if someone could help me with some doubts...
1- What is correct?
a) address: smtp.gmail.com
b) address: "smtp.gmail.com"
Which data should be quoted in outgoing_mail.yml?
2- I've tried filling the fields with my personal gmail address info, but I receive a warning mail about suspicious activities. That means that Canvas actually tries to connect to my gmail account. That's a good sign! But even when I tell to gmail that I recognize this activity, it won't let me continue...
When I enter the Yahoo's smtp information, nothing happens... not even a warning mail...
3- I wanna know if I have to run "canvas_init restart" everytime I edit that configuration file. And "/etc/init.d/apache2 restart"?
I really need your help!! Many thanks in advance!!!
I have built numerous small applications in GAS, some of which send emails. I need to know what IP address these emails will register as being sent from.
Here's a solution by #Serge insas on how to get your ip address.
In summary: access the raw content of a message using message.getRawContent() and filter for X-Originating-IP
They come from your google/gmail address.
I have my own exchange for emails. There are times when my exchange service is down (because of power failure or maintanance) and during this time, my users do not have access to the exchange web access. To keep the user experience consistant, I was wondering if I can setup something like this:-
If my exchange server is down, google apps takes over and start relaying my mails. Users could log into google apps gmail account to send / receive mails. Once the exchange server is back online, they can continue using the exchange web access.
Please let me know if this is possible at all.
Thanks all in advance,
BTR Naidu
www.btrnaidu.com
www.lmcentraal.com
yes, you need to configure Google Apps as your secondary email server.. there are a few tutorials online to help you with this subject, e.g.
Understanding and Working With MX Records
How To Setup Backup or Secondary MX
Having problems with setting up my website to use MS Exchange to send emails. I dont want to use the hosts email system.
The MS Exhange has been set up, with email addresses created.
My webpages are using Persits.MailSender which the host supports.
Do i need to change MX records? A records?
Sorry, im not clued up with network side of things, any help would be appreciated
When i email direct, the email address on the exchange picks up the emails. BUT if i email through the website, it goes to the annoying webmail the host is provinding, and not to the exchange
I find this strange, the same email address receiving emails at different places!
Im using ASP, and I have a website set up, which has been sending emails for the last 12 months, the host has messed up (again) somewhere, but doesnt know what is wrong (as usual)
There are no errors, the email always gets sent.... but to the wrong place.
I would look into actually trapping and knowing your errors. That way you can see precisely why it fails and have something to work with. As it stands, your question isn't really answerable. No language nor framework is provided. We don't know if the mail server is confirmed to be working or accessible outside your netowrk; we don't know how your are referencing it or if you are passing user credentials; we don't know what error you're getting...
At this point, you're not debugging, you're just sort of swinging in the dark. Find the point of failure and then research that data point to get a solution. Debug, catch errors, log, step through your code. All good ideas.
Ok i figured it out, I deleted the mail domain on the host as that was the first place the website looks to send an email. Once the mail domain was deleted the emails were sent to the external hosted mailserver MS Exchange email address. Yay!
I have a domain, call it mydom.com.
A while ago I started using Google App's email server. I set up MX and the rest of the stuff records as Google wanted, and all is working well since.
On www.mydom.com I have a website, DNS and still running mail server (which basically doesn't do much).
Among other things, on www.mydom.com, I have some contact form - basic php page that takes user's input and sends it to predefined email address at mydom.com. It sends it with php's sendmail function.
My issue is - all those email that get sent from localhost to *#mydom.com (by php's function, or possible by some cron jobs reporting some issues) DO NOT go to Google's email servers but instead get picked up by localhost and it's mail server.
So far, I was resolving this issue by setting up a new mail account at Google account, which was basically calling my local mail server by it's IP address, logging into old, abandoned email account and pulling those misplaced emails to the new, #mydom.com account at Google App.
Obviously I'm missing some entry either in local DNS, host file or something..
Does anyone know how do I fix it?
Hey, the same question was asked here: https://serverfault.com/questions/102647/sendmail-to-local-domain-ignoring-mx-records-part-2
and the answer to it works for me, don't forget to include the dot after the domain!
If it doesn't work to the test call and see how the mail traces.
best of luck, svullo