[imp] Managing several Organisation level with Qmail

Rich Lafferty rich@horde.org
Tue, 6 Mar 2001 10:38:49 -0500


On Tue, Mar 06, 2001 at 04:14:39PM +0100, Dechansiaud, Eric (Eric.DECHANSIAUD@stratium.fr) wrote:
> We have installed a "Qmail with LDAP" Linux server to manage our email
> system with name : "school.org"
> For administrative purposes we've created specific site parameters under the
> organisation for each town. Like : "paris.school.org" or "nantes.school.org"
> Following "Qmail with LDAP" specifications, users are managed within
> openLDAP db for each site within the organisation.
> Each client user has been defined with an unic ID used to login from IMP,
> with a default email address defined as "uid@town.school.org".
> 
> The Problem is :
> each time a user logs in IMP and send an email, the received header will
> display only "uid@school.org". I understand that's this is due to
> "imp/control/defaults.php3" file parameters :
> 	$default->append_header = true;
> 	$default->append_trailer = iscom.org;

You don't mention what version of IMP you're using, so I'll guess 2.2:

// Should we include the contents of imp/config/header.txt in the
// headers of every message sent?
$default->append_header = true;

// Should we append the contents of imp/config/trailer.txt to the end
// of every message sent?
$default->append_trailer = false;

Those have nothing to do with the From: address at all. But IMP
doesn't know anything about LDAP authentication -- it only uses
IMAP. Look at $default->custom_from_hook and the example
imp_expand_fromaddress in defaults.php3.dist.

  -Rich

-- 
------------------------------ Rich Lafferty ---------------------------
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC                 (514) 848-7625
------------------------- rich@alcor.concordia.ca ----------------------