- assigned_to: nobody --> fbrockerhoff
- status: open --> open-later
Hello,
I tried the piece of software you wrote, and i had to do the following changes so it can work :
1) in the INSERT CLOSE, change
insert into values (...)
TO
insert into (fields) values ...
because i added other fields to the table i use
2) in email/new_pop.php, use of $table_virual instead of
the table name "virtual".
It can be a good idea to manage the aliases the same manner the users are managed (give the aliases their members instead of giving the users th aliases they belong to)
This is because i define aliases to group of users, and i can't add aliases like
toto domain2.xyz toto@domain3.zzz yes
lulu domain2.xyz lulu@domain4.yyy yes
I think 2 access can be defined :
1 for the admin
1 whitout changes rigth so users can know who are parts of an aliase
I have such needs and i think i can have time to make them, i can send it to you if you which.
Pascal
LIST OF CHANGES (diff -ibw), i can send you an other format if you which to, but i tried to translate it in french, so the lines number may are not be the good ones !!
FILE email/edit_pop.php
118c118
< $query = "INSERT INTO $table_virtual";
---
> $query = "INSERT INTO $table_virtual ($field_user, $field_domain, $field_alias, $field_is_alias, $field_password)";
FILE : email/new_catchall.php
12c12
< $query = "INSERT INTO $table_virtual";
---
> $query = "INSERT INTO $table_virtual ($field_user, $field_domain, $field_alias, $field_is_alias, $field_password)";
FILE email/new_fwd.php
12c12
< $query = "INSERT INTO $table_virtual";
---
> $query = "INSERT INTO $table_virtual ($field_user, $field_domain, $field_alias, $field_is_alias, $field_password)";
FILE email/new_pop.php
13c13
< $query = "INSERT INTO virtual";
---
> $query = "INSERT INTO $table_virtual ($field_user, $field_domain, $field_alias, $field_is_alias, $field_password)";
19c19
< $query = "INSERT INTO virtual";
---
> $query = "INSERT INTO $table_virtual ($field_user, $field_domain, $field_alias, $field_is_alias, $field_password)";