Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54973 - /trunk/mail/src/YaPI/MailServer.pm
  • From: varkoly@xxxxxxxxxxxxxxxx
  • Date: Sun, 25 Jan 2009 18:19:39 -0000
  • Message-id: <E1LR9a7-0004sS-VP@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages