LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   postfix smtp relay (https://www.linuxquestions.org/questions/linux-newbie-8/postfix-smtp-relay-4175657215/)

HarishMooly 07-11-2019 09:47 AM

postfix smtp relay
 
Hi

My Name is Harish, from last two month am trying to configure my email id on gmail and Thunderbird, but am facing some issue.

I have one dedicated server , in this server i configured the postfix,

am trying to add this my email account in gmail,but i got following error

Authentication failed. Please check your username/password.
Server returned error: "DNS Error: 6041935 DNS type 'aaaa' lookup of smtp.xxxx.com responded with code NXDOMAIN 6041935 DNS type 'a' lookup of smtp.xxxx.com responded with code NXDOMAIN , code: 0"



please help me how to solve this issue.

TB0ne 07-11-2019 10:37 AM

Quote:

Originally Posted by HarishMooly (Post 6014113)
Hi
My Name is Harish, from last two month am trying to configure my email id on gmail and Thunderbird, but am facing some issue.

I have one dedicated server , in this server i configured the postfix, am trying to add this my email account in gmail,but i got following error
Code:

Authentication failed. Please check your username/password.
Server returned error: "DNS Error: 6041935 DNS type 'aaaa' lookup of smtp.xxxx.com responded with code NXDOMAIN 6041935 DNS type 'a' lookup of smtp.xxxx.com responded with code NXDOMAIN , code: 0"

please help me how to solve this issue.

Did you read the error??? It's telling you that the DNS record of your server has a problem. Since you've been asking about postfix/exim for more than a year now, it's surprising you've not made any progress.
https://www.linuxquestions.org/quest...ss-4175630093/
https://www.linuxquestions.org/quest...ay-4175647215/
https://www.linuxquestions.org/quest...ue-4175629176/

And if this is the same mail server you've been working on for the past year, I doubt again you'll get much help...wanting postfix/exim to run on multiple IP addresses sure seems like you want to set up a spam server.

HarishMooly 07-11-2019 01:03 PM

Thanks for your reply

I know how to configure post-fix on multiple IP address, and i would like to tell you am not spammer ,,i know this is dns error, but am not able to troubleshot properly.

see if you know the answer please help me else keep quite and do your work .Dont comment on my work and all.


I hope i will receive positive answer in this form.


Thanks

TB0ne 07-11-2019 01:30 PM

Quote:

Originally Posted by HarishMooly (Post 6014158)
Thanks for your reply
I know how to configure post-fix on multiple IP address, and i would like to tell you am not spammer

Right...because most legitimate people want to run mail services on multiple IP addresses.
Quote:

i know this is dns error, but am not able to troubleshot properly.
Again, you've been working with this for a good while now. What *HAVE* you done to actually troubleshoot, past posting it here, since you claim to have been working on this for TWO MONTHS??? The error is very plain: either your user ID/password is wrong, or you have a problem with your DNS entry for your server, and Gmail can't verify it. Correct your DNS problem, or give it the right credentials.
Quote:

see if you know the answer please help me else keep quite and do your work .Dont comment on my work and all. I hope i will receive positive answer in this form.
You come to a forum, tell people to be quiet and try to tell them what they can/cannot comment on, then say you want a "positive answer"??

Again, I find it hard to believe you're not a spammer, based on your previous posts. I also don't think you've done any troubleshooting at all, since there is a LOT of documentation on your error, giving a ton of hints and suggestions, all of which you can find with a brief internet search. Start by thinking about what an AAAA record is for, versus an A record. And there are even multiple tutorials on how to configure Postfix to use Gmail
https://easyengine.io/tutorials/linu...ix-gmail-smtp/

If you've been working on this for two months, why haven't you seen any of this???

HarishMooly 07-12-2019 10:16 AM

Hi

Thanks for your valuable information.

First of all you didn't understand my questions, i was mentioned in that i want to configure email id harish@xyz.com in Another Gmail accouint(ex harish@gmail.com), I know how to configure Postfix use gmail relay . AAAA record will point to ipv6, i have only ipv4, and i set proper dns record,mx,a,ptr record etc.


Please understand the question and then reply, if we not find the proper solution in google then we will post the query in forum.


solve the issue instead of passing rude and misdemean comment .

I dont have any hopes i will get proper solution in this forum,

TB0ne 07-12-2019 10:32 AM

Quote:

Originally Posted by HarishMooly (Post 6014382)
Hi
Thanks for your valuable information.

First of all you didn't understand my questions, i was mentioned in that i want to configure email id harish@xyz.com in Another Gmail accouint(ex harish@gmail.com), I know how to configure Postfix use gmail relay . AAAA record will point to ipv6, i have only ipv4, and i set proper dns record,mx,a,ptr record etc.

Please understand the question and then reply, if we not find the proper solution in google then we will post the query in forum.

Nope, understood the question perfectly, thanks. And if you DID set the proper DNS record, you wouldn't be getting this error.
Quote:

solve the issue instead of passing rude and misdemean comment . I dont have any hopes i will get proper solution in this forum,
You have done NO TROUBLESHOOTING of your own, and coming to a volunteer forum and then **TELL PEOPLE** to "solve the issue" is plain rude. This is YOUR job...we are happy to help, but you have to show effort of your own. You have not. If you want others to solve your problems for you, then you should hire a consultant. The only one being rude is you.

You were asked very plainly what troubleshooting you've done...you did not respond, and still don't. Again, you have a DNS issue, and aren't showing us ANYTHING from your DNS troubleshooting which would let anyone even try to help you. And again, based on your previous posts, it seems like you're asking for help setting up a spam server, and have been working on this for more than a year....after a year, it's surprising you've not progressed any.

TenTenths 07-12-2019 10:39 AM

Quote:

Originally Posted by HarishMooly (Post 6014382)
i set proper dns record,mx,a,ptr record etc.

No, you haven't configured DNS and A records correctly.

The second part of the error message also states that the A record can't be found.

Code:

Server returned error: "DNS Error: 6041935 DNS type 'aaaa' lookup of smtp.xxxx.com responded with code NXDOMAIN 6041935
DNS type 'a' lookup of smtp.xxxx.com responded with code NXDOMAIN , code: 0"

My guess is that what you're trying to do is to have gmail fetch mail from "your" server and have it appear in your gmail account using the Check email from other accounts: in Settings > Accounts

gmail will look for an ipv6 record in preference and it's not found, and that's ok, but it's then gone on to look for an a record for smtp.xxxx.com and that hasn't been returned either. So you're getting the NXDOMAIN error. As you've decided not to include the actual domain you're trying to use then nobody here can assist you in troubleshooting why it doesn't resolve externally.

TB0ne 07-12-2019 11:23 AM

Quote:

Originally Posted by TenTenths (Post 6014388)
No, you haven't configured DNS and A records correctly.

The second part of the error message also states that the A record can't be found.

Code:

Server returned error: "DNS Error: 6041935 DNS type 'aaaa' lookup of smtp.xxxx.com responded with code NXDOMAIN 6041935
DNS type 'a' lookup of smtp.xxxx.com responded with code NXDOMAIN , code: 0"

My guess is that what you're trying to do is to have gmail fetch mail from "your" server and have it appear in your gmail account using the Check email from other accounts: in Settings > Accounts

gmail will look for an ipv6 record in preference and it's not found, and that's ok, but it's then gone on to look for an a record for smtp.xxxx.com and that hasn't been returned either. So you're getting the NXDOMAIN error. As you've decided not to include the actual domain you're trying to use then nobody here can assist you in troubleshooting why it doesn't resolve externally.

Yep...OP was told that in the first reply. A brief search for the error explains exactly what's wrong, but the OP won't even say what troubleshooting has been done, past posting it here and telling us to solve his problem.

TenTenths 07-12-2019 11:36 AM

Quote:

Originally Posted by TB0ne (Post 6014396)
Yep...OP was told that in the first reply. A brief search for the error explains exactly what's wrong, but the OP won't even say what troubleshooting has been done, past posting it here and telling us to solve his problem.

There are some times, and some OPs where eventually being told the same thing finally sinks in. I also pity the companies that employ / outsource to such people.

TB0ne 07-12-2019 11:49 AM

Quote:

Originally Posted by TenTenths (Post 6014400)
There are some times, and some OPs where eventually being told the same thing finally sinks in. I also pity the companies that employ / outsource to such people.

Indeed, but I don't feel TOO much pity for them...mainly because a good chunk of my companies revenue comes from folks getting us to straighten out what the "quality, certified outsourcing" contractors have done. :)


All times are GMT -5. The time now is 10:13 PM.