Postfix Connection Closed By Foreign Host Error
Contents |
- Dovecot Connection closed by foreign host. problem Issues related to software problems. Post Reply Print view Search Advanced search 27 posts 1
Telnet Connection Closed By Foreign Host Linux
2 3 Next telmessos Posts: 29 Joined: 2008/10/15 22:39:53 [SOLVED] Postfix telnet connection closed by foreign host ubuntu - Dovecot Connection closed by foreign host. problem Quote Postby telmessos » 2011/04/13 21:09:51 Hi all,I installed
Dovecot Connection Closed By Foreign Host
Postfix and Dovecot following the guidelines on this web site. After the install both dovecot and postfix seems to work without any errors on the logs. But when I connection closed by foreign host cisco try to telnet localhost I get the following message:Code: Select allTrying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
Anybody ideas about the possible reason of it? Many thankstelmessos Top TrevorH Forum Moderator Posts: 16911 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: Postfix - Dovecot Connection closed by foreign host. problem Quote Postby telnet connection closed immediately TrevorH » 2011/04/13 21:26:32 If you telnet to localhost without a 2nd parameter then telnet will try to connect to the default 'telnet' port 23. If you want to connect to your SMTP MTA then you need to specify port 25 as the 2nd parameter to the command. Top pschaff Retired Moderator Posts: 18276 Joined: 2006/12/13 20:15:34 Location: Tidewater, Virginia, North America Contact: Contact pschaff Website [SOLVED] Postfix - Dovecot Connection closed by foreign host Quote Postby pschaff » 2011/04/13 21:29:22 telmessos wrote:... when I try to telnet localhost ...How aboutCode: Select alltelnet localhost [b][color=CC0000]25[/color][/b]?110? 143?Edit: I see Trevor's fingers are faster than mine, but the point is the same. Top telmessos Posts: 29 Joined: 2008/10/15 22:39:53 Re: Postfix - Dovecot Connection closed by foreign host. problem Quote Postby telmessos » 2011/04/14 07:10:03 Thanks for the quick reply. When I say "telnet localhost" I meant "telnet localhost 25" This is what I get when I telnet 143 port which seems ok to me (not 100% sure).Code: Select all[root@CentOS-55-64-minimal ~]# telnet l
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers
Telnet Localhost 25 Connection Refused
to any questions you might have Meta Discuss the workings connection closed by foreign host ssh and policies of this site About Us Learn more about Stack Overflow the company Business
Warning: Sasl: Connect To Private/auth Failed: No Such File Or Directory
Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and http://www.centos.org/forums/viewtopic.php?t=21803 answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Why can't I get a telnet localhost 25, ehlo localhost output of 250-AUTH? http://askubuntu.com/questions/553664/why-cant-i-get-a-telnet-localhost-25-ehlo-localhost-output-of-250-auth up vote 0 down vote favorite 1 How do I get a telnet localhost 25 output of 250-AUTH LOGIN? Similar to the questions asked here and here, I set up a Postfix-Dovecot mail server using Ubuntu 12.04LTS and can not get it to authenticate. When smtp_tls_auth_only = no (as recommended here), my connection closes: Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. When smtp_tls_auth_only = yes, here's what I get: Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mydomain.com ESMTP Postfix (Ubuntu) ehlo localhost 250-mydomain.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN Below is the output from their respective bash prompt commands (shown in bold): **postconf -m** /etc/postfix$ postconf -m btree cidr environ fail hash internal memcache nis proxy regexp sdbm sqlite static tcp texthash unix **postconf -a** cyrus dovecot **postconf -n** alias_database = hash:/etc/aliases alias_maps = pgsql:/etc/
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://serverfault.com/questions/578418/telnet-unable-to-connect-to-remote-host Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only http://unix.stackexchange.com/questions/168754/telnet-session-closed-by-foreign-host takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top telnet unable to connect to remote host up vote connection closed 2 down vote favorite 1 I have installed postfix and devcot on one of my live servers to send bulk mail (system messages on sign-up, wrong passwords etc). I use the php_imap function to check bounces and flag those email id's so that we don't keep sending emails to those address that have resulted in a bounce. I noticed that the php_imap function was not reading the bounces on the live servers it did read connection closed by bounces on the test servers. But the live server is able to send mails! Both the servers have identical Centos 6.4 OS and have the same iptable configuration. I compared the DNS entries of both "test" and "live" domains and they have the necessary SPF entries. The hosting provider has the necessary PTR records. But the bounces for some reason was not available to the php_imap program. At this point I was not sure if the bounces were being delivered to the server and dovecot was unable to read them or if the bounces were not delivered at all. So I compared the entries in /etc/postfix/main.cf and /etc/postfix/master.cf of both the "test" and "live" servers and found them to be the same except for the domain name. To be sure I checked if postfix is running ps aux | grep postfix and it returned LIVE SERVER [root@bw sridhar]# ps aux | grep postfix root 1433 0.0 0.1 13476 2696 ? Ss 09:32 0:00 /usr/libexec/postfix/master postfix 1443 0.0 0.1 13720 2836 ? S 09:32 0:00 qmgr -l -t fifo -u postfix 4724 0.0 0.1 13552 2668 ? S 12:00 0:00 pickup -l -t fifo -u postfix 4850 0.0 0.1 13696 2776 ? S 12:15 0:00 cleanup -z -t unix -u postfix 4852 0.0 0.1 13748 2928 ? S 12:15 0:00 smtp -t unix -u postfi
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Telnet session closed by foreign host up vote 1 down vote favorite I'm trying to telnet to imap-mail.outlook.com on port 993. When I connect to it, I get Trying 157.56.195.250... Connected to imap-mail.outlook.com. Escape character is '^]'. And I can enter a command. Whenever I enter seemingly anything, it disconnects me saying: Connection closed by foreign host. I'm trying to determine (or even venture a guess as to) the reason and I don't know enough about telnet to even make an educated guess. Can anyone point me in the right direction? For the record, I'm able to connect a desktop mail client to this address and it works fine. The machine I'm trying from is on the same network running CentOS 6 with no firewall rules whatsoever, which clearly isn't the problem anyway. centos telnet share|improve this question edited Nov 19 '14 at 2:17 jasonwryan 35k984133 asked Nov 18 '14 at 23:45 JamesB41 10814 What commands did you try to enter? Have you compared that with what your software sends? The most obvious reason would be that you entered an invalid command, and you've given us no reason to rule that out. –Gilles Nov 19 '14 at 1:09 add a comment| 1 Answer 1 active oldest vo