Re: Starting postfix at boot time on Centos 7

2016-02-26 Thread Peter
On 25/02/16 06:25, i...@itrezero.it wrote: > I compiled postfix 3.0.3 from source code but (maybe a stupid question)… > don’t know how to start it at boot of a Centos 7 machine! > > Tried with “chkconfig” and “systemctl” without any results! > > How can I do this? Is there a “postfix.service” to

R: Starting postfix at boot time on Centos 7

2016-02-25 Thread info
: mercoledì 24 febbraio 2016 18:32 A: i...@itrezero.it; postfix-users@postfix.org Oggetto: RE: Starting postfix at boot time on Centos 7 Not sure if this will help, but a Google search returned this link: <https://www.digitalocean.com/community/tutorials/how-to-configure-a-linux-service

Re: Starting postfix at boot time on Centos 7

2016-02-24 Thread Danny Horne
This command should just read rpm -Uvh --nodeps $(repoquery --location postfix-sysvinit) On 24/02/2016 5:48 pm, Danny Horne wrote: > rpm -Uvh --nodeps $(repoquery --location postfix-sysvinit) signature.asc Description: OpenPGP digital signature

Re: Starting postfix at boot time on Centos 7

2016-02-24 Thread Danny Horne
Because you installed for source rather than through Yum, you haven't got the System V init scripts. If you try to install these via Yum it'll want to install Postfix as well, to avoid that run - |rpm -Uvh --nodeps $(repoquery --location postfix-sysvinit)| Then you'll be able to run - systemctl

Re: Starting postfix at boot time on Centos 7

2016-02-24 Thread Mike Coddington
On Wed, Feb 24, 2016 at 06:25:08PM +0100, i...@itrezero.it wrote: > Hi all. > > I compiled postfix 3.0.3 from source code but (maybe a stupid question). > don't know how to start it at boot of a Centos 7 machine! > > Tried with "chkconfig" and "systemctl" without any results! > > How can I do th

RE: Starting postfix at boot time on Centos 7

2016-02-24 Thread Wolfe, Robert
...@postfix.org] On Behalf Of i...@itrezero.it Sent: Wednesday, February 24, 2016 11:25 AM To: postfix-users@postfix.org Subject: Starting postfix at boot time on Centos 7 Hi all. I compiled postfix 3.0.3 from source code but (maybe a stupid question)… don’t know how to start it at boot of a Centos 7

Starting postfix at boot time on Centos 7

2016-02-24 Thread info
Hi all. I compiled postfix 3.0.3 from source code but (maybe a stupid question). don't know how to start it at boot of a Centos 7 machine! Tried with "chkconfig" and "systemctl" without any results! How can I do this? Is there a "postfix.service" to be enabled with systemctl? Thank you very muc

Re: Starting postfix

2011-02-27 Thread Stan Hoeppner
Patrick Ben Koetter put forth on 2/25/2011 4:20 PM: > * lst_ho...@kwsoft.de : >> Zitat von Wietse Venema : >>> This is now running on an Ubuntu virtual machine. >> >> Cool... >> And BTW i also have never seen Postfix die. It is one of the most >> stable non-trivial software systems i have seen unti

Re: Starting postfix

2011-02-26 Thread Larry Stone
On 2/26/11 2:06 AM, Christian Roessner at c+postfix_org...@roessner-network-solutions.com wrote: > Am Samstag, den 26.02.2011, 08:51 +0100 schrieb Christian Roessner: >> Hi, >> >>> This got my attention because I run the Apple provided Postfix (2.5.5) on >>> Mac OS X client (10.6.6 specifically).

Re: Starting postfix

2011-02-26 Thread Christian Roessner
Am Samstag, den 26.02.2011, 08:51 +0100 schrieb Christian Roessner: > Hi, > > > This got my attention because I run the Apple provided Postfix (2.5.5) on > > Mac OS X client (10.6.6 specifically). What do you know - when I look at the > > launchctl plist Apple provides to start Postfix, it does s

