Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTsmCustomSMTPServer.Store

property Store: TsmMailStore read fSharedStore write SetSharedStore;
Where the built-in maildir lives, one subdirectory per mailbox. THE SAME MAILDIR THE RETRIEVAL SERVERS READ, and the only correct way to run SMTP beside POP3 or IMAP.

Without it, sldMaildir builds a maildir object of its own over MailboxRoot - so a host serving all three ends up with two or three objects over one directory tree. Each holds its own in-process lock, and a lock only guards an index rewrite against holders of the SAME lock; each holds its own mailbox list, and the two can disagree about which addresses exist. Assigning one store makes the arrangement structural instead of a convention nobody can check.

When it is assigned, MailboxRoot and Mailboxes are not consulted - the store already knows both, and two sources for one answer is the problem this property exists to remove.