get prefix from config
authorDavid Bremner <bremner@unb.ca>
Sun, 31 Aug 2008 22:56:07 +0000 (19:56 -0300)
committerDavid Bremner <bremner@unb.ca>
Mon, 1 Sep 2008 00:09:14 +0000 (21:09 -0300)
filters/postal-accept.pl

index 135635ccf4033a7b62d7931590741a6c60b96419..866b1f260d9992dc2c3ca8222e5d201e7872cbc7 100644 (file)
@@ -28,6 +28,8 @@ die "configuration file is mandatory" unless ($config_file);
 
 IkiWiki::Setup::load($config_file);
 
+my $prefix=$config{postal_prefix} || die "prefix not set";
+
 $message=Email::Filter->new();
 
 my $to=$message->to;