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 -> Simultaneous Multi-user Access To Pop3?

Reply to this topicStart new topicStart Poll

> Simultaneous Multi-user Access To Pop3?
olaf
Posted: Jul 31 2007, 02:47 PM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 2622
Joined: 31-July 07



Hi, guys!

Is there any ability to get simultaneous multi-user access to single POP3 mailbox?

I have digged the XMail Handbook, XMail documentation, whole forum and run through mailing list archive - and found nothing about this option.

Thanks for your help!

I'm looking forward to your reply.

/Olaf
PMEmail Poster
Top
hschneider
Posted: Jul 31 2007, 02:54 PM
Quote Post


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

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



No - the POP3 protocol is designed for a single session, therefore the POP box will be logged by the first login.

Why do you need multi-user access ?


--------------------
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
olaf
Posted: Aug 1 2007, 07:53 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 2622
Joined: 31-July 07



All of most usable mail-servers allow this feature by default, and there are no POP3 protocol restrictions.

Are there other reasons to disable this option by default? I assume that is something connected with the locking mechanism of XMail.

Why this option is necessary - it is simple: some of clients using shared mailboxes, for example - support, sales, etc. These mailboxes must be accessible simultaneously in any time with no restrictions at all.

Another reason - usage of some kind of mail dispatchers with 3rd party mail clients. For example - I've used TheBAT! mail client at work and one of usable mailbox access options - call of remote mail dispatcher for chosen mailbox. At the same time I've used my PDA to access to the same mailbox, but TheBAT! waits for my reaction and keeps POP3 session in open state. By result - I can't access my mailbox from any place while TheBAT! binds the POP3 channel with the dispatcher.

The only problem why I can't migrate to XMail from my current QMAIL installation - is the absence of simultaneous multi-user access to POP3 mailboxes.

Thanks for feedback! I'll wait for your answer.
PMEmail Poster
Top
hschneider
Posted: Aug 1 2007, 10:57 AM
Quote Post


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

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



I see .. the problem: It is not an option, but obviously needed by XMail's internal session handler. The reasons you have listed above are clear and useful and XMail should support this too. Pls post a feature request directly to Davidel at xmailserver.org. I'll post that to the developer forum too. - Thanks!


--------------------
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
hschneider
Posted: Aug 1 2007, 12:47 PM
Quote Post


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

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



> ... and there are no POP3 protocol restrictions.

There are - this is how POP3 is defined in RFC1939:

QUOTE

Once the POP3 server has determined through the use of any
   authentication command that the client should be given access to the
   appropriate maildrop, the POP3 server then acquires an exclusive-
   access lock on the maildrop, as necessary to prevent messages from
   being modified or removed before the session enters the UPDATE state.
   If the lock is successfully acquired, the POP3 server responds with a
   positive status indicator.  The POP3 session now enters the
   TRANSACTION state, with no messages marked as deleted.  If the
   maildrop cannot be opened for some reason (for example, a lock can
   not be acquired, the client is denied access to the appropriate


However, I share your opinion. Let's wait for Davide's response.


--------------------
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
olaf
Posted: Aug 1 2007, 01:10 PM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 2622
Joined: 31-July 07



Thanks for your time, attention and help!
I'll follow your suggestion and will write to David.

Thanks. smile.gif

/Olaf
PMEmail Poster
Top
olaf
Posted: Aug 3 2007, 11:59 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 2622
Joined: 31-July 07



And I've got no reply from Davide...

Is that normal?

/Oalf
PMEmail Poster
Top
hschneider
Posted: Aug 3 2007, 02:34 PM
Quote Post


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

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



Looks like he is offline for a couple of days.


--------------------
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
olaf
Posted: Aug 10 2007, 07:48 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 2622
Joined: 31-July 07



After some digging in the code of XMail I have found goal lock blocking this ability in the POP3Utils.cpp file:

Here is necessary to comment a part of code to remove mailbox locking block to get simultaneous multi-user access to POP3 mailbox:

/*
if (UsrPOP3Lock(pUI) < 0) {
printf ("UsrPOP3Lock: %d \n", UsrPOP3Lock(pUI));
UsrFreeUserInfo(pUI);
return INVALID_POP3_HANDLE;
}
*/

Other functions are work perfectly.

Thanks for the attention.

/Oleg

P.S. Davide is still keeps silence.
PMEmail Poster
Top
olaf
Posted: Aug 10 2007, 07:52 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 2622
Joined: 31-July 07



UPopBuildSession function, I forgot to mention about it...


/Oleg
PMEmail Poster
Top
hschneider
Posted: Aug 10 2007, 03:33 PM
Quote Post


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

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



THANX !


--------------------
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
olaf
Posted: Aug 15 2007, 11:37 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 2622
Joined: 31-July 07



Another thing, that is really necessary to correct RETR mechanism!

The problem is: while the some of users are delete some of messages (e.g. - spam messages), other users connected to this mailbox are impossible to get whole batch of messages, because XMail returns wrong answer for the deleted messages

retr 4
+OK 720 bytes

while the message is really deleted. Mail client got this answer and waits for content of the message. In the same time, the TOP command returns correct "-ERR" value (could not open file).

To correct this issue we need to find UPopSessionSendMsg function in the POP3Utils.cpp file and past "check the existence of the file" block of code before the line

char szResponse[256] = "";

The inserted part of code for this check looks like this:

FILE *pMsgFile = fopen(szMsgFilePath, "rb");
if (pMsgFile == NULL) {
UPopSendErrorResponse(hBSock, ERR_FILE_OPEN, pPOPSD->iTimeout);

ErrSetErrorCode(ERR_FILE_OPEN);
return ERR_FILE_OPEN;
}
fclose(pMsgFile);


---Thanks for your attention
/Olaf
PMEmail Poster
Top
hschneider
Posted: Aug 16 2007, 05:42 PM
Quote Post


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

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



Thanks for the patchwork !


--------------------
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
NomadCF
Posted: Aug 17 2007, 12:00 AM
Quote Post


Wizard
*********

Group: Members
Posts: 428
Member No.: 434
Joined: 21-January 03



With out trying being rude this "option / idea" your speaking of is really what IMAP excels at. POP3 was never designed to allow multi users to 1 mailbox. Nor can I think out a email server that does handle this "option / idea" well if at all and I've tried it xmail, exchnage, and lotus domino.

Dovecot handled it the best but still had issues with a email that was deleted at the same time a user was getting it.

And while the patch you prodived helps was still able to have xmail have issue it the email was gotten/deleted at the exact same time.

Yet I could deleted the message and try to open it at the exact same time with a imap server (both dovecot and lotus domino's imap).


--------------------
-- Chris L. Franklin --
www.NomadCF.com

All my scripts are written for linux servers.
My XMail scripts
PMEmail PosterUsers WebsiteAOL
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Reply to this topicStart new topicStart Poll