diff options
| author | fukachan <fukachan> | 2002-07-12 15:06:32 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-07-12 15:06:32 +0000 |
| commit | 3389b7e0361e294e5a2d35da5e4a8e141db71ab0 (patch) | |
| tree | 36016fb1aa5f5c7e53890c66c7166525d026bc27 /fml/lib/FML/Command | |
| parent | 035391fd8d2a30a603f22ae0803c0517da503400 (diff) | |
| download | fml8-3389b7e0361e294e5a2d35da5e4a8e141db71ab0.tar.gz fml8-3389b7e0361e294e5a2d35da5e4a8e141db71ab0.tar.bz2 fml8-3389b7e0361e294e5a2d35da5e4a8e141db71ab0.zip | |
enable newml/rmml updates procmailrc templates
Diffstat (limited to 'fml/lib/FML/Command')
| -rw-r--r-- | fml/lib/FML/Command/Admin/newml.pm | 8 | ||||
| -rw-r--r-- | fml/lib/FML/Command/Admin/rmml.pm | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/fml/lib/FML/Command/Admin/newml.pm b/fml/lib/FML/Command/Admin/newml.pm index d4febe5c..71af4fe8 100644 --- a/fml/lib/FML/Command/Admin/newml.pm +++ b/fml/lib/FML/Command/Admin/newml.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: newml.pm,v 1.45 2002/06/25 12:35:31 fukachan Exp $ +# $FML: newml.pm,v 1.46 2002/06/27 08:24:08 fukachan Exp $ # package FML::Command::Admin::newml; @@ -191,6 +191,10 @@ sub _install_template_files # 2.2 setup ~fml/.qmail-* (qmail style) my $qmail = new FML::MTAControl { mta_type => 'qmail' }; $qmail->setup($curproc, $params); + + # 2.3 + my $procmail = new FML::MTAControl { mta_type => 'procmail' }; + $procmail->setup($curproc, $params); } @@ -216,7 +220,7 @@ sub _update_aliases } else { eval q{ - for my $mta (qw(postfix qmail)) { + for my $mta (qw(postfix qmail procmail)) { my $optargs = { mta_type => $mta }; use FML::MTAControl; diff --git a/fml/lib/FML/Command/Admin/rmml.pm b/fml/lib/FML/Command/Admin/rmml.pm index 16171ebe..8fe84b35 100644 --- a/fml/lib/FML/Command/Admin/rmml.pm +++ b/fml/lib/FML/Command/Admin/rmml.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: rmml.pm,v 1.5 2002/06/25 12:36:51 fukachan Exp $ +# $FML: rmml.pm,v 1.6 2002/06/27 08:24:08 fukachan Exp $ # package FML::Command::Admin::rmml; @@ -146,7 +146,7 @@ sub _remove_aliases eval q{ use FML::MTAControl; - for my $mta (qw(postfix qmail)) { + for my $mta (qw(postfix qmail procmail)) { my $optargs = { mta_type => $mta }; my $obj = new FML::MTAControl; $obj->remove_alias($curproc, $params, $optargs); |
