LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-13-2004, 11:11 PM   #1
mdpolaris
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
Postfix configuration help.


I could really use some help with postfix. I have been scouring the web for help files and tutorials and have had no real luck. I am running mandrake 10, which came with postfix loaded on the install. I installed ipop3 and that appears to be working. I can telnet to the server on port 110, however I get a connection refused error when I try port 25. I can telnet from the linux machine to itself by using telent localhost 25. Here is a list of my concerns.

Should I have named this machine something other than the default localhost? I have a domain registered pointing to the box. What should my /etc/hosts file look like? It looks something like:

127.0.0.1 localhost


Using the firewall GUI in mandrake 10 I have mail server selected as a port to open, it has worked with every other server including the pop so i have no reason to believe the firewall is causing the error. Is there a way to get the OS to list all the open ports to verify this?

I am using webmin to help configure some of this stuff as well.

Let me know what else to post to help you figure this out. Thanks.
Mike
 
Old 05-14-2004, 10:40 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It sounds like postfix is not running.

check with this command

netstat -lt |grep smtp
tcp 0 0 zeus.dcphillips.net:smtp *:* LISTEN


If that's ok try to telnet in from the mailserver machine itself.

Postfix may ot be configured to listen on all interfaces if it works locally only



/var/log/maillog and /var/log/messages should tell you if there is any error.

Last edited by DavidPhillips; 05-14-2004 at 10:44 PM.
 
Old 05-16-2004, 10:11 AM   #3
mdpolaris
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Hey thanks for the help. I verfied that postfix was running, however in the log file for the mail server I saw that the aliases database was not being opened. Turns out the main.cf file was pointing to the wrong location. Kind of weird that it was wrong since it was a default install from the mandrake setup. I am now able to telnet into the server and type in some commands manually. I will try with the clients at a later date, but I feel that the battle is won!! Thanks again. I will reply to this thread if something else pops up.
Mike
 
Old 05-16-2004, 11:20 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
cool
 
Old 06-01-2004, 10:33 AM   #5
TuxLives
Member
 
Registered: Sep 2003
Location: Tacoma, WA
Distribution: Mandriva all the way
Posts: 145

Rep: Reputation: 15
Hey, so where did you find that yours was pointing to the wrong place and where did you change it?
 
Old 06-01-2004, 12:40 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
If your having a problem with postfix starting check the log files. You can also look at the main.cf and confirm that all of the filenames that are written in the file are correct by checking to see that the files exist in the path given.
 
Old 06-01-2004, 12:57 PM   #7
mdpolaris
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I think I also had to make sure the process was run under a user that had the correct privaledge to access the files. Aother than that, as mentioned by David, check the log file to see what errors occur while starting.
 
Old 10-06-2006, 02:31 AM   #8
vamsi_t
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Question Post Fix Configuration

Hi all

I am a Linux

can Some body help me to figure out the configuration of Postfix..

I have installed the postfix and it is running ..]

But the email is not being delivered..

My situation is to set

Localhost as hostname and to send mails to yahoo.com,Hotmail.com etc..in the Internet..

Please help me.

thanks in Advance..

Vamsi.T
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
postfix configuration jkmartha Linux - Newbie 1 04-22-2005 02:29 AM
PostFix Configuration triki Linux - Software 4 12-14-2003 01:08 PM
postfix configuration argh2005 Linux - Software 3 08-31-2003 03:33 PM
postfix configuration argh2005 Linux - Networking 0 08-30-2003 10:35 PM
Postfix configuration EdwinNameless Linux - Software 0 07-18-2003 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 PM.

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