summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Echolot/Pinger/Mix.pm4
-rw-r--r--NEWS3
2 files changed, 6 insertions, 1 deletions
diff --git a/Echolot/Pinger/Mix.pm b/Echolot/Pinger/Mix.pm
index 1bae338..40d2d9b 100644
--- a/Echolot/Pinger/Mix.pm
+++ b/Echolot/Pinger/Mix.pm
@@ -1,7 +1,7 @@
package Echolot::Pinger::Mix;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Mix.pm,v 1.8 2002/08/19 19:02:19 weasel Exp $
+# $Id: Mix.pm,v 1.9 2002/09/10 20:03:20 weasel Exp $
#
=pod
@@ -51,6 +51,7 @@ sub ping($$$$) {
my $mixcfg = Echolot::Config::get()->{'mixhome'}.'/mix.cfg';
my $address = Echolot::Config::get()->{'my_localpart'} . '@' .
Echolot::Config::get()->{'my_domain'};
+ my $sendmail = Echolot::Config::get()->{'sendmail'};
open (F, ">$mixcfg") or
cluck("Cannot open $mixcfg for writing: $!"),
return 0;
@@ -59,6 +60,7 @@ sub ping($$$$) {
print (F "ADDRESS $address\n");
print (F "PUBRING pubring.mix\n");
print (F "TYPE2LIST type2.list\n");
+ print (F "SENDMAIL $sendmail -f $address -t\n");
close (F) or
cluck("Cannot close $mixcfg: $!"),
return 0;
diff --git a/NEWS b/NEWS
index 88e410f..310c6d4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+Changes in version 2.0rc3
+ * Write SENDMAIL to mix.cfg
+
Changes in version 2.0rc2 - 2002-09-08
* Reopen stdin to /dev/null instead of closing it to avoid
perl 5.8 warnings.