Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(SOLVED)Postfix receives mail fine but can't send mail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kaltag
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2004
Posts: 116
Location: Boise, ID

PostPosted: Tue Jun 27, 2006 12:13 am    Post subject: (SOLVED)Postfix receives mail fine but can't send mail Reply with quote

After finally getting courier-authlib working I a, able to login via squirrelmail and read emails sent to the account but cannot send mail to any email service I've tried, gmail, hotmail, yahoo mail etc...here's the error
Code:
Jun 26 10:02:26 localhost imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 26 10:02:26 localhost imapd: LOGIN, user=test, ip=[::ffff:127.0.0.1], protocol=IMAP
Jun 26 10:02:26 localhost imapd: LOGOUT, user=test, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Jun 26 10:02:45 localhost postfix/smtp[27120]: 970FC7E0BFE: to=<$testaccount@gmail.com>, relay=none, delay=20, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)


I can ping gmail just fine and all names are resolving correctly. links works fine. Ideas?
_________________
Yeah, I know about the recovery console. Usually, it doesn't do anything more than I can do with a match, a weedwhacker, and a sledgehammer. Actually, it does a whole lot less. - Caffinehog


Last edited by kaltag on Wed Jun 28, 2006 12:25 am; edited 1 time in total
Back to top
View user's profile Send private message
mauricec
n00b
n00b


Joined: 20 Mar 2004
Posts: 20
Location: Nieuwerbrug, Holland

PostPosted: Tue Jun 27, 2006 6:06 am    Post subject: Reply with quote

can you do an telnet to any of the gmail servers ? ( just to see if your provider is not blocking anything )

Code:
$ host -t MX gmail.com
gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 10 alt2.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 50 gsmtp163.google.com.
gmail.com mail is handled by 50 gsmtp183.google.com.

$ telnet gmail-smtp-in.l.google.com 25
Trying 64.233.183.27...
Connected to gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.gmail.com ESMTP a23si6824327nfc
ehlo
250-mx.gmail.com at your service, [yo.ur.ip.nr]
250-SIZE 20971520
250-8BITMIME
250 ENHANCEDSTATUSCODES
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Tue Jun 27, 2006 6:36 am    Post subject: Reply with quote

Try to specifically resolve MX entries for domains. Sometimes it's a problem with the DNS server being unable to provide these. Happens with some routers.
Back to top
View user's profile Send private message
kaltag
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2004
Posts: 116
Location: Boise, ID

PostPosted: Tue Jun 27, 2006 1:18 pm    Post subject: Reply with quote

magic919 wrote:
Try to specifically resolve MX entries for domains. Sometimes it's a problem with the DNS server being unable to provide these. Happens with some routers.

that does seem to be the problem here. There seems to be some sort of resolve problem.
Code:
telnet gmail-smtp-in.l.google.com 25
Trying 1.0.0.0...

Seems to be resolving 1.0.0.0 ideas to fix this? Or why I can ping any site and it works and web browsing works? I am running an Actiontec DSL modem and linksys router behind that.

my resolv.conf
Code:
localhost mail # cat /etc/resolv.conf
# Generated by dhcpcd for interface eth0
nameserver 4.2.2.1
nameserver 4.2.2.1
nameserver 192.168.0.1

_________________
Yeah, I know about the recovery console. Usually, it doesn't do anything more than I can do with a match, a weedwhacker, and a sledgehammer. Actually, it does a whole lot less. - Caffinehog
Back to top
View user's profile Send private message
kaltag
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2004
Posts: 116
Location: Boise, ID

PostPosted: Wed Jun 28, 2006 12:24 am    Post subject: Reply with quote

not sure why but after running env-update everything is working now 8O. now to get started on the database....
_________________
Yeah, I know about the recovery console. Usually, it doesn't do anything more than I can do with a match, a weedwhacker, and a sledgehammer. Actually, it does a whole lot less. - Caffinehog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum