1 package FS::part_export::postfix;
3 use vars qw(@ISA %info);
5 use FS::part_export::null;
7 @ISA = qw(FS::part_export::null);
9 tie my %options, 'Tie::IxHash',
10 'user' => { label=>'Remote username', default=>'root' },
11 'aliases' => { label=>'aliases file location', default=>'/etc/aliases' },
12 'virtual' => { label=>'virtual file location', default=>'/etc/postfix/virtual' },
13 'mydomain' => { label=>'local domain', default=>'' },
14 'newaliases' => { label=>'newaliases command', default=>'newaliases' },
15 'postmap' => { label=>'postmap command',
16 default=>'postmap hash:/etc/postfix/virtual', },
17 'reload' => { label=>'reload command',
18 default=>'postfix reload' },
22 'svc' => 'svc_forward',
23 'desc' => 'Postfix text files',
24 'options' => \%options,
26 Batch export of Postfix aliases and virtual files.
27 <a href="http://search.cpan.org/dist/File-Rsync">File::Rsync</a>
28 must be installed. Run bin/postfix.export to export the files.