[imp] suggestions, IMP 2.3
Brad Dameron
bdameron@tscnet.com
Mon, 8 Jan 2001 09:50:33 -0800
> Out of curiosity, what hacks did you make to IMP to improve
> its working with vmailmgr and courier-imap? I use them myself and
> would love to see password changing patches and stuff using
> vmailmgrd if you have them! I've been meaning to look at that
> for an eon, but like many other things, have never gotten around to it ;)
>
> Anil
>
I have done the above with IMP, Qmail, Courier, and the QmailAdmin package
developed by inter7.com. Here is the info.
This will implement QmailAdmin right into IMP. Can be changed to work with
vmailmgrd very easily.
imp/config/defaults.php3
-------------------------------
Add the following:
$default->admin = true;
false would turn it off.
imp/locale/en/menu.lang
-------------------------------
Add the following at the end of the file:
$lang->admin = 'Admin';
This of course needs to be converted for all the languages and added in
each menu.lang file.
Or you can just put the above line in each.
imp/templates/menu/menu.inc
-------------------------------
At line 165 insert:
<?php if ($default->admin): ?>
<tr bgcolor="<?php echo $default->dark_bg ?>">
<td><a href="</cgi-bin/qmailadmin<?php echo
htmlspecialchars($imp->user)?>"
target="main"><img border="0" align="middle" src="<?php echo
$default->graphics_url
?>/lock.gif" alt="*" height="18" width="18"></a></td>
<td>
<font size="2" face="<?php echo $default->font->face; ?>">
<a class="menuitem" href="/cgi-bin/qmailadmin" target="main">
<?php echo $lang->admin ?></a>
</td>
</tr>
<?php endif; ?>
That's it. It makes the qmailadmin look like it is built into the web
mailer. Looks very nice. I still need to create a new little icon for
it. Right now it uses the lock.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.225 / Virus Database: 107 - Release Date: 12/22/2000