LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   I can't send out email neither receive any... (https://www.linuxquestions.org/questions/linux-wireless-networking-41/i-cant-send-out-email-neither-receive-any-346307/)

ultrax 07-24-2005 03:26 PM

I can't send out email neither receive any...
 
Hi all,

here's my problem:

When I try to send locally email it works fine. I can send and retrieve it without any problems. However, I can not send or retrieve any e-mail from the internet (outside) I got this error msg while checking my mail queue :

j6OGkbUr007413 1 Sun Jul 24 12:46 <myname@host.mydomain.com>
(host map: lookup (yahoo.com): deferred)
<bidon@yahoo.com>

and

j6OGlUOJ007447 0 Sun Jul 24 12:47 <myname@host.mydomain.com>
(Warning: could not send message for past 4 hours)
<bidon@yahoo.com>


Now, in my sendmail.mc I got these lines which are enable :

dnl FEATURE(`accept_unresolvable_domains')dnl
dnl define(`SMART_HOST',`smtp.my_isp_provider.com')
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')


In my access file I got :

localhost RELAY
mydomain.com RELAY
198.130.0 RELAY (example of local ip)

I have no idea what's wrong?
Does anyone can help me to figure out why? any ideas?

thank in advance!

ultrax 07-24-2005 04:03 PM

Re: I can't send out email neither receive any...
 
Hi folks,

Just in case many of u guys having same issue, I think you might notice this:

I just figured out my problem. Now I could send and retrieve from the Internet :)
The reason why I wasn't enable to send or retrieve from the outside world is because, I didn't move out those dnl in sendmail.mc . Once I've removed them it works like a charm.

ex:

FEATURE(`accept_unresolvable_domains')dnl
define(`SMART_HOST',`smtp.my_isp_provider.com')

keep that one but remove # :
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')

;)
cheers,
UltraX

Quote:

Originally posted by ultrax
Hi all,

here's my problem:

When I try to send locally email it works fine. I can send and retrieve it without any problems. However, I can not send or retrieve any e-mail from the internet (outside) I got this error msg while checking my mail queue :

j6OGkbUr007413 1 Sun Jul 24 12:46 <myname@host.mydomain.com>
(host map: lookup (yahoo.com): deferred)
<bidon@yahoo.com>

and

j6OGlUOJ007447 0 Sun Jul 24 12:47 <myname@host.mydomain.com>
(Warning: could not send message for past 4 hours)
<bidon@yahoo.com>


Now, in my sendmail.mc I got these lines which are enable :

dnl FEATURE(`accept_unresolvable_domains')dnl
dnl define(`SMART_HOST',`smtp.my_isp_provider.com')
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')


In my access file I got :

localhost RELAY
mydomain.com RELAY
198.130.0 RELAY (example of local ip)

I have no idea what's wrong?
Does anyone can help me to figure out why? any ideas?

thank in advance!


maestro_ba 02-12-2008 09:16 AM

Thanks a lot!
I could not send mail, and by commenting this line
Code:

#dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')
in /etc/sendmail/sendmail.mc now I am able to do it! :D

But it's strange, it's the first time I have to do this, and I have configured other servers... :scratch:

Anyway, now it works! ;)

Quote:

Originally Posted by ultrax (Post 1763270)
Hi folks,

Just in case many of u guys having same issue, I think you might notice this:

I just figured out my problem. Now I could send and retrieve from the Internet :)
The reason why I wasn't enable to send or retrieve from the outside world is because, I didn't move out those dnl in sendmail.mc . Once I've removed them it works like a charm.

ex:

FEATURE(`accept_unresolvable_domains')dnl
define(`SMART_HOST',`smtp.my_isp_provider.com')

keep that one but remove # :
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')

;)
cheers,
UltraX



All times are GMT -5. The time now is 03:16 PM.