Opened 16 years ago

Closed 16 years ago

#81 closed defect (invalid)

address_rewriting_type

Reported by: dnauck Owned by: rjl
Priority: highest Milestone: 1.0.0 RC6
Component: PHP scripts Version: 1.0.0 RC6
Severity: critical Keywords:
Cc:

Description

I'm using Postfix, so $address_rewriting_type is set to Option 4. All works fin except of the "Add New Email Address/Alias?" function in adminusers.php

example: i'll add the user/email felix@…, so maia add the email felix@… but the user is felix, without the @domain.com

Change History (2)

comment:1 Changed 16 years ago by rjl

The get_user_from_email() function in mailtools.php should be given awareness of $address_rewriting_type (i.e. as an additional argument). In the case of Type 4, for instance, it should return the complete e-mail address.

Having to test $address_rewriting_type before every call to get_user_from_email() is cumbersome, and makes it easy to make mistakes. Better to embed the check in the function itself to make it easier to maintain.

comment:2 Changed 16 years ago by dmorton

  • Resolution set to invalid
  • Status changed from new to closed

I think this was fixed before the ticket was posted. see [375]

Note: See TracTickets for help on using tickets.