Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix problem
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
palio.misho
n00b
n00b


Joined: 19 Nov 2006
Posts: 3

PostPosted: Sun Nov 19, 2006 3:43 pm    Post subject: Postfix problem Reply with quote

I installed postfix after having no luck with sendmail. But I still get this message in the logs:

Code:
echo 'HELLO' |sendmail me@gmail.com


Code:
Nov 19 17:32:14 palio postfix/pickup[2682]: 3969A18EAF: uid=0 from=<root>
Nov 19 17:32:14 palio postfix/cleanup[2767]: 3969A18EAF: message-id=<20061119153214.3969A18EAF@palio.local>
Nov 19 17:32:14 palio postfix/qmgr[2712]: 3969A18EAF: from=<root@palio.local>, size=274, nrcpt=1 (queue active)
Nov 19 17:32:24 palio postfix/smtp[2773]: 3969A18EAF: to=<me@gmail.com>, relay=none, delay=10, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)


I'm behing a firewall but I can ping gmail.com


Can you help? Thanks!
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Sun Nov 19, 2006 4:11 pm    Post subject: Re: Postfix problem Reply with quote

palio.misho wrote:
Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)

Postfix tried a lookup for gmail.com but failed. Try this on the machine your postfix is on (you might need to emerge bind-tools for this to work)
Code:
dig -t MX gmail.com
Back to top
View user's profile Send private message
palio.misho
n00b
n00b


Joined: 19 Nov 2006
Posts: 3

PostPosted: Sun Nov 19, 2006 4:40 pm    Post subject: Reply with quote

This is what i get:

Code:
dig -t MX gmail.com


Code:

; <<>> DiG 9.3.2 <<>> -t MX gmail.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12254
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 4, ADDITIONAL: 11

;; QUESTION SECTION:
;gmail.com.                     IN      MX

;; ANSWER SECTION:
gmail.com.              1648    IN      MX      10 alt2.gmail-smtp-in.l.google.com.
gmail.com.              1648    IN      MX      50 gsmtp163.google.com.
gmail.com.              1648    IN      MX      50 gsmtp183.google.com.
gmail.com.              1648    IN      MX      5 gmail-smtp-in.l.google.com.
gmail.com.              1648    IN      MX      10 alt1.gmail-smtp-in.l.google.com.

;; AUTHORITY SECTION:
gmail.com.              127465  IN      NS      ns1.google.com.
gmail.com.              127465  IN      NS      ns2.google.com.
gmail.com.              127465  IN      NS      ns3.google.com.
gmail.com.              127465  IN      NS      ns4.google.com.

;; ADDITIONAL SECTION:
alt2.gmail-smtp-in.l.google.com. 51 IN  A       64.233.185.114
alt2.gmail-smtp-in.l.google.com. 51 IN  A       64.233.185.27
gsmtp163.google.com.    2817    IN      A       64.233.163.27
gsmtp183.google.com.    5940    IN      A       64.233.183.27
gmail-smtp-in.l.google.com. 81  IN      A       66.249.93.114
gmail-smtp-in.l.google.com. 81  IN      A       66.249.93.27
alt1.gmail-smtp-in.l.google.com. 200 IN A       72.14.205.27
ns1.google.com.         139969  IN      A       216.239.32.10
ns2.google.com.         139969  IN      A       216.239.34.10
ns3.google.com.         139969  IN      A       216.239.36.10
ns4.google.com.         139969  IN      A       216.239.38.10

;; Query time: 346 msec
;; SERVER: 192.168.0.5#53(192.168.0.5)
;; WHEN: Sun Nov 19 18:39:39 2006
;; MSG SIZE  rcvd: 406
Back to top
View user's profile Send private message
palio.misho
n00b
n00b


Joined: 19 Nov 2006
Posts: 3

PostPosted: Thu Nov 23, 2006 10:28 pm    Post subject: Reply with quote

:arrow:
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Fri Nov 24, 2006 1:57 pm    Post subject: Reply with quote

can you telnet to gmail on port 25? it could be that your isp blocks outgoing mails.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Fri Nov 24, 2006 2:09 pm    Post subject: Re: Postfix problem Reply with quote

palio.misho wrote:
Code:
Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)

Is your postfix chrooted or something?
Back to top
View user's profile Send private message
JROCK2004
Guru
Guru


Joined: 02 Mar 2004
Posts: 450
Location: PA

PostPosted: Fri Nov 24, 2006 7:42 pm    Post subject: Reply with quote

gmail is not port 25 try 995 or 465
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