Telnet troubles
Hi all
I'm quiet new to setting up a email server, I've been following this link http://postfix.state-of-mind.de/patr...ilclients.html I'm up too step 12.3. Check for SMTP AUTH support I dont seem to be able to pull up the Telnet commands the EHLO command doesn't seem to work, I'm at alost to why. is there some thing I should check would any one have any idea please. TT |
what is the error?!
maybe log entries? |
I dont know if there is a error
I'm able to send mail to any user within the system or to the out side from the command line or using MUTT. beside that I cant get my XP telnet to run those commands 12.3. Check for SMTP AUTH support http://postfix.state-of-mind.de/patr...ilclients.html TT |
some mail servers use HELO instead of EHLO, but most of the popular ones use both...
|
ok if its port 25 I should contect to then here is my message
Code:
telnet 192.168.1.10 25 TT |
Is there a firewall of any kind between the computer you are using and the server running the mail server? Or is postfix configured to allow incoming connections from outside computers?
Your telnet command is correct, and postfix will be using the same address as the server. The only thing I can say is that something is blocking remote connections to the server on port 25, so once you find what is causing that, and correct the problem you will be able to telnet. |
Yes I do have a fire wall.
I use the command like so to get in system-config-securitylevel Allow incoming: I have ticked Telnet and Mail /etc/sysconfig/iptables say the following -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 23 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT TT |
You will also need to allow connctions to go out on the OUTPUT chains as well
MAybe something like: /sbin/iptables -A OUTPUT -m -state --state ESTABLISHED,RELATED -p tcp --dport 23 -j ACCEPT /sbin/iptables -A OUTPUT -m -state --state ESTABLISHED,RELATED -p tcp --dport 25 -j ACCEPT |
Ok here is whats going on
the only way I can telnet is like so telnet localhost 25 and it logs me in ok using telnet IP address 25 nothing happens TT |
does this look right, becuase I'm not getting any mail
Code:
telnet localhost 25 |
ok I got a bit furter now
12.4. Check if SMTP AUTH works http://postfix.state-of-mind.de/patr...ilclients.html why am i getting this error message 535 Error: authentication failed after following the above step's Code:
telnet localhost 25 # perl -MMIME::Base64 -e 'print encode_base64("test\0test\0testpass");' to recive this dGVzdAB0ZXN0AHRlc3RwYXNz TT |
Think postfix is only running on 127.0.0.1 and not on the other ip addresses configured on your machine(you can check with: netstat -na|grep 25).
|
Thanks for that pk21
Code:
netstat -na|grep 25 if you know of another tutorial I can work from please post the link. My system is tinysofa enterprise server release 2.0 Update 1 (Odin) and I'm reading the tutorial, Postfix SMTP AUTH (and TLS) HOWTO http://postfix.state-of-mind.de/patr...uth/index.html So in the long run,I may be able to run a email server for our site. I know its out of date but I haven't found a updated copy of that tutorial, I aslo my my files are newer than the ones on the tutorial, is that going to make a difference :confused: Any help would be great. TT |
OK this is not going to help out with your problem but I thought I might mention to you so you may have another option should getting the mail server turn out to be a headache. There is a great mail server distro called SME server, it is a full featured mail server that installs straight of the disc, very easy to follow the installation
It has a web-based interface for administration and has a host of features. The company Mitel had 2 versions, a free version and a commercial version. They drop the free version and Contribs.org picked up the free version and continue to bring out updated versions. The only thing with it is it runs on a dedicated machine, it cannot reside along side another operating system. |
Thank you fotoguy
I downloaded it today TT |
Quote:
Glad too help, up until 5 weeks ago I had been running SME server for about 18 months and it never had any problems. There are some addons that people have made for it as well. There is an anti-virus and anti-spam addon for it that works very well. |
I love this how-to email server setup. It is wonderfully written, super easy to follow, and allows even the newest of noob to complete it, as it has everything written out for you. As you'll see, it has specific instructions for debian/dedrat/slack, as well as BSD and a few more. Great great site.
http://qmailrocks.org peace, JimBass |
All times are GMT -5. The time now is 11:56 AM. |