mhonarc-users

Re: Improvements to mhonarc.pl filter for Namazu

2002-09-02 22:53:30
ewh> If you have control of the MTA at yy.ki.nu, you should check out
ewh> its configuration and the format of the Received header it adds.

Thanks Earl, I have figured out what was wrong.
I was wrong :-(  MHonArc is innocent, and perfect.

The story is, it's related to /etc/alias setting for 
Majordomo.

Off topic again. But let me explain a little bit here.
In the sendmail.cf file, (sorry for sendmail specific),
we have following part.
  ---------------------------------------------
  HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
          $.by $j ($v/$Z)$?r with $r$. id $i$?u
          for $u; $|;
          $.$b
  ---------------------------------------------
But with this setup, the majordomo-unprotected-
outgoing alias will be written on the Received field.
For example:
  ---------------------------------------------
  Received: (from majordom(_at_)localhost)
        by mail.yyy.ne.jp (8.11.1/8.11.1) id g4F27al06615
        for mlname-outgoing; Wed, 15 May 2002 11:07:36 +0900 (JST)
        (envelope-from owner-mlname)
  ---------------------------------------------
So I always delete the line when sendmail.cf is generated
to look like:
  ---------------------------------------------
  HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
          $.by $j ($v/$Z)$?r with $r$. id $i$?u
          $.$b
  ---------------------------------------------
But it turned out this made mhonarc being confused for missing 
semicolon. So now I have added ; at the end of second line.
  ---------------------------------------------
  HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
          $.by $j ($v/$Z)$?r with $r$. id $i$?u;
          $.$b
  ---------------------------------------------
I think I will be happy now. 
Thank again Earl,
---
Makoto Fujiwara

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS

<Prev in Thread] Current Thread [Next in Thread>