![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am on a server that "mangles" the username, making it "hostname-username".
This means that instead of new mail's return address being "username@hostname.com" it becomes "hostname-username@hostname.com". The actual email address for the user is "username@domain.com"; it's only the login username that is mangled. I've been trying to figure out the configuration options as I suspect there may be some way of mapping the actual email address to the return address, instead of using the login username. I can hack the code to remove the prefix, but I'd prefer to use a configuration setting if there is one that will solve this problem. |
|
#2
|
|||
|
|||
|
Ok, if anybody else has this issue, perhaps this will help them.
In program/include/main.inc, after the comment at line 588, add these two lines: Code:
$user_name = substr($user_name, strpos($user_name, "-")+1); $user_email = substr($user_email, strpos($user_email, "-")+1); |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |