[imp] imp / imap username problem
Martin
horde at kryptisk.dk
Wed Jul 27 05:25:29 PDT 2005
Jan Schneider writes:
> Zitat von Martin <horde at kryptisk.dk>:
>
>> Hi, im using horde/imp 3
>>
>> with "net" qmail 1.05 and latest stable vpopmail.
>> For imap I use latest stable courier-imap.
>>
>> I know others have had this problem, however a working
>> solution hasen't - to my knowledge - come along.
>
> You are kidding. This is one of the most basic setups.
>
>> My problem is that I'am running vpopmail and have several domains.
>>
>> To get the from addresses right in imp I've added
>> a server for every virtual domain in ./imp/config/servers.php
>> - eg. even though it is the same server the maildomain needs to change.
>>
>> When users log in the select their server (eg. virtual domain)
>> from the server list on the imp login.php.
>> My problem is that they still need to supply user at virtualdomain.tld
>> in the username field - because the imap - hence, vpopmail needs this!
>>
>> As far as I can tell I need for horde to change the supplied username before
>> sending it to the imap server.
>
> That's what the vinfo hook is for.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
Yes that was what I found out probaly could be a solution,
however the examples in hooks.php dosen't cover using the vinfo hook to
extract information from the servers.php file or other, this is what I need
help with, forgive me if my question was inaqrate.
Could anyone give a vinfo_hook eksample modifying the imapuser name from
the selected server name plz?
More information about the imp
mailing list