XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Esmtp Service Not Available (-198)

Reply to this topicStart new topicStart Poll

> Esmtp Service Not Available (-198)
speedy67
Posted: Sep 19 2007, 09:19 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 2658
Joined: 19-September 07



Hi all,

For quite a while I have been running XMail 1.21 on my private webserver without any problems. (Athlon64, Ubuntu 5.10). Since Ubuntu 5.10 is no longer supported I decided to upgrade to Ubuntu 6.06LTS, and of course XMail 1.24. To do that, I first installed all the new stuff on a backup server (HP Pentium4) to make sure it worked. And it did, of course. Running my web and mail server temporarily on that HP Pentium4 machine, I upgraded the main server (Athlon64) exactly the way I did on the HP Pentium4. Everything works, except for XMail. I use the exact same configuration as the working one on the HP Pentium4, but it doesn't work. When I try to send mail the SMTP server responds with 'Xmail 1.24 ESMTP Server service not available (-198). The POP server seems to respond with a blank message.

Can anyone shine a light on this?

Greetings,
Sander
PMEmail Poster
Top
hschneider
Posted: Sep 20 2007, 08:39 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Start XMail in debug mode and see if it outputs any errors during startup:

Assumed it is installed in /var/MailRoot:

cd /var/MailRoot/bin
export MAIL_ROOT=/var/MailRoot
./XMail --debug -Md


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
speedy67
Posted: Sep 20 2007, 05:28 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 2658
Joined: 19-September 07



The output of ./XMail --debug -Md is:

CODE

root@www:/var/MailRoot/bin# ./XMail --debug -Md
SMAIL thread [00] started
SMAIL thread [01] started
SMAIL thread [02] started
SMAIL thread [03] started
SMAIL thread [04] started
SMAIL thread [05] started
SMAIL thread [06] started
SMAIL thread [07] started
SMAIL thread [08] started
SMAIL thread [09] started
SMAIL thread [10] started
SMAIL thread [11] started
SMAIL thread [12] started
SMAIL thread [13] started
SMAIL thread [14] started
SMAIL thread [15] started
[XMail 1.24 CTRL Server] started
[XMail 1.24 CTRLS Server] started
[XMail 1.24 POP3 Server] started
[XMail 1.24 POP3S Server] started
[XMail 1.24 ESMTP Server] started
[XMail 1.24 ESMTPS Server] started
[XMail 1.24 PSYNC Server] started
[XMail 1.24 FINGER Server] started
LMAIL thread [00] started
LMAIL thread [01] started
LMAIL thread [02] started


If I try to send a mail from a client in the same network Mozilla Thunderbird says:

CODE

[XMail 1.24 ESMTP Server] service not available (-198), closing transmission channel.


No new lines were added to the --debug terminal screen.

If I try to connect to the smtp server (port 25) using telnet I get the same error:
CODE

421 [XMail 1.24 ESMTP Server] service not available (-198), closing transmission channel.


If I telnet to the pop server (port 110) I get the error:
CODE

-ERR System low in virtual memory

Connection to host lost.


Nothing showing in the --debug terminal screen either.

If I telnet to the CTRL port (6017) it doesnt give any error, and the following shows up in the --debug terminal screen:

CODE

CTRL client connection from [192.168.1.11]
CTRL client exit [192.168.1.11]


Hope this helps. My system at the time of testing has a good amount of physical (350MB free out of 1011MB) and virtual memory (3,72GB free out of 3,72GB).

Greetings,
Sander
PMEmail Poster
Top
hschneider
Posted: Sep 20 2007, 06:37 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



> -ERR System low in virtual memory

Looks like you are low on RAM or swap space.

Pls post your server.tab as well.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
speedy67
Posted: Sep 20 2007, 07:12 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 2658
Joined: 19-September 07



QUOTE (hschneider @ Sep 20 2007, 06:37 PM)
> -ERR System low in virtual memory

Looks like you are low on RAM or swap space.

Pls post your server.tab as well.

System memory looks okay. My system at the time of testing has a good amount of physical (350MB free out of 1011MB) and virtual memory (3,72GB free out of 3,72GB).

SERVER.TAB is exactly the same as the one on the backup server, which is running 1.24 without problems (and will have to, until I can get 1.24 to work on my main server).

CODE

