Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-07-2010, 04:32 AM
|
#1
|
Member
Registered: Nov 2010
Posts: 40
Rep:
|
Postfix management web interface for virtual mailboxes
I'm looking for a Postfix Management Web interface for user, domains, etc...
The problem is I'm not using mysql for domains/users, so I can't use postfixadmin. I use virtual mailboxes as described here: http://www.postfix.org/VIRTUAL_READM...irtual_mailbox
Basically all mappings are saved inside an /etc/postfix/vmaps file.
The users/passwords files are in /home/vmail/passwd and /home/vmail/shadow.
Users are in /home/vmail/$domain/$user
I searched for a web management tool that supports my config for weeks now, and can't seem to find any...
|
|
|
11-07-2010, 09:28 PM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
|
|
|
11-07-2010, 11:21 PM
|
#3
|
Member
Registered: Nov 2010
Posts: 40
Original Poster
Rep:
|
paulsm4, I'm affraid you did not pay attention to my question. I'm not looking for a webmail client, I have plenty of those. I want a USER management interface... you know, for creating users, domains, changing passwords... that sort of stuff. I'm pretty sure there isn't one out there that suits my needs, but hey, it doesn't hurt asking, right? 
|
|
|
11-08-2010, 03:52 AM
|
#4
|
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125
|
I am not aware of any configuration clients for your setup either. I am curious though, if you have considered going to a mysql backend for your server, which will let you use postfixadmin. The changeover shouldn't be too difficult and consist of a couple of lines in main.cf and creation of a couple small text files for the SQL configuration. I personally use it and think it is great.
|
|
|
11-08-2010, 06:09 AM
|
#5
|
Member
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444
Rep:
|
In general, you need to look at the various databases that can store information for your virtual users. Then look at the tools available to manage those databases.
For example, if you want to use LDAP, you can use a tool such as LDAP Admin.
http://ldapadmin.sourceforge.net/index.html
|
|
|
11-08-2010, 11:51 PM
|
#6
|
Member
Registered: Nov 2010
Posts: 40
Original Poster
Rep:
|
@Noway2: Well, yeah, it looks like my only choice is to go for mysql virtual mailboxes. Don't get me wrong, I know it's not that hard if you're doing it from scratch or if you have 10, 20 users... But since I have about 1500 users and better things to do than add them to the database... well... you get my drift 
|
|
|
11-09-2010, 03:45 AM
|
#7
|
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125
|
Ouch, I had a feeling that might have been the problem. If you do decide to create a database for this, I might suggest that it would be far easier to write a small program that will create the user accounts automatically. Since both Perl and PHP (command line edition would probably be the better choice here) bind nicely with MySQL, you could iterate through the user and password file(s), match on the proper fields and "insert" each user directly into the table. You could use a prepared statement and the user, password, etc would simply be variables.
Afterwards, the postfixadmin tool would help you to maintain things, but I agree that it would be a lot of error prone effort to enter all the users manually.
|
|
|
11-09-2010, 11:38 PM
|
#8
|
Member
Registered: Nov 2010
Posts: 40
Original Poster
Rep:
|
Yeah, although I keep postponing it, this is probably what I'll do, eventually. Thanks for the advices, guys !
|
|
|
All times are GMT -5. The time now is 08:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|