Mailserver.cfg change for Mailstore software [message #122453] |
Tue, 30 June 2015 01:24  |
zebby
Messages: 154 Registered: March 2009
|
|
|
|
Hi,
We're evaluating Mailstore as an archiving solution for Kerio and part of their setup instructions involves making a change to the mailserver.cfg file:
Quote:Permanently Deleting Successfully Archived Emails
To enable the automatic expunge feature, you need to manually edit the mailserver.cfg file by following these steps:
◾ Stop the Kerio Connect Service
◾ Navigate to the install directory and locate the mailserver.cfg file
◾ Open the file in a text editor and search for the string AutoExpungeOnDelete
◾ Change the value from 1 to 0
◾ Once Kerio Connect is completely stopped, save your changes to the file
◾ Start the Kerio Connect Service
As this is a global settings change, what effect will this have on our other email accounts? If a user deletes a message will it be instantly removed from the server and not go into the deleted items folder?
|
|
|
Re: Mailserver.cfg change for Mailstore software [message #122454 is a reply to message #122453] |
Tue, 30 June 2015 03:34   |
j.a.duke
Messages: 239 Registered: October 2006
|
|
|
|
zebby wrote on Mon, 29 June 2015 19:24Hi,
We're evaluating Mailstore as an archiving solution for Kerio and part of their setup instructions involves making a change to the mailserver.cfg file:
Quote:Permanently Deleting Successfully Archived Emails
To enable the automatic expunge feature, you need to manually edit the mailserver.cfg file by following these steps:
◾ Stop the Kerio Connect Service
◾ Navigate to the install directory and locate the mailserver.cfg file
◾ Open the file in a text editor and search for the string AutoExpungeOnDelete
◾ Change the value from 1 to 0
◾ Once Kerio Connect is completely stopped, save your changes to the file
◾ Start the Kerio Connect Service
As this is a global settings change, what effect will this have on our other email accounts? If a user deletes a message will it be instantly removed from the server and not go into the deleted items folder?
Zebby,
I believe you are correct-deleted messages/events/contacts are deleted immediately-no trash folder purgatory.
Too bad you can't have Mailstore to move items to the deleted folder which, at least on my setups, gets purged after 30 days.
Let me know what you find out.
Cheers,
Jon
|
|
|
Re: Mailserver.cfg change for Mailstore software [message #122462 is a reply to message #122454] |
Tue, 30 June 2015 11:16   |
zebby
Messages: 154 Registered: March 2009
|
|
|
|
Hi,
I've quickly tested this and it looks like it doesn't affect Outlook or Webmail I'm guessing because these don't use IMAP.
There is only one AutoExpungeOnDelete entry in the cfg file and it's under an 'IMAP table' heading.
Mailstore can be set to delete the message once it's been imported and this moves it to the deleted items folder so I've just set the folder in KC to empty after 1 day.
|
|
|
Re: Mailserver.cfg change for Mailstore software [message #122471 is a reply to message #122462] |
Tue, 30 June 2015 15:03   |
Bud Durland
Messages: 586 Registered: December 2013 Location: Plattsburgh, NY
|
|
|
|
zebby wrote on Tue, 30 June 2015 05:16Hi,
I've quickly tested this and it looks like it doesn't affect Outlook or Webmail I'm guessing because these don't use IMAP.
There is only one AutoExpungeOnDelete entry in the cfg file and it's under an 'IMAP table' heading.
Mailstore can be set to delete the message once it's been imported and this moves it to the deleted items folder so I've just set the folder in KC to empty after 1 day.
We are using MailArchiva. We tried using IMAP, and ran into similar issues as you are working with. The problem we had was that the folder cleanup process that removed messages from the 'deleted items' folder could not keep up with the amount of incoming traffic. The 'deleted items' folder just kept getting bigger. We eventually configured MailArchiva to use POP3, which reads then permanently deletes the message.
I kinda wish Kerio did SMTP journaling (i.e. send a copy of all messages to a SMTP server). I'm going to try to fake it by creating a dummy domain with no users, and setting it to forward all unknown addresses to MailArchive via SMTP. Then I'll have the archive for my primary domain forwarded to an address in the dummy domain. I'm just curious to see if it works.
|
|
|
Re: Mailserver.cfg change for Mailstore software [message #122477 is a reply to message #122471] |
Tue, 30 June 2015 18:09   |
zebby
Messages: 154 Registered: March 2009
|
|
|
|
Bud Durland wrote on Tue, 30 June 2015 14:03
We are using MailArchiva. We tried using IMAP, and ran into similar issues as you are working with. The problem we had was that the folder cleanup process that removed messages from the 'deleted items' folder could not keep up with the amount of incoming traffic. The 'deleted items' folder just kept getting bigger. We eventually configured MailArchiva to use POP3, which reads then permanently deletes the message.
I kinda wish Kerio did SMTP journaling (i.e. send a copy of all messages to a SMTP server). I'm going to try to fake it by creating a dummy domain with no users, and setting it to forward all unknown addresses to MailArchive via SMTP. Then I'll have the archive for my primary domain forwarded to an address in the dummy domain. I'm just curious to see if it works.
That's an interesting idea, the only downside I can see is losing AD integration to the Mailstore archive.
|
|
|
|
Re: Mailserver.cfg change for Mailstore software [message #122487 is a reply to message #122478] |
Wed, 01 July 2015 00:38   |
zebby
Messages: 154 Registered: March 2009
|
|
|
|
Thinking about it I'm now doubting myself...
We use AD integration with KC so users have one sign in/password for everything. We can extend this Mailstore but if a dummy domain was created in KC for archiving, this couldn't work....but maybe it would if KC can connect to AD under two different domains.
This could either work like a charm or end up being one dirty great big dogs dinner.
To pick up on your earlier point, journaling in KC would be a benefit, more of a benefit to us than say chat. But don't get me started on missing features...
[Updated on: Wed, 01 July 2015 00:48] Report message to a moderator
|
|
|
Re: Mailserver.cfg change for Mailstore software [message #122488 is a reply to message #122487] |
Wed, 01 July 2015 02:03  |
Bud Durland
Messages: 586 Registered: December 2013 Location: Plattsburgh, NY
|
|
|
|
I believe you are over thinking it. The message that actually gets archived will still be appear to be to someone in your original domain.
- example.com is configured to send an archive copy of every e-mail to archiver<_at_>ex-archive.net (archive copies do NOT have to go to an account in the local domain)
- the domain ex-archive.net is configured on the same kerio server as example.com
- there are no users in domain ex-archive.net
- ex-archive.net is configured so that if an e-mail arrives for someone that does not exist in the server, the message is forwarded via SMTP to another server. That other server is the IP address of the mail archiver.
Obviously, this would only work if the archiving system can listen for SMTP connections. This is how a lot of archive systems work with Exchange, I think it's called "SMTP Journaling". I want to try it with my MailArchiva system, because I think there would be far less overhead than IMAP or POP3 transactions.
In such an environment, I would expect the AD integration with Mailstore to still work, since it is probably a plug-in to OutLook that gives it direct access to the archive.
Of course, this is just me making educated guesses.
|
|
|