Vdomain
From Virtual postfix admin
- Virtual domain menu is accesible only for users from admin groups
- Option available for Vdomain
Add new domain
- Domain - this is the name of the new domain (ex: new_virtual.ro)
- Passwd - this is the password for the virtual domain user( read more about groups )
- Retype passwd - retype the above password
- UID - the uid(user id) of the domain dir (default is 1000, but you can write any value here).Do not forget,
after adding the domain, you must make a dir in your /var/spool/mail with chown 1000:1000 domain_name.If you want to have web pages in this dir and you want apache user to have write dirs here, you must change UID value 1000 in nobody (this is the apache user/group)
- GID - the gid(group id) of the domain.
- Max emails - this is the maximum number of emails for each virtual domain.The virtual admin (read more about groups ) can add new e-mails until it reach that max email number.
Show domains
- ID - this is the internal ID of the domain.
- Domain - the name of the virtual domain.
- UID - uid of the domain.
- GID - gid of the domain.
- Max - max email number for the domain.
- Modify - this link is for changing the domain setings.
Modify domain
- Domain name - show the name of the domain.You can change this name
- UID - the uid of the domain.If you change this value do not forget to chown -R new_uid:new_gid /var/spool/mail/virtula_domain_name
- GID - the gid of the domain.If you change this value do not forget to chown -R new_uid:new_gid /var/spool/mail/virtula_domain_name
- Max email - if you want to change the max email number of the selected domain.
- New password - change the virtual_domain password.
- Delete - this will delete the domain.If you want to delete all the email don't forget to rm your /var/spool/mail/virtual_domain
- !!!!!!!!!!!!!!!!!!!!!!!
- The old version of the V.A.P.E.S, when the domain was modified, the email addresses from that virtual domain remain the same.For examplem, if i have a domain called test.ro with some email addresses like, user_1@test.ro, user_2@test.ro, when i changed the domain name in info.ro the email addresses remain the same.
- To fix this issue yiu have two options.
- Fist one, download this and this file and insert them into your virtual_mail database following the instructions.
- The second one is to download the virtual_mail_demo.sql from here and drop your old database, create a new one and insert virtual_mail_demo.sql in the new created DB.Be aware, doing this you will lost all your data, backup first ;).For more info read Pgsql

