SMTP error status 5.3.5 Email looping. Using Gmail - email

I have a problem with SMTP configuration.
I use Gmail with my domain for ex. www.mydomain.com. When I try to send email from server under that domain to mailbox#mydomain.com I get fail report
Final-Recipient: rfc822;mailbox#mydomain.com
Action: failed
Status: 5.3.5
MX records are as in Google configuration wizard. Why is the mail looping?
10 alt2.aspmx.l.google.com
10 aspmx.l.google.com.mydomain.com
10 alt1.aspmx.l.google.com
20 aspmx2.googlemail.com
20 aspmx3.googlemail.com
My server is IIS 7, with default SMTP service.
Thank you for any help.

If someone will find this question, problem was with DNS MX records:
aspmx.l.google.com.mydomain.com
but it should be
aspmx.l.google.com
Apparently this was causing the loop.

Related

Direct Incoming Emails to CPanel email server?

I've configured several email addresses using the built-in CPanel email utility, and they're all able to successfully send outgoing mail. Incoming mail however is bounced back, with one of the following two errors:
Address not found:
The response from the remote server was:
550 5.1.1 <email#domain.com> Recipient not found.
Message not delivered:
The response from the remote server was:
550 5.4.1 [nathan#fortunesfavored.com]: Recipient address rejected: Access denied
I believe that these error codes (550 5.4.1 and 550 5.1.1) are Exchange server errors, meaning that incoming mail is being directed to the wrong server. (I'm hosting on a GoDaddy service). Is that correct? If so, is this an issue that I would solve in my DNS settings under the MX entry? Here's what I have now:
Priority Host Points to TTL
10 # mailstore1.secureserver.net 1 Hour
0 # smtp.secureserver.net 1 Hour
yes you have to edit your MX entries.
Login to you cpanel account.
under emails click on MX entries.
if there is no MX entry then add a MX entry.
mail.yourdomainname.com and set priority 10

Odoo 10: Mail Delivery Failed (error: 111)

I am trying to send emails from my Odoo 10 installation. For this I have configured the outgoing mail server with Gmail SMTP as follows:
SMTP Server: smtp.gmail.com
SMTP Port: 465
Priority: 10
Connection Security: SSL/TLS
I have also configured my Gmail account to accept less secure connections from outside and when I run the test from Odoo's email configuration menu I get the following message:
Connection Test Succeeded! Everything seems properly set up!
BUT: If I try to send a real mail with Odoo I get the following error reason:
Mail Delivery Failed
Mail delivery failed via SMTP server 'localhost'.
error: 111
Connection refused
I don't know what to do, I searched for it on the internet but found nothing. Hope somebody can help me. Many thanks in advance.
From the error its clear that Odoo is trying to send emails using "SMTP server 'localhost'".
By default Odoo will create a localhost server in outgoing mail configuration menu. So you must set the "Priority" field in the form. Set the GMail server priority as "1"and localhost as "2" or any other value.
Priority: The priority of your mail server. The lower the number the
higher the priority. This will mean that the e-mail server with the
lowest number will be used the most.

ssmtp: 550 invalid DNS MX or A/AAAA resource record

I am trying to send a mail from centos machine, but I came to a problem. I have installed "mail" and ssmtp inside my linux machine and I got this response when I try to send a mail.
ssmtp: 550 invalid DNS MX or A/AAAA resource record
FromLineOverride=YES
mailhub=smtp.1und1.de:587
UseSTARTTLS=YES
Of course, with the correct password and user.
I have tried already couple of users and everybody are returning the same.
I have tried even with my own user and the password that I have, but it won't work.
If you have any other approaches to this problem let me know also.
What am I doing wrong ?
The problem seems to be the FROM address for the SMTP envelope. Some SMTP servers will ignore an invalid value like Gmail for example (that's why it worked for me with Gmail) but if you're using 1und1 SMTP-Server you have to override the domain if it's not the same as the mail domain (e.g. if you're on a local test server).
You can override the domain in the /etc/ssmtp/ssmtp.conf:
Assuming your email is: my#yourdomain.de
rewriteDomain=yourdomain.de

Plesk, Email with localy established domain where the mail server is external

i have a big problem with the setup for an Domain.
The Webservices are established on our Server but the Mail functions are on a Server of an other Company when we now want send an Email over our Server he tried to send it localy insted of sending it to an other server so he give back an no account here error.
Thanks for helping me out and friendly greetings.
Edit: OS Debian 6
Imap: Courier
Send: Postfix
CP: Plesk
Further to this, we are using Plesk 11.5.3 on a setup where a single mail service is activated for all domains.
So each domain cannot have the mail service turned on or off individually.
We had the same problem as Franco, and we fixed this by running the following command for each domain that had external email:
# /usr/local/psa/bin/mail --off domain.com
Works perfectly, and removes any previously created local email addresses from Postfix.
"The problem is because the server will attempt to deliver emails for the domain name locally by default. To resolve that problem you would need to set it to use the domain name's MX record."
The simple answer is to disable mail services for the subscription.
Untick the box for "Activate mail service on domain".

Can not receive emails on Apache James email server

I have installed Apache James email server on a windows machine. I am using Firefox Thunderbird as email client.
I could add a new domain mydomain.com by copying the domainlist.xml in conf folder of James server and making it default domain. Further, i could add users into this domain.
My problem is that i can send emails from tuser1#mydomain.com to admin#localhost BUT i can't receive mails on tuser1#mydomain.com.
i tried to copy the lines below in my host file and restart the server,
127.0.0.1 mydomain.com
mydomain.com IN A 127.0.0.1
mydomain.com IN MX 10 mydomain.com
This is not helping.
Any suggestion on this?
Thanks,
Vijay Bhore
Found a solution to my problem.
Now, I am using hMailServer as my email server.
I added the domain 'mydomain' and few users under it.
Later i referred this link: http://csns.calstatela.edu/wiki/content/cysun/course_materials/hmailserver
I followed steps 4,5 and 6 in hMailServer Administrator.
I could easily add users in Thunderbird client and send/receive emails.
Thanks,
Vijay Bhore