Current time: 05-21-2024, 08:35 PM Hello There, Guest! (LoginRegister)


Thread Closed 
New E-mail/Address creation causes disruption to Postfix
Author Message
edeis Offline
Junior Member
*

Posts: 34
Joined: May 2010
Reputation: 0
Post: #15
RE: New E-mail/Address creation causes disruption to Postfix
Cool. Thanks Joximu.

If we are removing the command to stop postfix, should we also remove the command to start it too?

Code:
if ($main::changed_mail_cnt > 0 || $main::changed_dmn_cnt > 0 ||
                $main::changed_sub_cnt > 0 || $main::changed_als_cnt > 0) {

                if ($main::cfg{'CMD_MTA'} ne 'no') {

                        $cmd = $main::cfg{'CMD_MTA'};

                       sys_command_rs("$cmd start");

                }


I also noticed a descripancy when checking to stop the services when new domains, etc are added and when they are started again. They are started when mail_cnt, dmn_cnt, sub_cnt, and als_cnt are changed. But stopped only when mail_cnt, dmn_cnt, sub_cnt are changed.
(This post was last modified: 08-14-2010 06:02 AM by edeis.)
08-14-2010 05:27 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: New E-mail/Address creation causes disruption to Postfix - edeis - 08-14-2010 05:27 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)