setup is ONLY qmail, authenticating against the system user database, and sqwebmail (with Apache obviously). Virtual domains (IP based) but no vpopmail or similar.
Ideally, a user would go to webmail.<domain.tld>, login using only user name (the @ modifier in Jesse's patch makes for a nice display), but <domain.tld> is _not_ passed to login, which is against system db. Yet the From: address drops to <user>@<domain.tld>, again using logindomainlist file.
When this machine had only one virtual domain using sqwebmail, setting hostname worked fine. No longer. I have read everything I can find on this including all the emails back in Feb-Mar03 pertaining to this. I would like to avoid digging into logindomainlist.c if I can, but that may be the best option.
I have not completely investigated HTTP_HOST nor the @ hidden field as they may or may not apply to this scenario.
Another option (I think) would be to recompile for each webmail.<domain.tld> setting --prefix=/<domainroot>/sqwebmail/. Obviously not nearly as space efficient or elegant, but functionality is the highest priority at this point.
And yes, I am investigating which virtual mail manager for the system overhaul down the line.
Thanks in advance, Flash
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
I have not lost my mind, it's backed up on tape, somewhere. I think.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
