[xmail] xmail 1.27-1.1+b1 on Debian 7

2014-05-31 Thread Carlos Bazán


Hi, I've just installed xmail 1.27-1.1+b1 on a debian 7.5.0 station
and I can't get emails in my mailbox.
There isn't troubles in sending emails to the world but not receiving
from the world.
The smtp log say that's everything Ok.

Recently I was running on a debian 6 station xmail 1.27-1.1 perfectly.
It would be sad to have to change the software of mail server after all
but if I can not fix this I will have to migrate to postfix and lose all
my previous settings and waste time configuring the new server.

Some idea about this issue?

Thanks

Carlos Bazán



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


[xmail] Re: -ERR Invalid Syntax on PASS command (POP)

2008-02-26 Thread Juan Carlos Muro
Hi there!
Well, if I have voice for it, I agree with many of the issues here.=20
First of all, I am the only guilt of the -ERR Invalid Syntax on PASS
command (POP) for this case, as I didn't thoroughly read the docs..=20
Anyways, I think as a good benefit for all the logging of I was not
able to find 'the_file.tab', so quitting. RTFM XDDD!!
Personaly, I am not too keen to autocreate missing files. Or if it has
to be someday that way, please, make this functionability suitable to be
activated through a flag a startup (and not to be the option by
default). Kind of 'system tuning up'..

Anyways I have to mention that for me it has been the easiest to setup I
ever used. It is just great!!=20
Just the issue about logging, but anyways the code is so clear and
clean..=20

Thanks!!!

J. Carlos Muro

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Rob Arends
Sent: Sunday, February 24, 2008 4:13 PM
To: xmail@xmailserver.org
Subject: [xmail] Re: -ERR Invalid Syntax on PASS command (POP)

Davide, Sarcasm is not your best suit.

Let me put it to you this way.

If the files  folders xmail requires, are not all there at xmail
startup
time, then xmail should stop, rather than continuing.

This has the following benefits:
1. The administrator will *know* that file 'a' is missing and will
go 
fix it.
2. The administrator will likely resolve their problem without sending
help
requests here.

Now #2 is a good thing I think.

Just look at the subject line on this. Invalid syntax on PASS
command
(POP)...
How does that assist an administrator to look at the pop3links.tab file
and
find it is not there.

You're not making us self sufficient.

Oh, and your last comment...
How about you take care and configure your system software correctly
instead?
I agree, but in the real world, stuff happens and some diagnostics would
help.

I'm not asking for much...
Xmail error: required file pop3links.tab not found.

Rob :-)
=20
_
It might look like I'm doing nothing, but on a cellular level, I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
Behalf Of Davide Libenzi
Sent: Sunday, February 24, 2008 7:10 AM
To: xmail@xmailserver.org
Subject: [xmail] Re: -ERR Invalid Syntax on PASS command (POP)

On Sat, 23 Feb 2008, Rob Arends wrote:

 I believe that, at startup, if xmail does not find ALL the folders it
 requires, then it should do one of two things.
=20
 1. create the missing folders
 Or
 2. terminate after logging to the log_files/ screen/ event_log,
depending
on
 platform and or debug mode.
=20
=20
 Currently it.
 3. continues without error and throws up seemingly un related errors
that
 cause you to look elsewhere for the fault.
=20
 *** I'm sending this as a feature request. ***

Why stopping there? Why not having XMail to automatically guess missing=20
configuration files?
How about you take care and configure your system software correctly=20
instead?



- Davide


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


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

-
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: -ERR Invalid Syntax on PASS command (POP)

2008-02-22 Thread Juan Carlos Muro
Thanks for the advice Davide!=20
So I inquired the next issue with the '-ERR Invalid auth or access
denied' error. I have inserted/edit many debug points in the source
code. I found where the problem was:

* In POP3Utils.cpp:

POP3_HANDLE UPopBuildSession(const char *pszDomain, const char
*pszUsrName,
 const char *pszUsrPass, SYS_INET_ADDR const
*pPeerInfo)
{
[...]
if (pszUsrPass !=3D NULL  strcmp(pszUsrPass, pUI-pszPassword)
!=3D 0) {
ErrSetErrorCode(ERR_INVALID_PASSWORD);
UsrFreeUserInfo(pUI);
return INVALID_POP3_HANDLE;
}
printf([POP3Utils.cpp] UPopBuildSession[1]:\n); // I reach
this checkpoint
if (UsrPOP3Lock(pUI)  0) {
UsrFreeUserInfo(pUI);
return INVALID_POP3_HANDLE;
}
printf([POP3Utils.cpp] UPopBuildSession[2]:\n); // Checkpoint
not reached [!]
[...]
}

