Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Mailserver.cfg change for Mailstore software
  •  
zebby

Messages: 232
Karma: 0
Send a private message to this user
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?

  •  
j.a.duke

Messages: 341
Karma: 10
Send a private message to this user
zebby wrote on Mon, 29 June 2015 19:24
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?


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
  •  
zebby

Messages: 232
Karma: 0
Send a private message to this user
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.
  •  
Bud Durland

Messages: 355
Karma: 38
Send a private message to this user
zebby wrote on Tue, 30 June 2015 05:16
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.


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.
  •  
zebby

Messages: 232
Karma: 0
Send a private message to this user
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.
  •  
Bud Durland

Messages: 355
Karma: 38
Send a private message to this user
I'm not sure I understand the connection.
  •  
zebby

Messages: 232
Karma: 0
Send a private message to this user
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]

  •  
Bud Durland

Messages: 355
Karma: 38
Send a private message to this user
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.
Previous Topic: Editing contacts
Next Topic: Problem switch from OSX to Linux
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Wed Jan 18 23:16:37 CET 2017

Total time taken to generate the page: 0.00971 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.