mail server is unable to receive mails from gmail and yahoo
I have created a DNS server with a domain name example.com
and also a mail server with sendmail and dovecot well i am able to send mails from my linux machines to gmail and yahoo but when I try to do the same from my gmail account, it returns back with a error. Is it because the domain name which I am using is not registered on internet? All I want is when I send mails from my gmail account I should receive mails on my linux machine with mail server id deepak@example.com Any kind of help will be highly appreciated... |
Quote:
Kind regards |
Well the smtp server I am using is smtp.gmail.com
So i guess this is the reason I am able to send mails to gmail or other domains isn't there any option where we can use relative imap server of gmail to recieve mails from gmail?? |
You could enable POP3 on your GMAIL account and then use a scheduled fetchmail on your server to retrieve e-mail messages to your linux machine.
|
Thanks for the reply TenTenths,
how am I going to enable pop3 in my gmail account? I didn't get you and can you help me with the configuration of fetchmail? but are you sure it won't return with the same error of domain names? as I said my domain name is example.com which is not registered and a self created domain name. As I have worked with dovecot and postfix for pop3 and imap but they don't seem to be working isn't there any way to use imap server of gmail.com? |
Quote:
How do you think this could work? Kind regards |
In your GMAIL account click on the options (It's the gear-wheel in the top right corner) and select Mail Settings. There a tab "Forwarding and POP/IMAP" that will let you set your account up for access with these protocols from anywhere on the internet. There are also links with more information on those pages that show how to configure common clients to access through POP/IMAP
You'll also want to check your incoming mail server on your linux machine so that it knows which local mailbox to route the incoming mail into. Then go find a nice fetchmail tutorial and configure your linux server accordingly. |
What Repo is saying is you CAN NOT send mail to an unregistered domain.
What Tentenths is suggesting you dom is use fetchmail to get e-mail from your gmail POP/IMAP enabled account. Effectively this means 1. your domain example.com is not receiving any e-mail and will not until registered. 2. The e-mail you will be receiving will simply be e-mails in your gmail account (on registered gmail domain) be transfered to your server. |
Well thanks repo, bryanmuts2000 and tentenths for replying:
I just wanted some suggestion whether this is possible or not since if I am able to send mails through an unregistered domain using smtp.gmail.com then I thought there might be any option to use imap server of gmail to receive mails. Well I guess my search continues |
I am no expert but I think TenTenths advice should work.
|
Quote:
Do you want to sent mail to deepak@example.com from your gmail/yahoo account? Or do you want to download the mails on your gmail/yahoo account to your computer? If you want to use the imap from gmail https://mail.google.com/support/bin/...y?answer=75725 Kind regards |
"Do you want to sent mail to deepak@example.com from your gmail/yahoo account?"
Repo forgot to say this one won't work. |
Quote:
Quote:
|
The first thing is , your domain has not name server designed. and second is not yet registered.
so, while sending mail from internet(gmail, yahoo, etc), the mail domain should be available in the internet zone. when you are sending mail from your unregistered domain to gmail , the mail received in the gmail inbox because you machine connected with internet and gmail name server is available in interne. I hope you understand. please reply if any concern . thanks, |
thanks to all guys
This is what I wanted suggestions...:) well even I know that when a domain is not registered over internet then practically I am not supposed to receive mails on my server but that is what I was trying to find out is there any chance or not. Well thank you all for your suggestions....but I am working on something related to this and ill surely update if I reach to some positive conclusions Thanks again |
All times are GMT -5. The time now is 03:05 PM. |