summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-05-18 00:36:44 +0000
committerfukachan <fukachan>2004-05-18 00:36:44 +0000
commit924b5f798ecbc39d6373f98ec84d98a367cacf42 (patch)
tree5dd6deb7c36ec6b7e6315465a04ac1586b5e8dbd
parent367d619df5053960131abf8fd6c19a2f4e166261 (diff)
downloadfml8-924b5f798ecbc39d6373f98ec84d98a367cacf42.tar.gz
fml8-924b5f798ecbc39d6373f98ec84d98a367cacf42.tar.bz2
fml8-924b5f798ecbc39d6373f98ec84d98a367cacf42.zip
enable delivery fallback
-rw-r--r--fml/lib/FML/Process/Distribute.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/Distribute.pm b/fml/lib/FML/Process/Distribute.pm
index c7b7e0d3..98a42916 100644
--- a/fml/lib/FML/Process/Distribute.pm
+++ b/fml/lib/FML/Process/Distribute.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2000,2001,2002,2003,2004 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Distribute.pm,v 1.142 2004/03/31 12:53:51 fukachan Exp $
+# $FML: Distribute.pm,v 1.143 2004/04/23 04:10:36 fukachan Exp $
#
package FML::Process::Distribute;
@@ -489,6 +489,7 @@ sub _deliver_article
if ($service->error) { $curproc->log($service->error); return;}
# XXX_LOCK_CHANNEL: recipient_map_modify
+ my $queue_dir = $config->{ mail_queue_dir };
my $lock_channel = "recipient_map_modify";
$curproc->lock($lock_channel);
$service->deliver(
@@ -502,6 +503,10 @@ sub _deliver_article
'message' => $message,
map_params => $config,
+
+ # fallback
+ use_queue_dir => 1,
+ queue_dir => $queue_dir,
});
$curproc->unlock($lock_channel);