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] Running 32-bit XMail on x64 Windows

2009-10-22 Thread Michal A. Valasek
> > after few years I'm returning to world of XMail server. I'm trying
to
> > setup new mail server on x64 edition of Windows Server 2008 R2
(there is
> > no 32-bit edition and all future server versions are going to be
64-bit
> > only).
> 
> Yes, but they'll still support 32on64, no?

Until further notice yes. I suppose they'll drop the support eventually
(like 16->32 bit), but it would take many years, since there are lots of
32-bit apps floating around.

> Thing is, a 64bit binary will use a lot more memory than a 32bit one,
> mainly because all pointers are double the size. If an application
does
> not need a VM space bigger than 2GB (and XMail doesn't, unless you're
> handling yahoo.com with a singel machine), it's better off using a
32bit
> binary.
> I will try to look into building a 64bit eventually ...

As I wrote before, I'm managed code guy, so I don't have much knowledge
about if it makes sense, do it's up to you. The "common sense" says
that's good to run app in native architecture, but it's probably no big
deal.

--
Altair

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


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

2009-10-21 Thread Michal A. Valasek
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.

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
- 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.

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.

--
Michal A. Valasek, Altairis Chief Software Architect, Microsoft ASP.NET
MVP
Contacts: michal.vala...@altairis.cz | +420 245 008 000 | PGP 0xC4F3579D
Projects: www.altairis.cz | www.rider.cz | www.aspnet.cz

Never appeal to a man's "better nature." He may not have one.
Invoking his self-interest gives you more leverage. (Lazarus Long)


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


[xmail] Running 32-bit XMail on x64 Windows

2009-10-21 Thread Michal A. Valasek
Hello,

after few years I'm returning to world of XMail server. I'm trying to
setup new mail server on x64 edition of Windows Server 2008 R2 (there is
no 32-bit edition and all future server versions are going to be 64-bit
only).

First of all, there is one catch IMHO worth mentioning in readme: If you
are using x64 Windows, the registry settings must be placed in
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GNU\XMail, not in
HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail (due to 32-to-64 WoW registry
redirection).

Also, I'd like to see native x64 build of XMail. The only mail I found
in my XMail Archive is similar request from 2006, to which Davide
responded "My main box is an Alienware dual 256, but it is running
Linux. Sources are available and compilers too so..."

Is someone able to do the x64 build? I'm pure scripting and managed code
developer and I never wrote single C/C++ program in my life, so even
though I have the source and the compiler, I'm unable to make it. Also I
expect that there are changes to be done and that's not my cup of tea.
So I'd just like to know if someone with *some* experience can try to
build the x64 version.

--
Michal A. Valasek, Altairis Chief Software Architect, Microsoft ASP.NET
MVP
Contacts: michal.vala...@altairis.cz | +420 245 008 000 | PGP 0xC4F3579D
Projects: www.altairis.cz | www.rider.cz | www.aspnet.cz

Never appeal to a man's "better nature." He may not have one.
Invoking his self-interest gives you more leverage. (Lazarus Long)


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


[xmail] Re: Windows compatible mail pickup support in XMail

