Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-01-2007, 08:41 AM
|
#1
|
Member
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308
Rep:
|
Can I use Courier (IMAP) to archive emails?
I've been doing a little reading up, and just want to run something past those of you who are familiar with courier.
Would it be possible for me to create a dedicated Mail server using CourierIMAP (with LDAP), which copies all outgoing email to the relevant "Sent Items" folder?
Would it also be possible to stop the removal of emails from the server - IE, if the an email is deleted in the email client, the action is ignored by the Courier server? Or does IMAP just flag deleted messages as "deleted", without removing them from the server?
|
|
|
10-02-2007, 08:25 AM
|
#2
|
LQ Newbie
Registered: Mar 2004
Location: Greater Boston, MA
Distribution: SuSE 9.3, SuSE 10.0
Posts: 23
Rep:
|
This is not Courier/IMAP's job.
I'd configure the mail agent to do what you want, either sendmail or exim or qmail (whatever you are using). Look for archiving receipies with those programs and you will be successful.
Good luck
K<o>
P.S.: Yes, Google is a dumb search engine, that does not find anything, if you don't know the right keywords in the right context. Not your fault!
|
|
|
10-02-2007, 08:32 AM
|
#3
|
Member
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308
Original Poster
Rep:
|
Thanks, but that doesn't really answer either of my questions.
I'm pretty sure its possible for Courier's ESMTP module to create a copy of sent email in the maildir from certain threads I've read online. I'm simply looking for explicit confirmation that this can be done.
I've also found a python program on sourceforge that can read maildirs and back them up periodically to gzipped mboxes. Which is suitable for my needs.
However, as for my second question - yes, it would be Courier-IMAP's job to handle deleted email. Again, I'm looking for confirmation that the IMAP protocol doesn't actually delete the email but flags it as deleted and keeps a copy of it. From my understanding of IMAP from using the PHP IMAP functions, you mark emails as deleted, and then execute an "expunge" method to clean out the deleted emails. Its this method I would like to bypass.
Last edited by neocookie; 10-02-2007 at 08:36 AM.
|
|
|
All times are GMT -5. The time now is 10:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|