HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Steps for creating virtual email boxes (

satimis 12th June 2007 09:32

Steps for creating virtual email boxes
Hi folks,

OpenBSD 4.0 X86_64

Please shed me some light on creating virtual email boxes.

For example
To set up a virtual email box for "Albert Jones", I run;

$ su
# su - _vmail
$ mkdir -p
$ maildirmake
$ maildirmake -q 10000000S

all went through w/o complaint.

$ mysql -u root -p

Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 5.0.24a-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


Now I can't recall whether having run following command before;

mysql> insert into postfix_virtual_domains values

Is there any way to check??? If NO can I re-run the command? Any possible mistake created in doing so? Tks.

To create an account for "albert" whether to run;

mysql> insert into postfix_users
(email,clear,name,homedir,maildir,quota) values
('','UzeR0nePazz','Albert Jones','/var/mail/vmail','','10000000');


mysql> \q
That is all (same procedure for creating other accounts) ???

Is the above command correct? Afterwards how to check it is working locally on the email server instead of sending albert an email from another LAN? TIA


falko 13th June 2007 02:15

Take a look here:
That should give you the idea.

All times are GMT +2. The time now is 13:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.