2008-01-07 Thread Michal A. Valasek
> Or, instead of adding a system dependent feature to XMail, someone can
> write something trivially simple that moves messages from one folder
to
> the other (XMail's one), with proper conversion.

That's not system dependent, anyone can use it and I think that in most
cases it will be easier to tweak generic software or component to create
RFC822-compatible message format, than Xmail's own.

You're right that it'll be trivial to create some utility to do the
conversion etc. But it's not so simple in real world to install and
manage it. It's another service you need to control, maintain and
monitor.

--
Altair
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Windows compatible mail pickup support in XMail

2008-01-05 Thread Michal A. Valasek
Hello,

I have feature request: let local mailer in Xmail support Windows Mail
Pickup Service format, in addition to its own.

Why? It seems that built-in SMTP server in Windows is going to be
deprecated. In Windows Server 2008 it must be separately installed,
configured etc. Microsoft was considering dropping it altogether, but
they decided to keep it - yet. So no future seems to be in it.

However, putting text file in defined format to mail folder is the way
how lots of application works. .NET has built-in feature and
configuration for it. Location of such folder can be configured (ie. to
point to Xmails folder), but format of message not. Of course we can use
SMTP, but it has lots of negative implications and does not scale well.

The Mail Pickup Service format is simple. It's standard RFC2822, but it
has two headers added on top: x-sender (which is envelope sender) and
x-receiver (which is envelope recipient and may be present more than
once).

I think that presence of this feature will not complicate Xmail and will
help lots of developers and server admins, who may continue to use
current applications without rewriting them.

If you'll be in a good mood, consider adding separate configurable
'watch' folder to scan for local messages (to allow to point it to
C:\inetpub\MailRoot\pickup, which is default location), but it's not
really necessary - the folder name can usually be changed (in good
applications).

Thanks in advance,

--
Michal A. Valasek, Altairis Chief Software Architect, Microsoft ASP.NET
MVP
Contacts: [EMAIL PROTECTED] | +420 245 008 000 | PGP 0xC4F3579D
Projects: www.altairis.cz | www.rider.cz | www.aspnet.cz |
www.iqernet.com

I'm one of those bad things that happen to good people.


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Non-ASCII characters in CTRL protocol and configuration files

2006-07-17 Thread Michal A. Valasek

> > I'm talking about user variables, set using "uservarsset" in CTRL
> > protocol. Things like "Full name" etc.
> 
> XMail is basically trasparent on this data. What you get is what you
> set.

Well, but if I send non-ASCII data (in Unicode or ANSI) using CTRL
protocol, xmail terminates connection. How I am supposed to pass the
data?

--
Altair
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Non-ASCII characters in CTRL protocol and configuration files

2006-07-17 Thread Michal A. Valasek

> > how it is with Non-ASCII characters (like letters with diacritic
> > marks) in XMail configuration files?=20
> >
> > What charset should I use? Or I must encode it, using for example
> > quoted printable or URL encode?
> 
> Which variables are you talking about? In general, XMail does not
care.

I'm talking about user variables, set using "uservarsset" in CTRL
protocol. Things like "Full name" etc.

--
Altair
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Non-ASCII characters in CTRL protocol and configuration files

2006-07-15 Thread Michal A. Valasek

Hello,

how it is with Non-ASCII characters (like letters with diacritic marks)
in XMail configuration files? 

What charset should I use? Or I must encode it, using for example quoted
printable or URL encode?

--
Michal A. Valasek | Chief Software Architect of Altairis LLC, ASP.NET
MVP
PGP 0xC4F3579D | www.altairis.cz | www.rider.cz | www.aspnet.cz

You can have peace. Or you can have freedom.
Don't ever count on having both at once. (Lazarus Long)


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: GLST on secondary server

2006-06-26 Thread Michal A. Valasek

> Thus, the 30 day expiry time is excessive overkill, and possibly a 14
> day window might be better under normal operating conditions. In this

I usually use 36 days. There is lot of newsletters and digests and so
on, which are issued with monthly periodicity.

--
Michal A. Valasek | Chief Software Architect of Altairis LLC, ASP.NET
MVP
PGP 0xC4F3579D | www.altairis.cz | www.rider.cz | www.aspnet.cz

You can have peace. Or you can have freedom.
Don't ever count on having both at once. (Lazarus Long) 

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Comments in glst.conf

2006-06-14 Thread Michal A. Valasek

Hello,

is there any way to write safe comments to glst config file? Something
like # in Xmail's TAB files?

Regards,

--
Michal A. Valasek | Chief Software Architect of Altairis LLC, ASP.NET
MVP
PGP 0xC4F3579D | www.altairis.cz | www.rider.cz | www.aspnet.cz

You can have peace. Or you can have freedom.
Don't ever count on having both at once. (Lazarus Long)

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: restart server via email

2006-05-04 Thread Michal A. Valasek

Hello,

| shutdown.exe \\computername /R /T:05 /C

by default, XMail service is running under "Local System" account. This is 
special account, which (to say simply) has local system administrator 
privileges, but can not access network resources.

You can run whole XMail under some other user account, having necessary 
permissions.

Generally, I do not recommend that, because it is a security risk, as is the 
whole procedure.

--
Michal A. Valasek | Chief Software Architect of Altairis LLC, ASP.NET MVP
PGP 0xC4F3579D | www.altairis.cz | www.rider.cz | www.aspnet.cz

You can have peace. Or you can have freedom. 
Don't ever count on having both at once. (Lazarus Long) 
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: GLST.EXE taking 100% CPU

2006-04-21 Thread Michal A. Valasek

| Likely the machine shut down incorrectly (aka bad crash).

At least one of those three machines was NEVER shut down incorrectly. It's 
important production server, which has its own UPS in addition of another UPS 
and generator which backs up the entire server house.

--
Altair
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: GLST.EXE taking 100% CPU

2006-04-20 Thread Michal A. Valasek

| Can you try to do a dbdump+dbload to a new DB file? My guess is that 
| something happened to the DB file and the simple GDBM is not able to 
| detect and gracefully recover from it.

Your guess was right. Although the database on each server has about 100 MB, 
resulting export has always only few lines in it.

I have deleted all databases and would watch what it would do.

Now:

1) How it got corrupted (on three independent servers) in first place?
2) Is possible to fix the database somewhat and return the data, so known 
legitimate mail would not be delayed?

If you wish, I can post the DBs somewhere for you and send you the link 
privately.

--
Michal A. Valasek | Chief Software Architect of Altairis LLC, ASP.NET MVP
PGP 0xC4F3579D | www.altairis.cz | www.rider.cz | www.aspnet.cz

You can have peace. Or you can have freedom. 
Don't ever count on having both at once. (Lazarus Long)
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: GLST.EXE taking 100% CPU

2006-04-20 Thread Michal A. Valasek

Newest version does not work as well. There is only one difference: with the 
old version I had there one or two stuck processes. Now I have here 150 of them.

--
Michal A. Valasek - Altair Communications | Microsoft ASP.NET MVP
PGP 0xC4F3579D | www.altaircom.net | www.rider.cz | www.aspnet.cz

Nobody can hear your scream in cyberspace.
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: GLST.EXE taking 100% CPU

2006-04-17 Thread Michal A. Valasek

| Are you using the latest version? I thought this problem was 
| solved with 0.23.

I suppose so, but don't know. How I can verify what version do I have?

--
Altair
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] GLST.EXE taking 100% CPU

2006-04-16 Thread Michal A. Valasek

Hello,

I was very busy last few months and been off the list, so sorry if you already 
solved this.

But I have the following problem: Sometimes GLST.EXE is frozen and take 100% of 
CPU until killed. This is occuring about once per day on three different 
servers.

I tried to clean and even to delete database, but it would not help.

No weird configuration, only using C class matching and few (~10) exceptions.

Any ideas around that?

--
Michal A. Valasek - Altair Communications | Microsoft ASP.NET MVP
PGP 0xC4F3579D | www.altaircom.net | www.rider.cz | www.aspnet.cz

Nobody can hear your scream in cyberspace. 
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]