On Mon, Oct 18, 2010 at 22:47, <m.roth@5-cent.us> wrote:
> Bingo! DNS.
>
No, even on the IP address telnet won't answer on port 25:
✈dcl:~$ telnet 178.63.65.188 25
Trying 178.63.65.188...
telnet: Unable to connect to remote host: Connection timed out
✈dcl:~$
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 08:55 PM
JohnS
Not receiving mail
On Mon, 2010-10-18 at 22:38 +0200, Dotan Cohen wrote:
>
> Exactly the problem! It pings fine (so I know that connections can be
> established over the physical wires) and on the IP address telnet
> answers. However, telnet to port 25 (smtp) with the domain name fails.
> Why could that be?
---
Why not post your config file so peeps can have a look at it?
John
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 08:55 PM
Todd Denniston
Not receiving mail
Dotan Cohen wrote, On 10/18/2010 04:51 PM:
> On Mon, Oct 18, 2010 at 22:47, <m.roth@5-cent.us> wrote:
>> Bingo! DNS.
>>
>
> No, even on the IP address telnet won't answer on port 25:
>
> ✈dcl:~$ telnet 178.63.65.188 25
> Trying 178.63.65.188...
> telnet: Unable to connect to remote host: Connection timed out
> ✈dcl:~$
>
>
are you coming to it from a 178.63.65.* or from a private IP (even if through a NAT)?
i.e. could there be one of those router things that does not pass private IP traffic on through
between you and it?
Grasping at a straw that look like a thought.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 08:55 PM
Les Mikesell
Not receiving mail
On 10/18/2010 3:38 PM, Dotan Cohen wrote:
> On Mon, Oct 18, 2010 at 22:34, Steve Clark<sclark@netwolves.com> wrote:
>> Hmm... I am not having any problem connecting from the U.S.
>>
>> ping 178.63.65.136
>> PING 178.63.65.136 (178.63.65.136) 56(84) bytes of data.
>> 64 bytes from 178.63.65.136: icmp_seq=1 ttl=49 time=140 ms
>> 64 bytes from 178.63.65.136: icmp_seq=2 ttl=49 time=142 ms
>> 64 bytes from 178.63.65.136: icmp_seq=3 ttl=49 time=138 ms
>>
>> telnet 178.63.65.136 25
>> Trying 178.63.65.136...
>> Connected to 178.63.65.136.
>> Escape character is '^]'.
>> ^]
>> telnet> close
>> Connection closed.
>>
>
> Exactly the problem! It pings fine (so I know that connections can be
> established over the physical wires) and on the IP address telnet
> answers. However, telnet to port 25 (smtp) with the domain name fails.
> Why could that be?
No the example above shows a telnet to port 25 connecting - which I can
reproduce too - but there is no 220 response as there should be from a
mailserver. Either the process is hung or configured to black/graylist
unknown connections, or something other than mailserver is listening on
port 25.
Telnet is going to go to an A record, so you have to look up the MX
record first, then telnet to the target.
--
Les Mikesell
lesmikesell@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 08:59 PM
Alexander Dalloz
Not receiving mail
Am 18.10.2010 22:38, schrieb Dotan Cohen:
> On Mon, Oct 18, 2010 at 22:34, Steve Clark <sclark@netwolves.com> wrote:
>> Hmm... I am not having any problem connecting from the U.S.
>>
>> ping 178.63.65.136
>> PING 178.63.65.136 (178.63.65.136) 56(84) bytes of data.
>> 64 bytes from 178.63.65.136: icmp_seq=1 ttl=49 time=140 ms
>> 64 bytes from 178.63.65.136: icmp_seq=2 ttl=49 time=142 ms
>> 64 bytes from 178.63.65.136: icmp_seq=3 ttl=49 time=138 ms
>>
>> telnet 178.63.65.136 25
>> Trying 178.63.65.136...
>> Connected to 178.63.65.136.
>> Escape character is '^]'.
>> ^]
>> telnet> close
>> Connection closed.
>>
>
> Exactly the problem! It pings fine (so I know that connections can be
> established over the physical wires) and on the IP address telnet
> answers. However, telnet to port 25 (smtp) with the domain name fails.
> Why could that be?
Sorry, your problem is not DNS. The MX resolves.
But if you talk to an MTA on port 25 you must get a greeting - that does
not happen. Instead the connection hangs.
While your www server works:
~ $ telnet 178.63.65.136 80
Trying 178.63.65.136...
Connected to static.136.65.63.178.clients.your-server.de (178.63.65.136).
Escape character is '^]'.
GET / HTTP/1.0
HTTP/1.1 200 OK
Date: Mon, 18 Oct 2010 20:54:23 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Fri, 08 Oct 2010 21:00:56 GMT
ETag: "c7a1c2-28-4e88b200"
Accept-Ranges: bytes
Content-Length: 40
Connection: close
Content-Type: text/html; charset=UTF-8
<html><body>Hello, world!</body></html>
Connection closed by foreign host.
~ $ telnet sharingcenter.eu 80
Trying 178.63.65.136...
Connected to sharingcenter.eu (178.63.65.136).
Escape character is '^]'.
GET / HTTP/1.0
HTTP/1.1 200 OK
Date: Mon, 18 Oct 2010 20:55:16 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Fri, 08 Oct 2010 21:00:56 GMT
ETag: "c7a1c2-28-4e88b200"
Accept-Ranges: bytes
Content-Length: 40
Connection: close
Content-Type: text/html; charset=UTF-8
<html><body>Hello, world!</body></html>
Connection closed by foreign host.
I expect that even being local on the server(s) and running "telnet
localhost 25" results in a hung connection.
You misconfigured your Postfix. Check your /var/log/maillog/ for startup
errors.
By any chance, did you bring down loopback or destroyed the localhost
mapping in /etc/hosts? Or you have something broken in your main.cf.
Post the output of "postconf -n".
Alexander
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 09:03 PM
JohnS
Not receiving mail
On Mon, 2010-10-18 at 16:55 -0400, JohnS wrote:
> On Mon, 2010-10-18 at 22:38 +0200, Dotan Cohen wrote:
>
> >
> > Exactly the problem! It pings fine (so I know that connections can be
> > established over the physical wires) and on the IP address telnet
> > answers. However, telnet to port 25 (smtp) with the domain name fails.
> > Why could that be?
> ---
> Why not post your config file so peeps can have a look at it?
>
> John
Well I have now a feeling it's more involved the his config file....
John
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 09:08 PM
Dotan Cohen
Not receiving mail
I see now, since the last postfix restart the log is filling up with these:
Oct 18 22:59:42 mercury postfix/smtpd[11318]: fatal: open database
/etc/aliases.db: No such file or directory
Oct 18 22:59:43 mercury postfix/master[7816]: warning: process
/usr/libexec/postfix/smtpd pid 11318 exit status 1
Oct 18 22:59:43 mercury postfix/master[7816]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
The problem will probably reveal itself here, but I will need to do a
bit of googling to decipher it all. I admit that much of the
configuration was done with tutorials that I googled, with limited
understanding. That's how we learn!
To what must I change /etc/aliases.db? Which fine manual should I be reading?
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 09:10 PM
Dotan Cohen
Not receiving mail
On Mon, Oct 18, 2010 at 22:55, Todd Denniston
<Todd.Denniston@tsb.cranrdte.navy.mil> wrote:
> are you coming to it from a 178.63.65.* or from a private IP (even if through a NAT)?
>
No, I'm pinging and telnetting in from another country!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 09:12 PM
John R Pierce
Not receiving mail
On 10/18/10 2:08 PM, Dotan Cohen wrote:
> I see now, since the last postfix restart the log is filling up with these:
>
> Oct 18 22:59:42 mercury postfix/smtpd[11318]: fatal: open database
> /etc/aliases.db: No such file or directory
> Oct 18 22:59:43 mercury postfix/master[7816]: warning: process
> /usr/libexec/postfix/smtpd pid 11318 exit status 1
> ....
>
> To what must I change /etc/aliases.db? Which fine manual should I be reading?
in sendmail at least, the command `newaliases` parses /etc/mail/aliases
and creates /etc/mail/aliases.db
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
10-18-2010, 09:15 PM
Scott Robbins
Not receiving mail
On Mon, Oct 18, 2010 at 11:08:37PM +0200, Dotan Cohen wrote:
> I see now, since the last postfix restart the log is filling up with these:
>
> Oct 18 22:59:42 mercury postfix/smtpd[11318]: fatal: open database
> /etc/aliases.db: No such file or directory
Well, see if you have an /etc/aliases, which you should, even if it's a
defaut. Then just run newaliases which will create an /etc/aliases.db
The issues may be elsewhere, but get rid of that one.