[imp] Slightly better newbie questions

Sean D. mojospam at thegeekclub.net
Tue Jun 29 20:16:26 PDT 2004


Chris Wade wrote:
> Hi,
> 
> I've been sitting here going through all the docs I can find for IMP and,
> granted, I am trying to learn all of this in a very short amount of time
> (because I have a customer screaming for it...) but I want to ask some more
> specific questions and see if anyone can point me in the right direction...
> 
> First of all, I have horde 2 installed and configured (though it was done by
> someone else) and am trying to install and configure imp-3.2.4.  I've got it
> to the point where I can log in and check email.  The problem I am having is
> that I want to make use of the folders such as 'drafts' and sent-mail' and
> have the ability to create new folders and save messages to them.
> 
> The only folder that shows up is 'Inbox.'  I click on 'folders' in the menu,
> check the box next to inbox, select 'create folder' and enter the name of the
> folder I want to create.  I get a message telling me that my folder was
> successfully created.  However, it never appears on the screen.  I tried
> clicking 'expand all' but it still only shows inbox.
> 
> I'm not running multiple servers, only the default, which if I understand it
> correctly is just the same as my IP address.  I'm afraid I don't know enough
> about the various protocols and such to be able to tell what kind of
> information to give to someone to be able to help me.  Can anyone tell me
> what more information would help in this situation, in order to solve this
> problem?
> 
> I haven't got any servers configured in imp/config/servers.php, and in
> config/conf.php, $conf['server']['server_list'] is set to 'none'.
> 
> How do I discover what the defaults are for certain?
> 
> And then, once I do that, how do I figure out why folders are not showing up
> once they appear to be created?
> 
> Thanks again,
> 
> Chris

all of your problems are likely caused by the same thing.. you need to setup 
imp/config/servers.php  but in order to do that you need to know a little bit 
about your mail server and not IMP (which it sounds like is working fairly well) 
have you tried saving your preferences or addresses into the address book yet? 
if you didnt do the SQL work and set the backend then likely it wont save 
anything...

the fact that imp is working at all without you having setup that file means 
that you have an IMAP server running on the same machine.  Finding out what 
version it is would help.  Courier? UW? other?

I use courier IMAP in maildir format.  My server in servers.php looks like this:
$servers['imap'] = array(
     'name' => 'IMAP Server',
     'server' => 'localhost',
     'protocol' => 'imap/notls',
     'port' => 143,
     'folders' => 'INBOX.',
     'namespace' => '',
     'maildomain' => $vdomain,
     'smtphost' => 'localhost',
     'realm' => $vdomain,
     'preferred' => ''
);

i use virtual domains so please replace $vdomain in the above with 
yourdomain.com (whatever it is).  Figuring out the right setting for your server 
for the 'folders' and 'namespace' settings will likely be the key to getting 
those folders to work... but as for creating "sent-mail" etc. its not necessary. 
you just need to configure the defaults in prefs.php to default to creating 
"sent-mail" and "Trash" the first time a message is sent.

Sean D.


More information about the imp mailing list