deprecate old 1.3-style qmail integration
{
'key' => 'qmailmachines',
{
'key' => 'qmailmachines',
- 'section' => 'mail',
- 'description' => 'Your qmail machines, one per line. This enables export of `/var/qmail/control/virtualdomains\', `/var/qmail/control/recipientmap\', and `/var/qmail/control/rcpthosts\'. Setting this option (even if empty) also turns on user `.qmail-extension\' file maintenance in conjunction with the <b>shellmachine</b> option.',
+ 'section' => 'deprecated',
+ 'description' => '<b>DEPRECATED</b>, add <i>qmail</i> and <i>shellcommands</i> <a href="../browse/part_export.cgi">exports</a> instead. This option used to export `/var/qmail/control/virtualdomains\', `/var/qmail/control/recipientmap\', and `/var/qmail/control/rcpthosts\'. Setting this option (even if empty) also turns on user `.qmail-extension\' file maintenance in conjunction with the <b>shellmachine</b> option.',
'type' => [qw( checkbox textarea )],
},
'type' => [qw( checkbox textarea )],
},
sub check {
my $self = shift;
sub check {
my $self = shift;
+ for (qw(setup recur)) { $self->set($_=>0) if $self->get($_) =~ /^\s*$/; }
+
my $conf = new FS::Conf;
if ( $conf->exists('safe-part_pkg') ) {
my $conf = new FS::Conf;
if ( $conf->exists('safe-part_pkg') ) {