CentOS 5 :: Postfix - Telnet Localhost 25 Connection Closed
Sep 24, 2011
Just setup my postfix and trying to telnet localhost.
here it is..
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
I wanna paste my /var/log/maillog but i don't know how, when i copy from putty screen it's only copied part of the log.
btw i found one similar problem here [URL] but the thread starter already lost the pastebin so i don't know how he resolved the problems.
View 2 Replies
ADVERTISEMENT
Dec 5, 2010
I have recently upgraded to a VPS for the purpose of web hosting a group of sites related to my business.The reason for the upgrade was because we wish to run a shopping cart software which required greater memory for PHP and the VPS was the most economic solution. So, I have very basic linux knowledge but I am the definition of a newbie when it comes to going further than just scratching the surface of server configuration! I have successfully hosted our main site for a number of weeks but recently the postfix service stopped sending mail. I have Plesk Control Panel installed and postfix continually shows as not started even though in SSH the service status is definitely running - I have gone through the troubleshooting checklist here (http://www.postfix-book.com/debugging.html#d0e6) but can't get any further than section 2.1 as when running the host command (#host relay-test.mail-abuse.org), I get # -bash: host:command not found. I've gone further in the document but not found any issues...
When postfix was working properly (i.e. sending emails!), the plesk CP showed the service as started and all emails from the website were sending as normal. The mailq command is showing the messages stuck in the mailq and the maillog shows the following:- http://pastebin.centos.org/36446 - these are the latest few pages.To check the configuration and basic elements I have flushed the mailq (which shows a stack of messages waiting) and I have also spent a long time (2 weeks) reading up on the parameters that should be in main.cf and master.cf.I have found that when I 'telnet localhost 25' I get the following response...[root@s15397216]# telnet localhost 25Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.
View 2 Replies
View Related
Nov 5, 2010
I performed a F13 to F14 upgrade today and it went very well. The only problem I'm having is that I can longer Telnet to the machine.The client side returns a "connection closed by foreign host" message or "connection to host lost", depending on the client.The /var/log/messages file contains "FATAL: bad tty" following every telnet attempt.I receive the same error even when trying to telnet to localhost on the local machine.
View 9 Replies
View Related
Sep 25, 2009
I have opened/added the ports 1812 and 1813 (both tcp & udp) for radius server in the firewall.
when i use the command : telnet localhost 1812 , the connection says "refused", i get the following messages code...
View 2 Replies
View Related
May 11, 2010
I recently installed postfix and squirrelmail. And it doesn't work.
Quote:
> telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
code....
View 1 Replies
View Related
Feb 3, 2011
I am having trouble connecting to one of the VM's through ssh from base machine all of a sudden. All I get is an error : ssh_exchange_identification: Connection closed by remote host
--IP/Hostname crossed out --
[root@XX-XX02 ~]# ssh -v 1XX.1X.5X.1XX
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008[code].....
Saying that the problem is only with ssh would be wrong as I can't seem to telnet or ftp it either. But I can ping it fine.When I try to login to that VM through console, it won't even let me login. The screen would flash for a sec and the same login prompt would reappear. I am not sure what exactly happened as it was working fine before.
OS version: CentOS release 5.5 (Final)
uname -a: Linux XX.XX 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
View 6 Replies
View Related
Aug 6, 2011
I have configured rssh 2.3 with openssh 5.8 on RHEL 5.6 64 bit to restrict the users to scp and sftp. When i try to sftp or scp it gives error connection closed. After long googling tried different solutions like add missing libraries, setuid to rssh_helper. I had full copy of /lib to /chroot/lib and /chroot/lib64 but no success. conf and log files are below for reference.
[Code]...
View 1 Replies
View Related
Aug 14, 2010
I am trying to set up postfix on my ubuntu server.When I try to login to the pop accounts through telnet
Code:
user@ubuntu1:/$ telnet localhost 110
Trying ::1...
[code]....
View 3 Replies
View Related
Apr 14, 2011
I've tried searching for this peculiar behavior, but couldn't find a solution that works for it - I have installed Redhat on my system and have a listener running on port 7878. I wanted to check if the port is accessible from a machine on the network, and so i telnet-ed from a remote machine and it worked. Now comes the weird problem - I used the same command (telnet xxx.xxx.xxx.xxx 7878) locally and it was able to telnet. However, if I try to connect using localhost, meaning, "telnet localhost 7878" or "telnet 127.0.0.1 7878", it gives me the following error:
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
Here is my /etc/hosts entry:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
[Code]....
Not sure where the problem is. I expect telnet to connect irrespective of whether i use the IP address OR localhost when i use telnet locally.
View 5 Replies
View Related
Jul 22, 2011
telnet localhost 143Trying 127.0.0.1...Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.a login rakesh@sanjiv.com rakesha NO Login failed.i have problem when Installing Courier-imap/imaps with Courierpassd .
View 1 Replies
View Related
Jun 3, 2011
I'm working on setting up access for our developer via Telnet, we are on a local network behind a physical firewall. I set up the standard Telnet service for Fedora15 and from localhost I can login via any user and root.... However I cannot login from another terminal on the LAN, even though I can ping and FTP to the fedora15 box. I added the firewall rules for telnet, that did not work, so I disabled the firewall, still cannot get a connection via port 25. I feel either port 25 is closed in another manor or the telnet is restricted to the localhost.
Also I cannot login to root to configure the Firewall Desktop GUI, only standard users, is this an issue? I also cannot login to the console as root even though I use the correct password.I can only su to root and sometimes it is a PITA. There must be some settings to clear these issues up...
View 2 Replies
View Related
Nov 4, 2009
was trying to access the server through putty, it immediately closed connection.i tried this a couple of times and still the same problem.
View 2 Replies
View Related
May 22, 2010
I have a Postfix+Dovecot and virtual users setup taken from here. I've got virtual users authenticating using a password file. But I'd like to lock the service down further, so authenticated users can only email other authenticated users (those listed in the same password file) - so it's a closed community. I don't seem to be able to stop authenticated users mailing outside the community.
View 2 Replies
View Related
Jun 16, 2011
I implemented postfix as mail gateway but i need to block the ability to send
mails via telnet
How can i achive this?
View 1 Replies
View Related
Oct 27, 2009
I am trying to get my own email server set up, and so far its been going pretty smooth, The only thing that is not working right now is receiving emails. I can send email just fine, and when they are sent they are even sent from the proper addresses, but when I try to send an email to my domain, it does not go through.
I have the port forwards set up on my router to send all traffic on port 25 over to my mail server, I can telnet to the smtp server from the localhost just fine, but when I try to telnet from another computer on my network it gives me this message
Quote:
So I ran a netstat -an on my mail server to see what ip address smtp is listening on and I get this result
Quote:
Now most guides I find for this problem just say to un comment the line in the master.cf that says "smtp inet n - - - - smtpd", the problem is that line is already uncommented and I am still not able to telnet to port 25 from any machine on my network.
Here is my main.cf, tell me if there is anything that I can do.
Quote:
View 3 Replies
View Related
May 25, 2010
I'm trying to set up a basic smtp server on my local computer that I can send basic, unencrypted email through on port 25. I installed postfix, and I chose the following options:
Internet Site,
System Mail Name: localhost
Root and postmaster mail recipient: I left this blank
For other domains to accept mail, I entered : NONE, localhost
No force synchronous mail updates
Local networks: 127.0.0.0/8
[Code].....
View 2 Replies
View Related
Oct 4, 2010
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
View 7 Replies
View Related
Dec 12, 2008
I have isntalled a server with Centos 5.2 OS, now I would like to switch from the default sendmail to postfix doing a yum install postfix I've noticed there is already available an rpm version for the OS but I would like to compile my own 2.5 version, I've noticed compiling from source does not allow me to use the mail switcher to tell to the system I'm gonna use Postfix instead of Sendmail as the default MTA while this is possible when I use the "official" rpm version of the package. Now my question is this, would this be a problem? There is some specific procedure/best practice I should follow? Or once compiled and configured Postfix I can safely disable/uninstall sendmail?
View 6 Replies
View Related
Jul 27, 2010
I am facing problem while connection to host (Red Hat Enterprise Linux ES release 4 (Nahant Update 5)) via putty.
when ever i try to connect host machine via putty/ssh, connection is established succussfully but just after few minutes it disconnectes . same is the problem if i connect using VNC. I did't made any configuration changes in recent past, earlier every thing was fine.
View 3 Replies
View Related
May 20, 2010
I'm a frequent user of the shared connection feature of SSH. Usually i have two or three connections open at the same time through the connection sharing feature, but sometimes when i try to start another i get the message "Shared connection to <server< closed". All the connection that are established through the connection sharing feature are still active and not closed, but when i try to create a new one i get that message.. i've even got that message when i have only had two connections through the shared connection feature.
I've tried to search google but it doesnt seem like anyone else has had the same kind of problem, does someone know why i sometimes get this error ?
View 1 Replies
View Related
Jul 20, 2011
As the title implies, I'm having an issue with svn, whenever I try to make an svn action, I get: svn: Network connection closed unexpectedly
I've done some Google-fu on this, and the obvious culprits don't seem to be at work. Specifically, the svn server does not use a nonstandard port, and I'm not using Tortoise SVN or putty, just going directly from the command line. Additionally, I was able to use the server as recently as this morning and no coworkers are having problems.
View 1 Replies
View Related
Jan 7, 2011
I have a weird problem with ssh, I am trying to ssh to a solaris server (sparc) running solaris 10 from my Ubuntu box and as soon as it authenticates the password it closes the connection. The box is located on a internal network in a wiring closet with no ability for me to access console but i still have a working ssh session from 2 days ago with what i'm trying to comb through settings and trying to resolve the issue. It also has 2 NIC's and I cannot connect to the either ruling out hardware problem. I checked if there is a limit of the number of active connections and the was no limit. I was able to connect mitiple session till 2 days ago (at one point i had on my machine 8 active ssh sessions to the same server).
Here is the output of ssh -vvv:
Code: $ ssh -vvv -l user1 10.100.xxxxx
OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0 .....
debug3: channel 0: close_fds r -1 w -1 e 6
Connection to 10.100.50.4 closed.
Transferred: sent 1768, received 1688 bytes, in 0.1 seconds
Bytes per second: sent 12077.9, received 11531.4
debug1: Exit status 254
View 1 Replies
View Related
Jul 2, 2011
I'm using Ubuntu 11.04. I've bought an account in a SSH sever.
Code:
loveright 02:41:54 ~$ ssh gqqnb@205.185.123.107
gqqnb@205.185.123.107's password:
Last login: Sat Jul 2 14:41:53 2011 from 123.137.120.69
Connection to 205.185.123.107 closed.
[Code].....
View 3 Replies
View Related
Sep 4, 2011
setting up an SFTP server on debian, all the way down through step 3, though I did not "Match Group" I did Match User as I only need 1 user to have access to the SFTP server(did not continue on to step 4 and beyond as they did not apply to me) Im getting the error:
connection closed by server with exitcode 141
I get this when trying to log in via filezilla. I actually only got the 141 error on the first attempt, any attempts after that just says "could not connect to server". Username and password authentication goes through, so it is not a login info issue.Im running Debian squeeze, and that guide was for Lenny, that shouldnt matter, I dont think.
View 1 Replies
View Related
Aug 8, 2010
I have installed Fedora 13 and updated it. I simply cant use ssh to connect to this Fedora, not even locally. I have enabled port22 in firewall settings and nothing. Tried to disable firewall completely and nothing. I have disabled SELinux (not sure if it has something to do with this, but... ) and nothing. Entered "ALL: ALL" in /etc/hosts.allow and still nothing. Dont know what to do anymore.
Here is what happens when I try to ssh to this machine, even from it:
[flibio@surf ~]$ ssh localhost
warning: Need basic cursor movement capability, using vt100
flibio's password:
Authentication successful.
Disconnected; connection lost (Connection closed.).
Connection to localhost closed.
[flibio@surf ~]$
Looking into Services > sshd and it says "This service is dead."
So I tried:
[root@surf etc]# service sshd restart
Stopping sshd: [FAILED]
Starting sshd: : OpenSSH_5.4p1 on
: FATAL: Creating listener failed: port 22 probably already in use! .....
And still I get disconnected whenever I try to ssh to this machine from anywhere. Services says that sshd is allways dead, even restarting it but I can only restart it by doing a pkill sshd before.
View 7 Replies
View Related
Jul 4, 2011
In my case, it occurs intermittently when trying to connect using putty's command line client 'plink.exe' to a linux machine using ssh. For some testing purposes, a linux server is setup with 8K virtual ip addresses and the testing scripts will connect to these ip addresses through ssh using plink.exe. There will be concurrently 25 ssh sessions launched to the server. While it works for sometimes, it throws 'server unexpectedly closed network connection' error intermittently. If the same ip address is tried again manually, it works. While the ssh server is accepting connections, this error is thrown sometimes and unable to find out the reason from the logs. It is not that the ssh connection is completely blocked. It gives this error message while connecting to some of the virtual ip addresses but works some times.
The hosts.deny, sshd_config are tuned to allow the connections, allow more sessions etc.
View 2 Replies
View Related
Jun 9, 2010
I am using a PC to telnet into a Lucid Lynx Ubuntu system, and trying to record audio via a microphone which is connected to the Ubuntu system, and play it back on the PC. The microphone works when recording and playing directly on the Ubuntu system (so I know it's not hardware), but not when recording over the telnet connection. Playing other audio files does work over the telnet connection (so once again, I know it's not hardware), it's just the recording that doesn't work.
So basically it's just the audio-in over the telnet connection that Ubuntu isn't liking.
I tried removing PulseAudio (as I had a Fedora system that I had to do this with also, and that was the fix for that system), but apparently recording doesn't work at all in Ubuntu without it, as the microphone wouldn't work directly on the system anymore after in removed it. So I reinstalled it, but I am still stuck.
I cannot use any other programs to accomplish this - and I don't think I have to, I believe something is just messed up somewhere that is not allowing my microphone to pick up sound over the telnet connection, but I don't know what it is.
View 1 Replies
View Related
May 23, 2011
I have CENTOS 5.4 Installed in one machine and i used Real IP provided by our ISP.My requirements for Mailserver are:
Dovecot
Postfix
everythings done but when i tried to telnet my External IP it giving me an error of telnet connection refused but i can able to ssh to my external IP and also i disabled the firewall but still no luck.
View 12 Replies
View Related
Nov 7, 2010
I have recently installed fedora 14 and configured vpn to access my work network. I need to access some windows machines which although I can ping I cannot remote desktop into. When I go to Applications>Internet> Remote Desktop Viewer and put in the machine name (either just the machine name or the FQDN including the domain name) I get an error "Connection to <machinename> was closed".
View 4 Replies
View Related
Jun 15, 2011
i try to connect to a specific ip address with ssh i have installed the ssh server and client. i also try it by connecting with localhost without any problem. But i keep taking this message if to try to connect to the ip address. i checked my hosts.allow and hosts.deny files and all are commented in there (i think tha this should not be the problem).
View 2 Replies
View Related