Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12th June 2007, 09:32
satimis satimis is offline
Senior Member
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default 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 satimis.com/albert
$ maildirmake satimis.com/albert/Maildir
$ maildirmake -q 10000000S satimis.com/albert/Maildir

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
('albert@satimis.com','UzeR0nePazz','Albert Jones','/var/mail/vmail','satimis.com/albert/Maildir/','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

Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL - Email groups Maxum HOWTO-Related Questions 2 11th May 2007 18:03
Mail server - setup virtual mail boxes satimis Server Operation 4 11th February 2007 16:50
virtual mail boxes setup satimis Server Operation 3 25th January 2007 19:32
email forwarding locally consumes all resources rdells General 20 1st May 2006 20:43
postfix config jmroth Installation/Configuration 6 18th September 2005 16:58

All times are GMT +2. The time now is 03:41.

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