Dear Steve Lawrence,
Well, post fix IS already running.
The first command, /usr/sbin/postfix start 2 -c /etc/postfix.in, starts postfix. When the second command, /usr/sbin/postfix start 2 -c /etc/postfix is executed, it fails because postfix is running. Postfix was started by the first command. As I pointed out in my earlier post, I did check to ensure postfix was not running via the command ps -ef | grep postfix.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of S Karthikeyan Sent: Thursday, April 22, 2004 11:11 PM To: Steve Lawrence Cc: [EMAIL PROTECTED] Subject: Re: [Opencomputing-openprotect] Can't get 2 postfix process to start.
Dear Steve Lawrence,
> I thought about that as well, I stopped all postfix processes, checking > via ps -ef | grep postfix to ensure no other processes where running. I > had a look at the /etc/init.d/openprotect start section, revealing that > the start up script calls this: > > /usr/sbin/postfix start 2 -c /etc/postfix.in > /usr/sbin/postfix start 2 -c /etc/postfix > > I then ran that manually. The first line start up postfix, the second > line generates an error in /var/log/mail/error "postfix is already > running" > > I have tried this on two mandrake server, mandrake 7.2 and mandrake 9.1 > with the same result. > > I ran the line : > > postfix -c /etc/postfix.in start; postfix start > postfix/postfix-script: starting the Postfix mail system > postfix/postfix-script: fatal: the Postfix mail system is already > running
If it says, postfix is already running, then there must be a postfix process running with /etc/postfix as its conf dir. May be you can try, "postfix stop;postfix -c /etc/postfix.in stop". Then, "ps -ef | grep postfix" to ensure that no postfix process is running and then "postfix -c /etc/postfix.in start; postfix -c /etc/postfix start; check_mailscanner". Now, it should work.
cheers Karthikeyan, S.
Seems the smtp service in /etc/postfix/master.cf is not commented out. So, it tries to listen on port 25 which is already in use by the /etc/postfix.in process. Should look something like this in /etc/postfix/master.cf:
#Commented to filter SMTP by openprotect #smtp inet n - n - - smtpd
cheers, Karthikeyan, S. -- S.Karthikeyan | Ph: +91 (0) 44 52166646 Fax: +91 (0) 44 52075597 Opencomputing Technologies | http://opencompt.com Server Side E-Mail Protection.