Here clearly saw that the password validation was ok after issuing 'PASS
the_passwd' to the server. After it, was necessary to add the next
checkpoint:

* In UsrUtils.cpp:

int UsrPOP3Lock(UserInfo *pUI)
{
char szLockPath[SYS_MAX_PATH] =3D ;

UsrGetPop3LocksPath(pUI, szLockPath, sizeof(szLockPath));
=09
printf([UsrUtils.cpp] UsrPOP3Lock[1]: szLockPath =3D %s\n,
szLockPath);
if (SysLockFile(szLockPath)  0)
return ErrGetErrorCode();

return 0;
}

That threw straight to my eyes:
[UsrUtils.cpp] UsrPOP3Lock[1]: szLockPath =3D
/var/lib/xmail/pop3locks/[EMAIL PROTECTED]

And not, the directory 'pop3locks' didn't exist! After reviewing the
documentation, paying special attention to the MailRoot structure
section, I realized that still many directories were not yet created...
So, I crated the as appointed by the doc, and problem fixed! xDD

So, again, the most valuable advice once again was: read the docs
carefully! x

Only one proposal for the xmail developers: maybe to be more specific
with the '-ERR Invalid auth or access denied' message, to differentiate
whether the fail is owed to authentication or to file
creation/manipulation... ;)

Thanks!

JC

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Davide Libenzi
Sent: Thursday, February 21, 2008 10:26 PM
To: xmail@xmailserver.org
Subject: [xmail] Re: -ERR Invalid Syntax on PASS command (POP)

On Thu, 21 Feb 2008, Juan Carlos Muro wrote:

 In /MailRoot/mailusers.tab:
=20
   mydomain.com xmailuser   1   xmailuser
U
   mydomain.com user1  54575651  2   user1  U
  =3D20
 I send a message from 'user1' to 'xmailuser', and seems to reach
 destiny:
=20
   [EMAIL PROTECTED]:/MailRoot/domains/mydomain.com/xmailuser/Maildir/new#
 ls -la
   total 12
   drwxr-xr-x 2 root root 4096 2008-02-21 15:59 .
   drwxr-xr-x 5 root root 4096 2008-02-21 11:09 ..
   -rw-rw-rw- 1 root root  631 2008-02-21 15:33
 1203609577597.3077888912.0.rigel
=20
 When I try to retrieve mail for 'xmailuser' I get the following error:
=20
   -ERR Invalid syntax
=20
 Maybe Xmail doesn't accept empty passwords?

POP3 does not accept empty passwords:

http://www.ietf.org/rfc/rfc1939.txt




- Davide


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

-
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] -ERR Invalid Syntax on PASS command (POP)

2008-02-21 Thread Juan Carlos Muro
In /MailRoot/mailusers.tab:

  mydomain.com xmailuser   1   xmailuser U
mydomain.com user1  54575651  2   user1  U
 =20
I send a message from 'user1' to 'xmailuser', and seems to reach
destiny:

[EMAIL PROTECTED]:/MailRoot/domains/mydomain.com/xmailuser/Maildir/new#
ls -la
total 12
drwxr-xr-x 2 root root 4096 2008-02-21 15:59 .
drwxr-xr-x 5 root root 4096 2008-02-21 11:09 ..
-rw-rw-rw- 1 root root  631 2008-02-21 15:33
1203609577597.3077888912.0.rigel

When I try to retrieve mail for 'xmailuser' I get the following error:

-ERR Invalid syntax

Maybe Xmail doesn't accept empty passwords?
Next I tried the reverse way: sent from 'xmailuser' to 'user1'. The
letter reachs its destiny:

=09
[EMAIL PROTECTED]:/var/lib/xmail/domains/partners.webcreds.com/user1/Maildir/ne
w# ls -l
total 8
-rw-r--r-- 1 root root 366 2008-02-21 15:59
1203607209261.3078417296.0.rigel

When I try to retrieve mail for 'user1', I get as follows:

