[imp] Setting the user's email address

Peter McGarvey exi-x at packet.org.uk
Thu Jan 8 04:39:46 PST 2004


I've installed Imp (3.2.2) on a FreeBSD 5.1 box.  It's running fine, no
problems there.  Now it's time for me to customise it.  The most crucial
thing is to set the address of outgoing email, and prevent users from
changing it.

I've spent a couple of days reading docs and comments and the like and
I've discovered:

    // If this is set to a function name, that function will be used
    // to get the user's email address to use when sending mail.  See
    // the 'imp_expand_fromaddress' function below for an example.
    $conf['hooks']['from'] = '';

Users login with their full email address, so I'd like to lock the
system down to that address.  But I don't know enough about IMP to do
it.

I've looked on the web and not found anything worthwhile to help me.


So, could some kind soul point me to some resources? Or, if you're
feeling generous, just tell me how to do it?

Many Thanks.


-- 
TTFN, FNORD

Peter McGarvey
Freelance FreeBSD Hacker
(will work for bandwidth)


More information about the imp mailing list