Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-10 Thread leeyc0
Mark Martinec wrote: > > leeyc0, >> I have to comment a line Net/DNS/Resolver/Base.pm to fix this problem. >> >> (below is some lines in Net/DNS/Resolver/Base.pm send_tcp function) >> $buf = read_tcp($sock, $len, $self->{'debug'}); >> >> # comment this line, this should be a class property bu

Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-09 Thread Mark Martinec
leeyc0, > > After some struggle and tracing every bit of code (including tracing > > installing cpan packages!), apparently it is a bug in the latest > > Net::DNS::Packet::Resolver::Base send_tcp function call... > > Yes, it is caused by a bug in Net::DNS::Resolver::Base (sorry, there was a > typ

Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-08 Thread leeyc0
leeyc0 wrote: > > > After some struggle and tracing every bit of code (including tracing > installing cpan packages!), apparently it is a bug in the latest > Net::DNS::Packet::Resolver::Base send_tcp function call... > Yes, it is caused by a bug in Net::DNS::Resolver::Base (sorry, there was

Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-08 Thread leeyc0
leeyc0 wrote: > >> I changed to use 1024 bit RSA key, and seems the email passed DKIM >> validation. Seems that my perl installation at iwtek.net somehow cannot >> validate 2048 bit RSA DKIM signatures. Does anyone have some clue? > > That is possible too, the DNS packet is probably larger tha

Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-08 Thread leeyc0
> I changed to use 1024 bit RSA key, and seems the email passed DKIM > validation. Seems that my perl installation at iwtek.net somehow cannot > validate 2048 bit RSA DKIM signatures. Does anyone have some clue? That is possible too, the DNS packet is probably larger than 512 bytes, and perhaps y

Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-08 Thread Mark Martinec
> I tried, but still have no clue, but discovered another horrible thing. > I tried to send another email from gmail to iwtek.net, the DKIM signature > validates at iwtek.net (see attachment). I am running mad now... > http://old.nabble.com/file/p28178961/gmail.eml gmail.eml One thing I noticed: t

Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-08 Thread leeyc0
Mark Martinec wrote: > > > The dkim-failed.eml message looks fine, the DKIM signature validates. > > If both domains are under your control/access, the simplest is to > collect the message from both mailboxes and compare them. > > Mark > > I changed to use 1024 bit RSA key, and seems the

Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-08 Thread leeyc0
Mark Martinec wrote: > > The dkim-failed.eml message looks fine, the DKIM signature validates. > > If both domains are under your control/access, the simplest is to > collect the message from both mailboxes and compare them. > > Mark > > I tried, but still have no clue, but discovered ano

Re: the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-08 Thread Mark Martinec
On Thursday 08 April 2010 15:01:40 leeyc0 wrote: > http://old.nabble.com/file/p28178215/dkim-failed.eml dkim-failed.eml > > I manage multiple mail servers, and recently decided to implement DKIM, but > I met a very strange problem. > > I tried to send a DKIM-signed email to both @iwtek.net and @i

the dkim sigature is valid, but still triggered T_DKIM_INVALID in mail server

2010-04-08 Thread leeyc0
http://old.nabble.com/file/p28178215/dkim-failed.eml dkim-failed.eml I manage multiple mail servers, and recently decided to implement DKIM, but I met a very strange problem. I tried to send a DKIM-signed email to both @iwtek.net and @ieaa.org, as in the attachment (both mail servers are manage