diff options
Diffstat (limited to 'debian/echolot.config')
-rwxr-xr-x | debian/echolot.config | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/echolot.config b/debian/echolot.config index 576fc44..5d348d3 100755 --- a/debian/echolot.config +++ b/debian/echolot.config @@ -26,6 +26,7 @@ if ( -e '/etc/echolot/pingd.conf' ) { $address = $CONFIG->{'my_localpart'}.'@'.$CONFIG->{'my_domain'} if (defined $CONFIG->{'my_localpart'} && defined $CONFIG->{'my_domain'}); $operator = $CONFIG->{'operator_address'} if (defined $CONFIG->{'operator_address'}); $sitename = $CONFIG->{'sitename'} if (defined $CONFIG->{'sitename'}); + $recipient_delimiter = $CONFIG->{'recipient_delimiter'} if (defined $CONFIG->{'recipient_delimiter'}); }; my $mailname; @@ -37,10 +38,12 @@ chomp $mailname; $address = 'echolot@'.$mailname unless defined $address; $operator = 'abuse@'.$mailname unless defined $operator; $sitename = $mailname unless defined $sitename; +$recipient_delimiter = '' unless defined $recipient_delimiter; Debconf::Client::ConfModule::set('echolot/address', $address); Debconf::Client::ConfModule::set('echolot/operator', $operator); Debconf::Client::ConfModule::set('echolot/sitename', $sitename); +Debconf::Client::ConfModule::set('echolot/recipient_delimiter', $recipient_delimiter); my $state = 1; @@ -74,7 +77,7 @@ while (1) { } elsif ($state == 2) { Debconf::Client::ConfModule::input('high', 'echolot/operator'); Debconf::Client::ConfModule::input('high', 'echolot/sitename'); - Debconf::Client::ConfModule::input('high', 'echolot/userdefinedmailbox'); + Debconf::Client::ConfModule::input('high', 'echolot/recipient_delimiter'); Debconf::Client::ConfModule::input('medium', 'echolot/addnow'); } elsif ($state == 3) { last; |