Ask a Question related to PERL Miscellaneous, Design and Development.
-
Danny Aldham #1
Sendmail::Milter to remove headers
I am trying to use the Sendmail::Milter module to remove a
Disposition-Notification-To header from email messages. The man pages
suggest that:
if ($headerf eq "Disposition-notification-to") {
print "Found $headerf to $headerv \n";
$ctx -> chgheader($headerf,0,"") || warn "Error on 0 $! \n"
;
$ctx -> chgheader($headerf,1,"") || warn "Error on 1 $! \n"
;
print "CTX is $ctx \n";
return SMFIS_CONTINUE;
}
this code should work. But I get an Error on 0 and 1, with no code returned.
I have tried setting $headerv = "" but also with no joy.
Has anyone any successful experience removing headers with this module?
Danny Aldham
Danny Aldham Guest
-
#40392 [NEW]: memory leaks in PHP milter SAPI and proposed fix
From: tuxracer69 at gmail dot com Operating system: Linux 2.6.17-2-686 PHP version: 5CVS-2007-02-07 (snap) PHP Bug Type: ... -
#40083 [NEW]: in the milter SAPI, the function smfi_getsymval always returns blank strings
From: tuxracer69 at gmail dot com Operating system: Linux debi 2.6.17-2-k7 #1 SMP Fr PHP version: 5.2.0 PHP Bug Type: ... -
#40083 [Opn->Bgs]: in the milter SAPI, the function smfi_getsymval always returns blank strings
ID: 40083 Updated by: iliaa@php.net Reported By: tuxracer69 at gmail dot com -Status: Open +Status: ... -
Net::NIS crashing with Sendmail::Milter
Hi! I have written a milter script in perl that queries a NIS-server. After several thousands, sometime hundreds of thousands, of connections,... -
Sendmail 8.9.3 - need to remove hostname from @hostname.domain.com
I just upgraded from 432 to 433. Along with this came Sendmail8.9.3. I have changed the new sendmail.cf file with the same changes as the previous...



Reply With Quote