"RootDomain" "marisan.nl"
"SmtpServerDomain" "marisan.nl"
"POP3Domain" "pop.marisan.nl"
"HeloDomain" "marisan.nl"
"PostMaster" "postmaster@marisan.nl"
"ErrorsAdmin" "postmaster@marisan.nl"
"TempErrorsAdmin" "postmaster@marisan.nl"
#"DefaultSMTPGateways" "192.168.1.2,192.168.1.15"
"RemoveSpoolErrors" "0"
"NoSenderBounce" "1"
"DisableEmitAuthUser" "0"
#"NotifyMsgLine***tra" "8"
"NotifySendLogToSender" "0"
#"NotifyTryPattern" "1"
"MaxMTAOps" "16"
#"ReceivedHdrType" "0"
#"FetchHdrTags" "+X-Deliver-To,+Received,To,Cc"
#"SMTP-TLS" "0"
"EnableCTRL-TLS" "1"
"EnableSMTP-TLS" "1"
"EnablePOP3-TLS" "1"
"SmtpMsgIPBanSpammers" "550 Denied due inclusion of your IP in our spam lists"
#"SmtpMsgIPBanSpamAddress" "550 Denied due inclusion of your email address in our spam lists"
#"SmtpMsgIPBanMaps" "550 Denied due inclusion of your IP in the following map"
#"CustomSMTPMessage" "Please open http://www.xmailserver.test/smtp_errors.html to get more information about this error"
#"MaxMessageSize" "20000"
"EnableAuthSMTP-POP3" "0"
"Pop3SyncErrorAccount" "postmaster@marisan.nl"
"AllowNullSender" "1"
"AllowSmtpVRFY" "1"
"AllowSmtpETRN" "1"
#"SMTP-MaxErrors" "4"
#"SmtpMinDiskSpace" "100000"
"SmtpMinVirtMemSpace" "64000"
"Pop3MinVirtMemSpace" "64000"
"CustMapsList" "sbl-xbl.spamhaus.org.:0,bl.spamcop.net.:0,relays.ordb.org.:0,combined.njabl.org.:0,list.dsbl.org.:0"
#"SMTP-RDNSCheck" "1"
#"CheckMailerDomain" "1"
#"SmartDNSHost" "dns.home.bogus.net:tcp,192.168.1.1:udp"
#"SmtpConfig" "mail-auth"
#"SmtpConfig-192_168_0_1" "mail-auth"
"DefaultSmtpPerms" "MRVZ"


Greetings,
Sander
PMEmail Poster
Top
speedy67
Posted: Sep 20 2007, 08:25 PM
Quote Post


Newbie
*

Group: Members
Posts: 5
Member No.: 2658
Joined: 19-September 07



I found the solution! image008.gif

Because of the "-ERR System low in virtual memory" I wanted to know whether or not my linux swap partition was functioning. Well, I did some google-ing and found out that swap partitions are officialy max 2GB on i386 machines. Mine was 4GB. I kind of just picked a comfortable amount when installing Ubuntu 6.06LTS and got no warning or clue whatsoever that 4GB was too big. So I reduced swap space to 1GB (the same amount as on the backup server with the working XMail 1.24), rebooted and joy joy happy happy XMail suddenly works as it should.

hschneider thanks for the time you spent reading and replying.

Greetings,
Sander
PMEmail Poster
Top
dva
Posted: Jun 5 2009, 06:02 AM
Quote Post


Newbie
*

Group: Members
Posts: 16
Member No.: 1817
Joined: 16-November 05



When will correct this mistake?
PMEmail Poster
Top
dva
Posted: Jun 8 2009, 02:33 AM
Quote Post


Newbie
*

Group: Members
Posts: 16
Member No.: 1817
Joined: 16-November 05



My system has 4GB of physical RAM and 2GB virtual. Always get an error "-ERR System low in virtual memory". When I switch off SWAP, Xmail Server starts without error. Help me get rid of this problem.
PMEmail Poster
Top
hschneider
Posted: Jun 8 2009, 05:51 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Maybe your Swap partition is some bytes over the limit, too. Reduce it to 1.9 GB. This is a limit of i368 machines, not an XMail issue.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
dva
Posted: Jun 8 2009, 10:08 PM
Quote Post


Newbie
*

Group: Members
Posts: 16
Member No.: 1817
Joined: 16-November 05



I tried to do swap partition 1.8GB, 1.0GB, 512GB. And always get an error sad.gif
PMEmail Poster
Top
dva
Posted: Jun 15 2009, 11:02 PM
Quote Post


Newbie
*

Group: Members
Posts: 16
Member No.: 1817
Joined: 16-November 05



HELP, HELP, HELP!!!
PMEmail Poster
Top
alinaboom
Posted: Jun 29 2009, 09:31 PM
Quote Post


Newbie
*

Group: Members
Posts: 6
Member No.: 3305
Joined: 20-June 09



very strange the MS KB only gives global information about the error and no solution. And as administrator you should have rights in the way. Maybe there are other programs running which prevent that the service is starting correctly or the windows is corrupt in some way.

Im not sure either what you can do. You can tryif you havent tried that yet of course to remove all of the file zilla software, files,config files, registry settings, etc and try to install again.
PMEmail PosterICQAOLYahooMSN
Top
dva
Posted: Jun 30 2009, 01:38 AM
Quote Post


Newbie
*

Group: Members
Posts: 16
Member No.: 1817
Joined: 16-November 05



http://www.xmailserver.org/ChangeLog.html

---
Jun 27, 2009 v 1.26

Fixed a bug that make XMail to wrongly report virtual memory sizes on 32 bit systems with larger than 4GB VM space.
---

Big thanks Davide Libenzi!
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll