Stop exim from forwarding email - email

Problem;
I have setup Gmail split delivery; one address stays at Gmail while all other addresses for my domain go to my hosting provider. So far so good.
MX records point to Gmail.
The hosting provider uses exim and all mail coming (routed) from Gmail is being routed back to Gmail (by the hosting provider), ultimately resulting in this error: Diagnostic-Code: smtp; A delivery loop was detected which causes this email to be undeliverable.
What I need to do is simply disable this "feature" in exim, so all incoming mail is routed to the corresponding, local, mailbox and not bounced back to Gmail.
I have been researching for a while now and I simply can't find anything to get the job done.
Ideas, suggestions, input would be greatly appreciated.
Thank you!

You must add your domain as local at hosting provider's side.
If hosting management panel has a facility to add mail domains, just use it.

Related

What happens to Gmail emails after a hosting change?

I am hosting the email for one of my domains at Gmail. I then run an IMAP client on my local computer to read and send email. Totally standard.
I now want to move the hosting for that domain to another email provider, where I will again run an IMAP client to deal with the mail.
Question: What happens to all the messages that are currently on Gmail? I THINK that they will stay in place, and I'll be able to access them via gmail.com and/or a Gmail app. But maybe not? Maybe Gmail will somehow find out about the MX change and decide that it should delete them all, because Reasons. Or it can't find the messages on its own server because the MX has changed, and so won't let me see them. Or something. In any case, losing access to these old messages would be Very Bad.
So, which is it? Will the world behave the way that I'm 99% sure that it will, such that I'll still be able to go to gmail.com and read the old messages after the switch? Or do I need to move the old messages somewhere else before making the hosting switch? Thanks for helping with my paranoia!
Google doesn't care what domain you use to route emails towards your Gmail inbox. If you change your domain to use another email provider, you will still have your existing Gmail inbox, until you shut down your Gmail account. So any existing emails in your Gmail inbox will be left untouched.
The same goes for any other hosting provider.

the emails sent from my email accounts on my domain reach spam

I have a small problem with a domain and that is that emails arrive to Spam and that the domain is new. I have checked the reputation of that domain and it has nothing out of the ordinary.
Information
I purchased a CLOUD VPS that runs CLOUDLINUX with static ips in a different provider than the one I acquired the domain. and I use WHM to manage my accounts. the emails are sent correctly, but they reach me in the SPAM tray. as additional information I just tried to send an email from the webmail tool offered by CPANEL from my account, and from here if they reach me in the inbox, but if I send from any email client like: (Outlook, Thunderbird) always I get to SPAM.
What could be the problem ?, Where should I start to review? Any help or collaboration is appreciated.
Check if your server's IP is listed in any RBL
This is a good tool for consult in multiples RBL: http://www.anti-abuse.org/multi-rbl-check
See if your reverse DNS or PTR is properly configured
In your apllication always send email by authenticating with SMTP.

Google Compute Engine won't send emails with links

Recently I moved my site to GCE and now emails are not being sent. I send them using gmail's smtp server, through the port 465.
A simple google search points to this article, in which they say that I must use a third party solution like SendGrid.
The weird thing is, I can send regular emails. I was testing my site and I am able to send a simple email with "Hello world" in the message body. But the moment I add a link (URL address) to the body message, the email is not sent.
Is this an expected behaviour? Is there a work around?
I think it's dumb for Google to not allow sending emails even though its own Gmail servers.
Perhaps there is some confusion here. "Despite" of what they say...
Look at their article on Sending Email from an Instance and I quote:
"Google Compute Engine does not allow outbound connections on ports
25, 465, and 587 but you can still set up your instances to send mail
through ports 587 and 465 using servers provided through partner
services, such as SendGrid."
They clearly state that you CAN do it.
Also, if you're authenticating with your Google Account to send via smtp.gmail.com, you're authenticating with a username and password just like any standard email client would. So why would that not be allowed? You're basically connecting as an email client.
On another note, your issues with links were related to the quality of the message therefore being marked as spam (GCE wasn't causing any problems.) by Gmail, as I suspected in my previous comment. You're mainly using Gmail here, and not really any issues directly related to GCE.
I hope this clarifies things a little.
Apparently Google Cloud (despite of what they claim) does allow smtp traffic. I added the firewall exception of the port tcp:465 for all IP addresses.
Additionally, emails containing links were being sent to the spam box, but just on my email account. I sent it to another account and it worked just fine.
[Edit]
GCE had nothing to do with the links problem. It was the poor design of my email content that caused it to go to the spam folder.
The solution was already there. Open the right firewall ports and you're good to go.

ID variable in cPanel email forward

I am building an app that incorporates Postmark App's Incoming Email capability to keep a threaded list of replies to an email. Their documentation suggests adding the post ID to the reply-to address - for example reply+POSTID#domain.com. However, when I attempt to use this method with cPanel, the emails are bounced back.
I have reply#domain.com set up, without adding the post ID the email is forwarded to the Postmark App inbox address, adding the ID breaks it. Is there any way to do this in a WHM/cPanel environment? It is a VPS account so I have full access if there is another way to tackle this.
Are the messages bounced back from Postmark or is it a cpanel error? I can probably help you out there! Do you have an MX record setup for Inbound via http://developer.postmarkapp.com/developer-inbound-mx.html ? Once you have that going Postmark will accept messages from any address on that domain and parse off the addresses with + chars in them. Are we sure cpanel can handle email addresses with special characters?

Mail sent from my website going to gmail spam folder when including a link

Whenever i try to send a mail from my website for email verification, the same is being received in a spam folder. I noticed that plain messages are being received in inbox, but whenever i try to include an ordinary http link[http://abcd.in/abcd/verify.php?key=2f27feb552c83c6c65b9bfc4d799e775], the mail goes to the spam folder. Cant point out the reason why this is happening. Please help me to resolve this issue.
Thanks All
From experience, I know that the spam score can be affected when hyperlinks have an alphanumeric argument tagged onto the end. I suggest trying to reformat the URL into something like;
http://abcd.in/abcd/f27feb552c83c6c65b9bfc4d799e775/verify.php
and extracting the reference using a Regex or Split()
Is your outgoing mail server configured to receive mail?
Are you using a proper mail server with proper setup at all or some bulk-mail-sending dud?
Are your mails sent with a real from address? And I don't mean the header-from that you can add in your software, but the protocol-from that is being used by sendmail
Do you have domain keys/dkim set up for your mail server?
Is the header OR the protocol from address from a different domain? Do they have set up domain keys allowing your mailserver?
Does your mail server feature the same domain name on the reverse lookup?
Does your mail server offer to receive mail for the user they are sending for?
Is your webhost using a smart relay? Do they rewrite the from: address?
Or do you send mails with internal mail address from?