?
Solved

Horde / IMP mail folder location?

Posted on 2006-06-12
8
Medium Priority
?
1,088 Views
Last Modified: 2013-12-16
Hi,

I have an old server on which I use Horde / IMP to access my e-mail. I have my e-mail stored in various folders

inbox, old, receipts, work, sent-mail, etc etc etc

I am moving over to a new server and I need to copy all my mail.

I cannot find where horde stores its mail folders. I have searched and searched and searched all over the server and I have spent 2 hours googling for the location.

I have found my inbox which is in

/var/qmail/mailnames/[my site name]/[my pop3 account name]/Maildir/cur

but I have no idea where mail goes to when I move it to a folder in Horde.

Thanks in advance for any help you can offer

Luke
0
Comment
Question by:lukeMH
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 500 total points
ID: 16884525
Horde/Imp does is only a webmail interface to your mail. It does not decide where your mail is put. This is (in your case) probably done by qmail.

Imp connects to the mail server and presents the appropriate emails in a nice web based format.

Effectively, you need to find out what the backend is that the webmail is connecting to. It appears that you have found part of it in:

/var/qmail/mailnames/[my site name]/[my pop3 account name]/Maildir/cur

Horder/Imp is normally connected to an IMAP server such as:

    * UW-IMAP (ftp://ftp.cac.washington.edu/imap/)
    * Courier-IMAP (http://www.inter7.com/courierimap.html)
    * Cyrus (http://asg.web.cmu.edu/cyrus/)
    * Dovecot (http://dovecot.procontrol.fi/)

You need to find out which one is being used, and then look at the configuration file associated with it in order to locate the rest of the folders. (The emails could even plausibly be stored in a database!)

See if you can find anything relating to thosse suggested IMAP servers, and let us know if you need more assistance.

HTH:)



0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16884577
The installed:

imp/config/servers.php

Should give you the necessary information relating to the mail server concerned.

or:

telnet servername 143

should print out details of the server concerned.

Once you know what server is handling your mail, we'll know where to look for the mail.

HTH:)
0
 

Author Comment

by:lukeMH
ID: 16884806
The non-commented portion of servers.php is below

$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => 'INBOX.',
    'maildomain' => $DomainName,
    'smtphost' => 'localhost',
    'realm' => $DomainName,
    'preferred' => ''
);

$servers['cyrus'] = array(
    'name' => 'Cyrus IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => 'INBOX.',
    'maildomain' => $DomainName,
    'realm' => $DomainName,
    'preferred' => ''
);

$servers['pop'] = array(
    'name' => 'POP3 Server',
    'server' => 'localhost',
    'protocol' => 'pop3',
    'port' => 110,
    'folders' => '',
    'namespace' => '',
    'maildomain' => $DomainName,
    'realm' => $DomainName,
    'preferred' => ''
);

$servers['exchange'] = array(
    'name' => 'Exchange 5.5 server',
    'server' => 'localhost',
    'protocol' => 'imap',
    'port' => 143,
    'folders' => '',
    'namespace' => '',
    'maildomain' => $DomainName,
    'realm' => '',
    'preferred' => ''
);


I assumed that the mail was being stored by imp/horde as the folders were created in horde, and do not appear with the nice normal q-mail inbox

Thanks

Luke
0
Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

 

Author Comment

by:lukeMH
ID: 16884823
Forgot to say that I thought telnetting to port 143 gave no response. Then I realised I had the client set to SSH and not telnet. Changed it and got the following

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc.  See COPYING for distribution information.


So its Courier-IMAP right?

Luke
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16884901
Absolutely - :)

Id expect the files associated with this to be in:

/usr/lib/courier-imap/

probably the share folder.

HTH:)
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16884919
The other probable location is in the $HOME directory if all users have an account on the system.

If neither of these are correct, have a look at the configuration file in

/usr/lib/courier-imap/etc/

or possibly in the /etc/

folder. Hopefully that'll end your search.

HTH:)
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16884951
Qmail is maily a replacement for sendmail as the 'delivery agent' for mail. The folders bit is handled by the IMAP functionality. The courier-IMAP website is:

http://www.courier-mta.org/

Obviously add another question if you need further help.

:)
0
 

Author Comment

by:lukeMH
ID: 16901040
I found the files by mistake with an ls -a in shell. I was previously using ftp to look (as I wanted to download the mail directories by ftp)



The files are dot files (hidden) grrrrrr!

They are in /var/qmail/mailnames/[my site name]/[my pop3 account name]/Maildir


I have no idea why the inbox is not hidden but all the other folders are. Oh well never mind, I have found them now and started downloading them. Thankyou for sending me in the right direction

Kind Regards

Luke
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question