Re: [xmail] SmartDNSHost not working in XMail 1.25+ on x64 Win2008R2

2009-10-22 Thread Michal A. Valasek
  - Windows Server 2008 R2 x64; didn't tried it yet on other OS
 
 I can assure you it works, otherwise a bug like that lasting almost
two
 years, would have had a lost of people jumping all over the places ;)
 This must be something related to that version of Windows (since the
 binary it's always the same).

I was trying to say that I didn't tried it on x64 Windows 2003 and x64
Windows 2008. I suppose that there would not be much users running x64
Windows on mail server and with the setup, so it *might* go unnoticed.
But it might also be problem related to R2, since R2 is quite fresh.

 It's also pretty hard to debug, since I've got no 64bit Windows box
(no
 plans to have one any time soon either).

The problem can be solved quite easily. If needed, I can setup x64 test
server for you, just ask. Or you can use virtualization and run it
locally. VBox from Sun is running almost everywhere and supports running
x64 system even under x86 host. 

  When XMail receives message intended for external delivery via SMTP
or
  LMAIL, the message disappears without trace. There is no message in
  spool and there is no record of any activity in SMAIL log. If the
sender
  is local, no error message is delivered to his mailbox.
 
 This is really really wierd. I'll probably need your help with this,
by
 giving you a debug EXE that spits out a bunch of messages.

No problem, go ahead, I'll be happy to help. Just please don't send it
by e-mail, since my server rejects all executables. Upload it somewhere
and send me a link.

--
Altair
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] SmartDNSHost not working in XMail 1.25+ on x64 Win2008R2

2009-10-22 Thread Davide Libenzi
On Thu, 22 Oct 2009, Michal A. Valasek wrote:

   - Windows Server 2008 R2 x64; didn't tried it yet on other OS
  
  I can assure you it works, otherwise a bug like that lasting almost
 two
  years, would have had a lost of people jumping all over the places ;)
  This must be something related to that version of Windows (since the
  binary it's always the same).
 
 I was trying to say that I didn't tried it on x64 Windows 2003 and x64
 Windows 2008. I suppose that there would not be much users running x64
 Windows on mail server and with the setup, so it *might* go unnoticed.

Messages not delivered remotely, unnoticed?!? I strongly doubt that.



 But it might also be problem related to R2, since R2 is quite fresh.

Much, much, much, more likely.



  It's also pretty hard to debug, since I've got no 64bit Windows box
 (no
  plans to have one any time soon either).
 
 The problem can be solved quite easily. If needed, I can setup x64 test
 server for you, just ask. Or you can use virtualization and run it
 locally. VBox from Sun is running almost everywhere and supports running
 x64 system even under x86 host. 

Oh, I can run any Windows (we have MSDN here) on KVM too, actually.
It's just that this comes to a very low priority, since it is almost 100% 
related to a buggy Windows release. The same binary working with 100% 
reliability on other Windows kinda proves it.
Looking into it, is more like a curiosity deal for me at this time.



- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] SmartDNSHost not working in XMail 1.25+ on x64 Win2008R2

2009-10-21 Thread Davide Libenzi
On Thu, 22 Oct 2009, Michal A. Valasek wrote:

 Hello,
 
 one problem I found while running XMail on Win2008R2 is that the
 SmartDNSHost configuration is not working, and in very strange way. If
 SmartDNSHost is enabled in SERVER.TAB (related line:
 SmartDNSHost[TAB]10.2.0.254:tcp) the server does not delivers mail
 to external domains.

Hmmm, strange...



 CONDITION:
 
 - XMail version: 1.25, 1.26, 1.27-pre1; versions up to 1.24 work fine.
 1.25 has Completely changed the DNS resolution code. so it's natural
 suspect.
 - Windows Server 2008 R2 x64; didn't tried it yet on other OS

I can assure you it works, otherwise a bug like that lasting almost two 
years, would have had a lost of people jumping all over the places ;)
This must be something related to that version of Windows (since the 
binary it's always the same).
It's also pretty hard to debug, since I've got no 64bit Windows box (no 
plans to have one any time soon either).




 - SmartDNSHost enabled (tried several DNS servers on different platforms
 so I can probably safely say problem isn't in the DNS server)
 
 EFFECT:
 
 When XMail receives message intended for external delivery via SMTP or
 LMAIL, the message disappears without trace. There is no message in
 spool and there is no record of any activity in SMAIL log. If the sender
 is local, no error message is delivered to his mailbox.

This is really really wierd. I'll probably need your help with this, by 
giving you a debug EXE that spits out a bunch of messages.




 There is one quite strange thing: the DNS resolution itself seems to
 work, because when I have CheckMailerDomain=1 it's able to correctly
 check if MAIL FROM domain has DNS/MX entries or not.

That hits a different code.



- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail