Author: varkoly Date: Tue Aug 5 12:15:31 2008 New Revision: 49688 URL: http://svn.opensuse.org/viewcvs/yast?rev=49688&view=rev Log: (bnc#414640) - activating amavisd in mailserver prevention slows the machine Modified: trunk/mail/src/YaPI/MailServer.pm trunk/mail/src/mail-server_helps.ycp Modified: trunk/mail/src/YaPI/MailServer.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/mail/src/YaPI/MailServer.pm?rev=49688&r1=49687&r2=49688&view=diff ============================================================================== --- trunk/mail/src/YaPI/MailServer.pm (original) +++ trunk/mail/src/YaPI/MailServer.pm Tue Aug 5 12:15:31 2008 @@ -1348,7 +1348,7 @@ SCR->Execute('.mail.postfix.mastercf.modifyService', { 'service' => 'smtp', 'command' => 'smtpd', - 'maxproc' => '30', + 'maxproc' => '5', 'options' => { 'content_filter' => 'smtp:[127.0.0.1]:10024' } } ); } else @@ -1356,7 +1356,7 @@ SCR->Execute('.mail.postfix.mastercf.addService', { 'service' => 'smtp', 'command' => 'smtpd', - 'maxproc' => '30', + 'maxproc' => '5', 'options' => { 'content_filter' => 'smtp:[127.0.0.1]:10024' } } ); } my $smtps = SCR->Execute('.mail.postfix.mastercf.findService', @@ -2823,7 +2823,7 @@ my $ismax = 0; foreach my $l ( @ACONF ) { - $ismax = 1 if $l =~ s/^\$max_servers = \d+/\$max_servers = 30/; + $ismax = 1 if $l =~ s/^\$max_servers = \d+/\$max_servers = 5/; $l =~ s/(.*)/# $1/ if $l =~ /bypass_virus_checks_acl.*=.*qw\( \./; if( $isclam || $l =~ /Clam Antivirus-clamd/ ) { @@ -2839,7 +2839,7 @@ } if( !$ismax ) { - push @CONF, '$max_servers = 30;' + push @CONF, '$max_servers = 5;' } if( ! open(OUT,">$aconf.new") ) { Modified: trunk/mail/src/mail-server_helps.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/mail/src/mail-server_helps.ycp?rev=49688&r1=49687&r2=49688&view=diff ============================================================================== --- trunk/mail/src/mail-server_helps.ycp (original) +++ trunk/mail/src/mail-server_helps.ycp Tue Aug 5 12:15:31 2008 @@ -89,7 +89,7 @@ The virus scanner engine <b>Clamavd</b> and the spam finder <b>SpamAssassin</b> will be installed and configured too. You can install other (comerciel) virus scanner engine. </p> -"), + +") + /* MailPrevention dialog help 3/3 */ _("<p><b><big>Configure Spam Learning Extension:</big></b><br> The spam learning extension can only configured if the local delivery method <b>cyrus imapd</b> is. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org