[imp] virtual users and their from addys...

Kevin Myer kevin_myer at iu13.org
Thu Jun 30 11:59:38 PDT 2005


Quoting Daniel Frazier <dfrazier at glengroup.com>:

> anyone?  I've been playing with various hooks for the last 3 days, but
> the specifics of what variables I need to be modifying are eluding me...
> I've gotten the from address to show as "virtuser%virtdomain@" by
> unsetting the maildomain in imp/config/servers.php, but that's no good.
> It needs to be "virtuser at virtdomain" so my users don't complain...  I'll
> keep plugging away, but would really, really appreciate some guidance
> from someone who knows what they're doing.

I don't pretend to know what I'm doing but if you've gotten it to the state of
virtuser%virtdomain, just do a preg_replace on it and replace @ with nothing
and the % with @.

Kevin

-- 
Kevin M. Myer
Senior Systems Administrator
Lancaster-Lebanon Intermediate Unit 13  http://www.iu13.org




More information about the imp mailing list