LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 10-01-2007, 07:41 AM   #1
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Rep: Reputation: 30
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?
 
Old 10-02-2007, 07:25 AM   #2
Conficio
LQ Newbie
 
Registered: Mar 2004
Location: Greater Boston, MA
Distribution: SuSE 9.3, SuSE 10.0
Posts: 23

Rep: Reputation: 15
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!
 
Old 10-02-2007, 07:32 AM   #3
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
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 07:36 AM.
 
  


Reply

Tags
courier, imap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
posfix with courier maildrop and courier-imap Anuragn Linux - Enterprise 4 01-17-2007 04:33 AM
Migrating Mail - Courier Imap /Maildir > Cyrus /var/spool/imap swilliams2006 Linux - Server 3 10-13-2006 05:47 PM
qmail-ldap + courier-imap woes (imap capability) syahid Linux - General 1 10-12-2005 12:03 AM
Configuring courier-imap courier-pop redsky Debian 1 06-02-2004 03:09 PM
Configuring courier-imap courier-pop redsky Linux - Software 0 06-01-2004 12:06 PM


All times are GMT -5. The time now is 05:45 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration