mailfront on IPv6

"John R. Levine" <[email protected]> 22 Jun 2011 21:58:02 -0400
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
I've been using it for a month or so, and it seems to work fine.

There's a buglet in plugin-add-received.  The SMTP spec says that you put 
IPV6: in front of the IP address, e.g.

  Received: from foo (bar [IPV6:2001:2002::123])
      by zip (zap [IPV6:201a::345]) ; date

The code to add to the routine str_catfromby() is obvious, I haven't done 
it since I use a different plugin that does mysql logging at the same 
time.

Unrelated question: has anyone done STARTTLS?  There's patches for 
ofmipd or qmail-smtpd that show what you have to do, but it looks to me 
like the current plugin setup isn't adequate to stick the necessary shims 
to do the TLS on the way in and out.  I suppose you could do it by making 
a separate process and pipes, but ugh.

Regards,
John Levine, [email protected], Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. http://jl.ly