LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-10-2008, 03:03 PM   #1
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
Postfix setup onMandriva 2008.1


Im trying to get an inhouse email server going using postfix which I have never done before. all of the examples Ive found want you to test the postfix setup with telnet. I can get telnet server started with "chkconfig telnet on", but when i try to test postfix with telnet, "telnet localhost 25" it hangs as if the connection isnt allowed, but I get no errors. when I try to telnet in remotely, it says unencrypted connections are not allowed and closes the connection, even though telnet is running. is there anything else I can use besides telnet to test postfix, or can I temporarily enable unencrypted connections ? how ?
 
Old 10-10-2008, 03:50 PM   #2
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Rep: Reputation: 30
Have you considered using OpenSSH?

http://www.openssh.com/

I'm not sure what distro you are using but I'm sure that you have found that there are a lot of posts in distro forums relating to this problem;

http://ubuntuforums.org/showthread.php?t=477234

also;

http://postfix.cloud9.net/faq.html (search for telnet)

Hope this helps...
 
Old 10-10-2008, 04:15 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You don't need the telnet server - you test with the telnet client. Turn the server back off.

So start postfix (or whatever), and telnet localhost 25 as per the instructions

All you are trying to do is see what responses the server give. Telnet client is simply pretending to be a mail client.

Check your mail logs to see if there is any record of a dialogue.

Is postfix running ("netstat -nalp | grep :25" will tell you)
 
Old 10-10-2008, 04:20 PM   #4
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
mandriva 2008.1

thanks for the replies,

[root@mailweb mail]# netstat -nal | grep :25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN

Last edited by explorer; 10-10-2008 at 04:38 PM.
 
Old 10-10-2008, 04:42 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
OK, so it's there.

What is the exact dialogue if you try

telnet localhost 25?

Here's what you should expect

Code:
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 server.example.com ESMTP Postfix
Type "quit" to exit.
 
Old 10-12-2008, 12:14 AM   #6
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
mailserver is working

thanks billy. I guess I didn't realize that the connection was good and it was waiting for me to enter a command. Like I said, I didn't have any experience with setting up a mailserver. Anyway, I found a guide, especially for mandriva at the link below. Once I followed the setup from this web page I got my mail server going and now I kind of see how it all works. Here is the link for anyone else looking to setup a mailserver...

http://www.howtoforge.com/perfect-se...riva-2008.1-p5


just scroll down about 1/4 of the way down the page to the heading:
"11 Postfix With SMTP-AUTH And TLS; Dovecot"

and follow all of the steps and it should work with no problem...

Again, thank you all...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Virtual Users & Domains With Postfix, MySQL & SquirrelMail (Mandriva 2008.1) LXer Syndicated Linux News 0 04-15-2008 04:20 PM
LXer: Virtual Users And Domains With Postfix, Courier And MySQL (Mandriva 2008.0) LXer Syndicated Linux News 0 01-15-2008 11:30 AM
DNS setup problems on mandriva 2008. rushadrenaline Mandriva 1 11-19-2007 10:25 AM
Postfix setup help Charles Daniel Linux - Security 4 10-31-2004 12:24 PM
Postfix Setup Help shaggystyle Linux - Newbie 1 12-22-2003 12:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration