| 1 | | In the old server, there is a mysql database named mailsql that stores many important information about the mail system. |
| 2 | | |
| 3 | | The database has the following tables: |
| 4 | | |
| 5 | | {{{#!sh |
| 6 | | mysql> show tables; |
| 7 | | +-------------------+ |
| 8 | | | Tables_in_mailsql | |
| 9 | | +-------------------+ |
| 10 | | | alias | |
| 11 | | | orxonox_alias | |
| 12 | | | relocated | |
| 13 | | | transport | |
| 14 | | | users | |
| 15 | | | virtual | |
| 16 | | | virtual_orxonox | |
| 17 | | +-------------------+ |
| 18 | | }}} |
| 19 | | |
| 20 | | A dump of the most useful tables follows. |
| 21 | | |
| 22 | | {{{#!sh |
| 23 | | mysql> select * from alias; |
| 24 | | +----+------------+----------------------+ |
| 25 | | | id | alias | destination | |
| 26 | | +----+------------+----------------------+ |
| 27 | | | 1 | root | scheusso@orxonox.net | |
| 28 | | | 2 | postmaster | scheusso@orxonox.net | |
| 29 | | | 4 | admin | scheusso@orxonox.net | |
| 30 | | +----+------------+----------------------+ |
| 31 | | |
| 32 | | mysql> select * from orxonox_alias; |
| 33 | | +----+----------+--------------------------+ |
| 34 | | | id | alias | destination | |
| 35 | | +----+----------+--------------------------+ |
| 36 | | | 4 | patrick | boenzlip@orxonox.net | |
| 37 | | | 7 | wenners | nowic@orxonox.ethz.ch | |
| 38 | | | 6 | beni | bknecht@orxonox.ethz.ch | |
| 39 | | | 8 | stefalie | lieni@orxonox.ethz.ch | |
| 40 | | | 9 | silvan | silvan@orxonox.ethz.ch | |
| 41 | | | 10 | x3n | landauf@orxonox.ethz.ch | |
| 42 | | | 11 | nico | nicolasc@orxonox.ethz.ch | |
| 43 | | | 13 | felix | felischu@orxonox.ethz.ch | |
| 44 | | | 14 | reto | rgrieder@orxonox.ethz.ch | |
| 45 | | | 15 | oli | scheusso@orxonox.ethz.ch | |
| 46 | | +----+----------+--------------------------+ |
| 47 | | |
| 48 | | mysql> select * from users; |
| 49 | | +----+----------------------+----------+-----------------+------+------+----------------+--------------------------+-------+---------+ |
| 50 | | | id | email | clear | name | uid | gid | homedir | maildir | quota | postfix | |
| 51 | | +----+----------------------+----------+-----------------+------+------+----------------+--------------------------+-------+---------+ |
| 52 | | | 1 | boenzlip@orxonox.net | password | Patrick Boenzli | 1000 | 100 | /home/boenzlip | /home/boenzlip/.maildir/ | | y | |
| 53 | | | 2 | bensch@orxonox.net | password | Benjamin Grauer | 1101 | 1101 | /home/bensch | /home/bensch/.maildir | | y | |
| 54 | | | 3 | hofzge@orxonox.net | password | Simon Hofmann | 1006 | 100 | /home/hofzge | /home/hofzge/.maildir | | y | |
| 55 | | | 4 | bknecht@orxonox.net | password | Benjamin Knecht | 1007 | 100 | /home/bknecht | /home/bknecht/.maildir | | y | |
| 56 | | | 5 | nowic@orxonox.net | password | Simon Wenner | 1008 | 1008 | /home/nowic | /home/nowic/.maildir | | y | |
| 57 | | +----+----------------------+----------+-----------------+------+------+----------------+--------------------------+-------+---------+ |
| 58 | | }}} |
| 59 | | |
| 60 | | The remaining tables are either empty or contain useless information. |