> But then, how do I translate the username part?
> For example, I have a user in the virtusertable
> [EMAIL PROTECTED] two
> When the user logs in as a [EMAIL PROTECTED], the squirrelmail logs in
the user 
> as a local "two" user. When this user sends an outbound email, the
FROM address 
> is being composed as [EMAIL PROTECTED]: a local username + domain name
(from users.dat) 
> How do I translate the username part to the virtual username, so that
the mail goes 
> out from [EMAIL PROTECTED] Is there a variable that translate this name
in the users.dat 
> file (much like domains=domain.com, i.e username=virtual user)?

the username can't be changed so easily.  It must remain the correct
IMAP username... you are needing to remap the username when you send?
You might be able to do that with your SMTP server.  I would ask if you
are logging in as "[EMAIL PROTECTED]", and you also want to send with that
email address, why to you even need the "two" account name?  Can't you
synch your IMAP server up with the rest of you system?  if you still
need to solve this problem in SquirrelMail, it'd have to be a source
hack...  



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to