Re: Starting postfix

2011-02-25 Thread Christian Roessner
Hi, > This got my attention because I run the Apple provided Postfix (2.5.5) on > Mac OS X client (10.6.6 specifically). What do you know - when I look at the > launchctl plist Apple provides to start Postfix, it does so by running > master directly. Thanks Apple! Calling /usr/libexec/postfix/mas

Re: Starting postfix

2011-02-25 Thread john
The operative words are desktop computer, the problem it would seem to me, is that Upstart is being used in an environment for which it has not been designed and is trying to solve problems that do not occur on a server. Perhaps we need to point this out to the good folks at Ubuntu etc. jut my

Re: Starting postfix

2011-02-25 Thread Wietse Venema
Larry Stone: > On 2/25/11 6:45 AM, Christian Roessner at > c+postfix_org...@roessner-network-solutions.com wrote: > > > That postfix must not be started directly by calling master should also > > be documented in the master man page, as people like me (and my idea was > > based on Apple's practise

Re: Starting postfix

2011-02-25 Thread Larry Stone
On 2/25/11 6:45 AM, Christian Roessner at c+postfix_org...@roessner-network-solutions.com wrote: > That postfix must not be started directly by calling master should also > be documented in the master man page, as people like me (and my idea was > based on Apple's practise, like they DO START post

Re: Starting postfix

2011-02-25 Thread Patrick Ben Koetter
* lst_ho...@kwsoft.de : > Zitat von Wietse Venema : > >This is now running on an Ubuntu virtual machine. > > Cool... > And BTW i also have never seen Postfix die. It is one of the most > stable non-trivial software systems i have seen until now. Postfix is frustrating. At first tt's fun because i

Re: Starting postfix

2011-02-25 Thread lst_hoe02
Zitat von Wietse Venema : Christian Roessner: This is, what I learned. So now my question: what do you have in mind Wietse, if you say, you may provide something? Do not get me wrong I have written a "postfix upstart" command as described below. This can automatically respawn Postfix in sing

Re: Starting postfix

2011-02-25 Thread Wietse Venema
Christian Roessner: > This is, what I learned. So now my question: what do you have in mind > Wietse, if you say, you may provide something? Do not get me wrong I have written a "postfix upstart" command as described below. This can automatically respawn Postfix in single instance mode (even if I

Re: Starting postfix

2011-02-25 Thread Christian Roessner
Hi, > That was the construct i tried to explain. A wrapper/pacifier whatever > is needed which does not terminate but does nothing until a "stop" or > some other event arrives. > > > They should not start and stop the master directly. Among other > > things, that does not work with multi-in

Re: Starting postfix

2011-02-25 Thread lst_hoe02
Zitat von Wietse Venema : lst_ho...@kwsoft.de: Zitat von Wietse Venema : > Wietse Venema: >> lst_ho...@kwsoft.de: >> > Zitat von Wietse Venema : >> > >> > > lst_ho...@kwsoft.de: >> > >> The "problem" is more of that distribution like Ubuntu and Redhat are >> > >> moving to "upstart" for boo

Re: Starting postfix

2011-02-25 Thread Wietse Venema
Christian Roessner: > Hi, > > > > > Postfix "job" script: > > > > > > > > pre-start exec postfix start > > > > post-stop exec postfix stop > > > > > > > > With this, the system will do the work for them, and everything > > > > uses stable documented interfaces. > > sorry Wietse, i

Re: Starting postfix

2011-02-25 Thread Christian Roessner
Hi, > > > Postfix "job" script: > > > > > > pre-start exec postfix start > > > post-stop exec postfix stop > > > > > > With this, the system will do the work for them, and everything > > > uses stable documented interfaces. sorry Wietse, if it really would have been so easy, I nev

Re: Starting postfix

2011-02-25 Thread Wietse Venema
lst_ho...@kwsoft.de: > Zitat von Wietse Venema : > > > Wietse Venema: > >> lst_ho...@kwsoft.de: > >> > Zitat von Wietse Venema : > >> > > >> > > lst_ho...@kwsoft.de: > >> > >> The "problem" is more of that distribution like Ubuntu and Redhat are > >> > >> moving to "upstart" for boot and starting

Re: Starting postfix

2011-02-25 Thread Daniel Bromberg
On 2/25/2011 8:16 AM, Wietse Venema wrote: The problem with this approach is that Postfix is not one program, like named, apache, etc., and that simply starting one master daemon is insufficient as it skips all the start-up repair and sanity checks. That's why i said it may be useful to have a s

Re: Starting postfix

2011-02-25 Thread Gábor Lénárt
On Fri, Feb 25, 2011 at 03:08:51PM +0100, lst_ho...@kwsoft.de wrote: [...] > >Is there any reason they can't do this: > > > >Postfix "job" script: > > > > pre-start exec postfix start > > post-stop exec postfix stop > > > >With this, the system will do the work for them, and everythin

Re: Starting postfix

2011-02-25 Thread lst_hoe02
Zitat von Wietse Venema : Wietse Venema: lst_ho...@kwsoft.de: > Zitat von Wietse Venema : > > > lst_ho...@kwsoft.de: > >> The "problem" is more of that distribution like Ubuntu and Redhat are > >> moving to "upstart" for boot and starting services/daemons. The main > >> difference for the start

Re: Starting postfix

2011-02-25 Thread Wietse Venema
Wietse Venema: > lst_ho...@kwsoft.de: > > Zitat von Wietse Venema : > > > > > lst_ho...@kwsoft.de: > > >> The "problem" is more of that distribution like Ubuntu and Redhat are > > >> moving to "upstart" for boot and starting services/daemons. The main > > >> difference for the started services is

Re: Starting postfix

2011-02-25 Thread Wietse Venema
lst_ho...@kwsoft.de: > Zitat von Wietse Venema : > > > lst_ho...@kwsoft.de: > >> The "problem" is more of that distribution like Ubuntu and Redhat are > >> moving to "upstart" for boot and starting services/daemons. The main > >> difference for the started services is that upstart need the program

Re: Starting postfix

2011-02-25 Thread Christian Roessner
Hi, > That's why i said it may be useful to have a simple > "dispatcher/wrapper" which only is started to call "postfix start" and > keeps running to keep upstart happy and calls "postfix stop/restart" > when advised to do so by upstart. With this the supported way of > starting/stopping i

Re: Starting postfix

2011-02-25 Thread lst_hoe02
Zitat von Wietse Venema : lst_ho...@kwsoft.de: The "problem" is more of that distribution like Ubuntu and Redhat are moving to "upstart" for boot and starting services/daemons. The main difference for the started services is that upstart need the program to *not* daemonize or terminate itself b

Re: Starting postfix

2011-02-25 Thread Wietse Venema
lst_ho...@kwsoft.de: > The "problem" is more of that distribution like Ubuntu and Redhat are > moving to "upstart" for boot and starting services/daemons. The main > difference for the started services is that upstart need the program > to *not* daemonize or terminate itself because status is

Re: Starting postfix

2011-02-25 Thread Christian Roessner
Hi, > The "problem" is more of that distribution like Ubuntu and Redhat are > moving to "upstart" for boot and starting services/daemons. The main > difference for the started services is that upstart need the program > to *not* daemonize or terminate itself because status is checked > di

Re: Starting postfix

2011-02-25 Thread lst_hoe02
Zitat von Victor Duchovni : On Fri, Feb 25, 2011 at 12:58:22AM +0100, Christian Roessner wrote: I am currently preparing an upstart script for Ubuntu. I tried several ways do use /usr/sbin/postfix, but I never would get the master PID. So I looked at the postfix.c code. There is a no single

Re: Starting postfix

2011-02-24 Thread Victor Duchovni
On Fri, Feb 25, 2011 at 12:58:22AM +0100, Christian Roessner wrote: > I am currently preparing an upstart script for Ubuntu. I tried several > ways do use /usr/sbin/postfix, but I never would get the master PID. So > I looked at the postfix.c code. There is a no single "master pid". A fully-gener

Re: Starting postfix

2011-02-24 Thread Wietse Venema
Christian Roessner: > > If you must persist along this path then I request that you stop > > distributing Postfix. I will get all the complaints about the things > > that you break, and I will have to deal with the consequences for > > Postfix's reputation. > > Don't fear it. I am not going to do

Re: Starting postfix

2011-02-24 Thread Christian Roessner
> If you must persist along this path then I request that you stop > distributing Postfix. I will get all the complaints about the things > that you break, and I will have to deal with the consequences for > Postfix's reputation. Don't fear it. I am not going to do something that breaks postfix. T

Re: Starting postfix

2011-02-24 Thread Wietse Venema
Christian Roessner: > Hi, > > > The only supported way to start Postfix is "postfix start", using > > the commands provided with /etc/postfix/postfix-script. > > > > DO NOT TINKER WITH THIS. > > > > SUSE people discovered years ago that their home-grown approach to > > stop Postfix would termi

Re: Starting postfix

2011-02-24 Thread Christian Roessner
Hi, > The only supported way to start Postfix is "postfix start", using > the commands provided with /etc/postfix/postfix-script. > > DO NOT TINKER WITH THIS. > > SUSE people discovered years ago that their home-grown approach to > stop Postfix would terminate a lot more processes than just Po

Re: Starting postfix

2011-02-24 Thread Wietse Venema
Christian Roessner: > > I am currently preparing an upstart script for Ubuntu. I tried several way >-s do use /usr/sbin/postfix, but I never would get the master PID. So I looke >-d at the postfix.c code. The only supported way to start Postfix is "postfix start", using the commands provided with

Starting postfix

2011-02-24 Thread Christian Roessner
Hi, I am currently preparing an upstart script for Ubuntu. I tried several ways do use /usr/sbin/postfix, but I never would get the master PID. So I looked at the postfix.c code. Is it a problem to start /usr/lib/postfix/master -c /etc/postfix from the init system? I believe I have seen in ups

Re: Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-16 Thread Gerard
On Tue, 15 Sep 2009 18:03:48 -0400 (EDT) Rob Foehl wrote: > On Tue, 15 Sep 2009, Jose Carlos Madrid wrote: > > > you were right. I edited the file in Windows. I didn't realize. But > > after save it with vi editor It still keeps giving me this error. > > Notice it is not (line 1: missing '=' af

RE: Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-15 Thread Rob Foehl
On Tue, 15 Sep 2009, Jose Carlos Madrid wrote: you were right. I edited the file in Windows. I didn't realize. But after save it with vi editor It still keeps giving me this error. Notice it is not (line 1: missing '=' after attribute name: "??u") anymore but similar. Please don't top post.

RE: Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-15 Thread Jose Carlos Madrid
- > Date: Tue, 15 Sep 2009 14:26:54 -0400 > From: r...@loonybin.net > To: postfix-users@postfix.org > Subject: Re: Problem starting Postfix: mysql_alias.cf, line 1: missing '=' > > On Tue, 15 Sep 2009, Jose Carlos Madrid wrote: > >> Sep 1

Re: Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-15 Thread Rob Foehl
On Tue, 15 Sep 2009, Jose Carlos Madrid wrote: Sep 14 11:25:30 hostname postfix/cleanup[30095]: fatal: /etc/postfix/mysql_alias.cf, line 1: missing '=' after attribute name: "??h" It appears you have saved mysql_alias.cf in a UTF-16 encoding. Don't do that; Postfix configuration files are p

Problem starting Postfix: mysql_alias.cf, line 1: missing '='

2009-09-15 Thread Jose Carlos Madrid
Hi, I am just dealing with my first Postfix installation. After following a few tutorials, I’m still not able to start the Postfix server. I looked for solutions in many forums, but I cannot find this problem and no one could help me. Tailing the log files there is an error coming over and over: