From: David Bremner Date: Sun, 31 Aug 2008 22:56:07 +0000 (-0300) Subject: get prefix from config X-Git-Tag: 0.1~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf09a492df6c83a85093b12462b1cfe138c8e1b3;p=ikiwiki.git get prefix from config --- diff --git a/filters/postal-accept.pl b/filters/postal-accept.pl index 135635ccf..866b1f260 100644 --- a/filters/postal-accept.pl +++ b/filters/postal-accept.pl @@ -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;