Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Dec 23, 2004 1:56 am 
Offline
Senior Newbie
User avatar

Joined: Thu Dec 23, 2004 1:51 am
Posts: 8
Website: http://www.dishkuvek.org
AOL: C+Dishkuvek
Location: Richmond, VA
Is there any implimintation of virtual domain email configuration with postfix that would allow each individual user that owns a particular domain for which they have virtual mail for, to configure the users and mailboxes themselves?


Top
   
 Post subject:
PostPosted: Thu Dec 23, 2004 11:12 am 
Offline
Junior Member

Joined: Wed Jul 21, 2004 5:15 pm
Posts: 25
the easiest way is to add a user then make the user not able to ssh or ftp into the box. This will create the maildir and creditials.


Top
   
 Post subject:
PostPosted: Thu Dec 23, 2004 12:41 pm 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
What the original poster is asking for is virtual mailboxes and a back-end for storing user information (other than in /etc/passwd) -- covered at:

http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox

Works great. 8)

I've used that stuff before. Only caveat is that you'd also want to write some kind of front-end to administer the setup including setting up appropriate protections. Especially if you let end users create/edit/delete usernames in your directory or database server setup.

You can use any of the back-ends available for virtual mailbox support -- DBM, MySQL, LDAP, flat files, etc. Pick whichever one you're comfortable with administering.

I would strongly recommend something other than /etc/passwd or flat files. LDAP or MySQL would probably be a better choice since you can enforce more fine-grained permissions for create/edit/delete.

It's better than hacks like filesystem ACLs which would still leave you vulnerable to users touching other domains' users account information.


Top
   
 Post subject:
PostPosted: Thu Dec 23, 2004 2:39 pm 
Offline
Senior Member
User avatar

Joined: Sat Jan 03, 2004 7:34 pm
Posts: 71
Website: http://www.darkforestmud.net
AOL: asura02003
Location: Oregon
Virtualmin for Webmin works great for this. You can set up or import a virtual domain into Virtualmin, then individual domain owners can add mailboxes (you can control how many are allowed), or more login accounts if you let them.


Top
   
 Post subject:
PostPosted: Thu Dec 23, 2004 5:51 pm 
Offline
Senior Newbie
User avatar

Joined: Thu Dec 23, 2004 1:51 am
Posts: 8
Website: http://www.dishkuvek.org
AOL: C+Dishkuvek
Location: Richmond, VA
Thanks everyone. I am thinking about using mysql as a backend. It seems a lot easier to allow users to create all sorts of virtual mailboxes.

I guess I would then create an admin page for each virtual domain account so that the owners of those domains could control their own mailboxes.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group