[EMAIL PROTECTED]:~# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED] [XMail 1.25 POP3
Server] service ready; Thu, 21 Feb 2008 16:25:01 -
USER user1
+OK Password required for [EMAIL PROTECTED]
PASS 1234
-ERR Invalid auth or access denied

I have verified that I correctly typed the password in mailusers.tab:

[EMAIL PROTECTED]:/var/lib/xmail# ./bin/XMCrypt 1234
54575651

So I got locked now... Any ideas please?
Thanks!!
JC
-
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: -ERR Invalid Syntax on PASS command (POP)

2008-02-21 Thread Juan Carlos Muro
Oh! I messed something with the domains.=20
So, this would be the last mail properly issued:

In /MailRoot/mailusers.tab:

  mydomain.com xmailuser   1   xmailuser U
mydomain.com user1  54575651  2   user1  U
 =20
I send a message from 'user1' to 'xmailuser', and seems to reach
destiny:

[EMAIL PROTECTED]:/MailRoot/domains/mydomain.com/xmailuser/Maildir/new#
ls -la
total 12
drwxr-xr-x 2 root root 4096 2008-02-21 15:59 .
drwxr-xr-x 5 root root 4096 2008-02-21 11:09 ..
-rw-rw-rw- 1 root root  631 2008-02-21 15:33
1203609577597.3077888912.0.rigel

When I try to retrieve mail for 'xmailuser' I get the following error:

-ERR Invalid syntax

Maybe Xmail doesn't accept empty passwords?
Next I tried the reverse way: sent from 'xmailuser' to 'user1'. The
letter reachs its destiny:

=09
[EMAIL PROTECTED]:/var/lib/xmail/domains/mydomain.com/user1/Maildir/new# ls -l
total 8
-rw-r--r-- 1 root root 366 2008-02-21 15:59
1203607209261.3078417296.0.rigel

When I try to retrieve mail for 'user1', I get as follows:

[EMAIL PROTECTED]:~# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED] [XMail 1.25 POP3
Server] service ready; Thu, 21 Feb 2008 16:25:01 -
USER user1
+OK Password required for [EMAIL PROTECTED]
PASS 1234
-ERR Invalid auth or access denied

I have verified that I correctly typed the password in mailusers.tab:

[EMAIL PROTECTED]:/var/lib/xmail# ./bin/XMCrypt 1234
54575651

So I got locked now... Any ideas please?
Thanks!!
JC
-
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] Question

2002-10-29 Thread Carlos

Hello all.

Due to my bad English I have some problems to configure Xmail.
Some time ago in www.ordb.org, my server was clasificated as an open relay.

I changed in the server.tab to put:

AllowSmtpVRFY 1

 and with this change ordb said it´s OK.

But yesterday someone used my server to send mail without permission (I
think so). Here are what the server sent to me:

--

[00] XMail bounce: Rcpt=[[EMAIL PROTECTED]];Error=[500 error]


[01] Error sending message [1035840086237.3160.moebius] from
[carlinux.dyndns.org].

ID:S218
Mail From: [EMAIL PROTECTED]
Rcpt To:   [EMAIL PROTECTED]


[02] The reason of the delivery failure was:

500 error


[04] Here is listed the message log file:

[PeekTime] 1035840086 : Mon, 28 Oct 2002 22:21:26 +0100

ErrCode   = -62
ErrString = Bad SMTP response
SMAIL SMTP-Send MX = mta.21cn.com. SMTP = moebius From =
[EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed !
SMTP-Error = 500 error



[05] Here is listed the initial part of the message:

Received: from dbob (211.38.33.197)
by moebius (62.151.107.102) with [XMail 1.11 (Win32/Ix86) ESMTP Server]
id S218 for [EMAIL PROTECTED] from [EMAIL PROTECTED];
Mon, 28 Oct 2002 22:21:24 +0100
From: [EMAIL PROTECTED]
Subject: 62.151.107.102
To: [EMAIL PROTECTED]
Date: Tue, 29 Oct 2002 06:18:49 +0900
X-Priority: 3
X-Library: Indy 8.0.25

--

Is there any body using my server as an open relay?

How can I fix that problems?

By the way, I´ve installed the 1.11 version few days ago, and it runs OK
(the only problem is the related before)

Thanks and excuse me for my English.

Carlos

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