X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fvpopmail.pm;h=5fca1704ce4b1f0cc6440687bb71ca3012cbd516;hb=38e34bbc53a4222c7507e95914e1364a5a74623f;hp=0fc8266ea15840230f194ebffedff29bd021356b;hpb=ca5786f0d2a55c575d41ff6693b4338387939cb0;p=freeside.git diff --git a/FS/FS/part_export/vpopmail.pm b/FS/FS/part_export/vpopmail.pm index 0fc8266ea..5fca1704c 100644 --- a/FS/FS/part_export/vpopmail.pm +++ b/FS/FS/part_export/vpopmail.pm @@ -23,6 +23,7 @@ tie my %options, 'Tie::IxHash', 'svc' => 'svc_acct', 'desc' => 'Real-time export to vpopmail text files', 'options' => \%options, + 'default_svc_class' => 'Email', 'notes' => <<'END' This export is currently unmaintained. See shellcommands_withdomain for an export that uses vpopmail CLI commands instead.
@@ -30,7 +31,7 @@ export that uses vpopmail CLI commands instead.
Real time export to vpopmail text files. File::Rsync must be installed, and you will need to -setup SSH for unattended operation +setup SSH for unattended operation to vpopmail@export.host. END ); @@ -87,7 +88,7 @@ sub _export_delete { sub vpopmail_queue { my( $self, $svcnum, $method ) = (shift, shift, shift); - my $exportdir = "/usr/local/etc/freeside/export." . datasrc; + my $exportdir = "%%%FREESIDE_EXPORT%%%/export." . datasrc; mkdir $exportdir, 0700 or die $! unless -d $exportdir; $exportdir .= "/vpopmail"; mkdir $exportdir, 0700 or die $! unless -d $exportdir;