LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-23-2004, 09:17 AM   #1
to3t3r
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
Problems with postfix 2.1.1


Eey Guys,

I've got some problems with postfix and working on it for days now. I've googled my a$$ off and wanted ask u what may be the problem is. Here it goes

- Mandrake 10
- Postfix 2.1.1
- Webmin 1.170

I've got a domain registered like blaat.com ( I will not advertise ). All i wanted is a simple mailserver so all of my clan members can have there own mailaccount with there clanname ( domain ). So i used postfix so it came with mandrake 10. I installed webmin and configured apache / mysql etc. went like a charm. Now i wanted to start postfix and it came with all kinds of errors like " File not owned by root " " Not a qualified hostname " etc. So i fixed most of the errors.. Now when i start postfix using webmin it says " Stop Postfix" but when i refresh it says " Start Postfix " again. So i started it with an console. Postfix start.

" postfix/postfix-script: starting the Postfix mail system "

I don't see it running using the command ps -aux. I've tried everything but i'm hopelss now.. i've anyone got any idea please help. I tried to configure main.cf etc. no work... I reinstalled Postfix and updated again etc..

Thanks in advance ( And sorry for my bad english )
 
Old 11-23-2004, 09:43 AM   #2
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
need more info

what's the output of
postconf -n


what's the output of
cat /var/log/maillog > maillog_errors.txt
 
Old 11-23-2004, 10:03 AM   #3
to3t3r
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Original Poster
Rep: Reputation: 15
[root@Server root]# postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
delay_warning_time = 4h
html_directory = /usr/share/doc/postfix-2.1.1/html
inet_interfaces = localhost
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = shizzles.nl
myhostname = localhost
mynetworks_style = host
myorigin = shizzles.nl
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.1.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
unknown_local_recipient_reject_code = 450
[root@Server root]#






Nov 23 10:12:41 Server postfix/local[27354]: fatal: open database /var/lib/mailman/data/aliases.db: No such file or directory
Nov 23 10:13:42 Server postfix/local[27786]: fatal: open database /var/lib/mailman/data/aliases.db: No such file or directory
Nov 23 10:15:29 Server postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 23 10:15:31 Server postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 23 10:24:45 Server postfix/sendmail[5243]: fatal: usage: sendmail [options]
Nov 23 15:37:25 Server postfix/postqueue[9919]: fatal: Cannot flush mail queue - mail system is down
Nov 23 15:38:10 Server postfix/postqueue[10494]: fatal: Cannot flush mail queue - mail system is down
Nov 23 10:39:43 Server postfix/master[10670]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 15:40:03 Server postfix/postqueue[10890]: fatal: Cannot flush mail queue - mail system is down
Nov 23 15:41:11 Server postfix/postqueue[10928]: fatal: Cannot flush mail queue - mail system is down
Nov 23 10:41:34 Server postfix/master[11176]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:41:48 Server postfix/master[11415]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:43:37 Server postfix/master[11812]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:44:36 Server postfix/master[12441]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:45:51 Server postfix/master[12528]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 15:47:47 Server postfix/postqueue[12656]: fatal: Cannot flush mail queue - mail system is down
Nov 23 10:50:48 Server postfix/master[12769]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:51:15 Server postfix/master[12852]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:51:21 Server postfix/master[12925]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:52:02 Server postfix/master[13006]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:52:27 Server postfix/master[13252]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 15:52:32 Server postfix/postqueue[13335]: fatal: Cannot flush mail queue - mail system is down
Nov 23 10:55:15 Server postfix/master[13805]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:55:33 Server postfix[13978]: fatal: usage: postfix [-c config_dir] [-Dv] command
Nov 23 10:55:37 Server postfix/master[14039]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:55:59 Server postfix/master[14101]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:56:43 Server postfix/master[14172]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:57:35 Server postfix/master[14471]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:57:39 Server postfix/master[14694]: fatal: bind 127.0.0.1 port 25: Address already in use
Nov 23 10:57:59 Server postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 23 10:58:03 Server postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 23 11:13:41 Server postfix/master[15433]: fatal: bind 127.0.0.1 port 25: Address already in use

Adress already in use ?
 
Old 11-23-2004, 10:37 AM   #4
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
first issue to

your port is taken. is it possible you have sendmail installed? what is the result of rpm -qa sendmail? if you are not using it you should delete it. check the how-to's at the postfix.org website. they generally tell you to uninstall sendmail before you try to install postfix.

rpm -e sendmail*

regarding configuration:
Quote:
Not a qualified hostname
e.g. mail.yourdomain.com

your computer has to have a fully qualified domain name advertised. for example, dig mail.speakeasy.net. server's have to be able to find you. that means you have to have a DNS server with the correct entries, too.

Quote:
inet_interfaces = localhost
you are only listening on 127.0.0.1 (your local host for things like emails about system processes for the root user).

vi /etc/postfix/main.cf
(browse to the inet_interfaces = localhost setting and use the examples in the file to set up the correct interfaces to listen on. if memory serves there is an "all" option that should cover you if you have any doubts.

if you have other questions, you probably need to talk to someone who knows the program. go to postfix.org and find out how to subscribe to their maillist. the good news: your post will be answered by someone incredibly knowledgeable about the program; the bad news poorly worded questions will get you flamed).

Last edited by rioguia; 11-23-2004 at 10:47 AM.
 
Old 11-23-2004, 11:50 AM   #5
to3t3r
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for your time rioguia. It sendinging mail and i have no errors what so all

It's only not receiving mail. I'm waiting for the failure delivery msg so i can check what error it gives.
 
Old 11-23-2004, 12:08 PM   #6
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
good luck

Quote:
It's only not receiving mail. I


Quote:
/var/lib/mailman/data/aliases.db: No such file or directory
your error logs show some good places to look. you need aliases unless your users are getting their mail as there linux usernames.



Quote:
File not owned by root
is postfix running in chroot? that might explain this type of message. regardless, when you post your log, it would be a good idea to repost your postconf -n

PS:
you say you are not receiving mail and that may be so. but remember, postfix is only part of this process. you need to consider your pop or imap server, etc. ie, you also may be receving it but not accessing it. if you don't see any errors in your maillog, you might want to consider those possibilities.

Last edited by rioguia; 11-23-2004 at 12:10 PM.
 
  


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
Postfix problems elitenoob Linux - Newbie 2 05-30-2005 11:31 PM
Postfix on 10.1 problems barrys Mandriva 0 10-27-2004 10:02 AM
Postfix Problems Ronw Mandriva 4 02-26-2004 01:20 PM
Postfix problems razptutin Linux - Networking 3 09-10-2003 08:20 AM
problems with postfix for RH 8.0 mongoose Linux - Distributions 1 03-11-2003 08:50 AM

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

All times are GMT -5. The time now is 08:04 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