Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 961
Original Poster
Rep:
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
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 961
Original Poster
Rep:
does this look right, becuase I'm not getting any mail
Code:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.mydomain.com ESMTP Postfix (2.1.5)
EHLO mydomain.com
250-mail.mydomain.com
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-AUTH DIGEST-MD5 LOGIN PLAIN GSSAPI CRAM-MD5 NTLM
250-AUTH=DIGEST-MD5 LOGIN PLAIN GSSAPI CRAM-MD5 NTLM
250 8BITMIME
MAIL FROM:<howto@domain.com>
250 Ok
RCPT TO:<test@mydomain.com>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Test from remote host
Test #2
.
250 Ok: queued as A2D7E3201BC
QUIT
221 Bye
Connection closed by foreign host.
TT
Last edited by tommytomato; 05-10-2006 at 03:14 AM.
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
Any help would be great.
TT
Last edited by tommytomato; 05-10-2006 at 07:12 PM.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.