[yast-commit] r54973 - /trunk/mail/src/YaPI/MailServer.pm
![](https://seccdn.libravatar.org/avatar/cc631e8deef8d2d1c347fab542a8ba48.jpg?s=120&d=mm&r=g)
Author: varkoly Date: Sun Jan 25 19:19:39 2009 New Revision: 54973 URL: http://svn.opensuse.org/viewcvs/yast?rev=54973&view=rev Log: saslauthd and cyrus must be started and enabled by YaPI Serial of SOA Record must not be greater then 4294967295 Modified: trunk/mail/src/YaPI/MailServer.pm Modified: trunk/mail/src/YaPI/MailServer.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/mail/src/YaPI/MailServer.pm?rev=54973&r1=54972&r2=54973&view=diff ============================================================================== --- trunk/mail/src/YaPI/MailServer.pm (original) +++ trunk/mail/src/YaPI/MailServer.pm Sun Jan 25 19:19:39 2009 @@ -2104,6 +2104,24 @@ SCR->Execute('.mail.cyrusconf.toggleService', 'pop3s'); } } + Service->Enable('saslauthd'); + Service->Enable('cyrus'); + if( !Service->Status('saslauthd') ) + { + Service->Restart('saslauthd'); + } + else + { + Service->Start('saslauthd'); + } + if( !Service->Status('cyrus') ) + { + Service->Restart('cyrus'); + } + else + { + Service->Start('cyrus'); + } } elsif( $MailLocalDelivery->{'Type'} eq 'none') { @@ -2400,7 +2418,7 @@ { # This is a new domain, we create it. # We create all the DNS attributes. `hostname -f` is the NS and MX entry. - my $serial = POSIX::strftime("%Y%m%d%H%M",localtime); + my $serial = POSIX::strftime("%Y%m%d%H",localtime); my $host = `hostname -f`; chomp $host; my $tmp = { 'Objectclass' => [ 'dNSZone','suseMailDomain' ], 'zoneName' => $name, -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
varkoly@svn.opensuse.org