Re: IPv6 in tmda-ofmipd

Kevin Goodsell <[email protected]> Sun, 6 Feb 2011 11:27:29 -0800
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
On Sun, Feb 6, 2011 at 11:16 AM, Sabahattin Gucukoglu
<[email protected]> wrote:
> On 4 Feb 2011, at 06:42, Kevin Goodsell wrote:
>>
>> You'll need to use -p with a ":" in the address for this to work. I
>> don't know if that's really sufficient to detect IPv6. I tested with
>> ::1.
>
> Thanks for the patch, however am I understanding right that I will be
> specifying the port number also?  It doesn't look like you have any
> way to distinguish between bare address and address:port (Postfix does
> it using square brackets [] around v6 addresses).

-p requires a port and I believe it always has. The last : is the port
separator. There's no ambiguity in this case, but there are still
ambiguous cases in the code.

>
> Also, I'll be replacing this on a Debian box, is there a clean way to
> get the output of the program into a log file so I can test it in
> place, or do I hack the initscript?
>

You can always run tmda-ofmipd on the command line. I even included a
script for running it in the foreground with debug output in my Debian
package: /usr/share/tmda-smtp/run-tmda-ofmipd

-Kevin

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users