Package: nullmailer
Version: 1:1.02-1njl.0
Severity: normal
When using nullmailer as part of a filter chain, null envelope
sender (MAIL FROM:<>) is quite valid. Nullmailer-queue rejects this
address. A patch is attached to allow it. I'll do the same fix for
nullmailer-inject soon (hopefully this weekend) - the qmail-inject
compatible syntax would be -f ""
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (60, 'testing'), (2, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Versions of packages nullmailer depends on:
ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-13 GCC support library
ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3
ii lsb-base 3.0-11bpo1 Linux Standard Base 3.0 init scrip
ii ucf 1.17 Update Configuration File: preserv
-- debconf information:
* shared/mailname: leverton.org
* nullmailer/adminaddr:
* nullmailer/relayhost: localhost smtp --port=10025
--- nullmailer-1.00/src/queue.cc.orig 2003-01-12 04:21:50.000000000 +0000
+++ nullmailer-1.00/src/queue.cc 2006-01-10 11:26:40.061478988 +0000
@@ -95,8 +95,8 @@
{
mystring str;
- if(!fin.getline(str) || !str)
+ if(!fin.getline(str))
fail("Could not read envelope sender.");
- if(!validate_addr(str, false))
+ if(!validate_addr(str, false) && str != "")
fail("Envelope sender address is invalid.");
if(!(out << str << endl))
fail("Could not write envelope sender.");