[Mimedefang] headers not showing up on quarantine messages

Lucas Albers admin at cs.montana.edu
Thu Mar 25 22:33:30 EST 2004


I was looking at the function:
synthesize_received_header,
see function excerpt below.

and it appears to arbitrarily generate the following header:
8.12.9/8.12.9+MIMEDefang

The header that it generate is something like this:
----------------------------------------
Received: from reverse.137.240.114.209.idealapps.com
(reverse.137.240.114.209.idealapps.com [209.114.240.137])
        by xxxx.cs.montana.edu (8.12.9/8.12.9+MIMEDefang) with ESMTP id
i2Q3F646030602
        for <munged at erc.montana.edu>; Thu, 25 Mar 2004 20:15:08 -0700 (MST)
----------------------------------------

Why does it generate this particular header?
Does it matter?
Should it generate a different header?
Is this a feature or a bug, or what?

....As the developers used to say at microsoft when I bugged them as a
tester: "won't fix:as per design".

-----------------------------
sub synthesize_received_header () {
    my($hdr);
    my $now = time();
    my($hn) = $SendmailMacros{"if_name"};
    my $strdate;

    my $loc;
    $loc = POSIX::setlocale(&POSIX::LC_ALL, "C");
    $strdate = strftime("%a, %d %b %Y %H:%M:%S ", localtime($now)) .
        header_timezone($now);
    POSIX::setlocale(&POSIX::LC_ALL, $loc);

    $hn = get_host_name() unless (defined($hn) and ($hn ne ""));
    if ($RealRelayHostname ne "[$RealRelayAddr]") {
        $hdr = "Received: from $Helo ($RealRelayHostname
[$RealRelayAddr])\n";
    } else {
        $hdr = "Received: from $Helo ([$RealRelayAddr])\n";
    }
    $hdr .= "\tby $hn (8.12.9/8.12.9+MIMEDefang) with ESMTP id $MsgID";
    if ($#Recipients != 0) {
        $hdr .= "; ";
    } else {
-----------------------------



More information about the MIMEDefang mailing list