Operating System - Linux
1829065 Members
2391 Online
109986 Solutions
New Discussion

Re: Postfix -> setup virtual email accounts

 
'chris'
Super Advisor

Postfix -> setup virtual email accounts

hi

on debian sarge stable I've installed:

postfix with TLS/SASL
courier-IMAP/courier-POP3
squirrelmail

howto setup virtual email accounts for the local domain ?
I mean not system accounts.

is it any way to create virtual accounts without mysql or any other database ?

kind regards
chris

3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Postfix -> setup virtual email accounts

Shalom chris,

Seems I missed a thread along the way here. If you are storing your mail in a mysql database then that is where the mail is going to go.

Normally all you need is an account on the system to accept mail. useradd then passwd the user.

I have a system that manages multiple domains, an actual account on the system must be set up to authenticate the user.

If you have gone to a completely mysql based system then you may only need to add a mysql account to permit mail and do not need useradd system account. That's mysql code you add as the root mysql user.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Manuel Wolfshant
Trusted Contributor

Re: Postfix -> setup virtual email accounts

An excellent solution for your problem is described at http://high5.net/postfixadmin/
Basically you have a set of mysql tables + a web interface; all applications (postfix, courier and the web interface) talk to mysql (squirrel talks to imap by design) and retrieve the user data from there.
I have it implemented for a couple of years, works like a charm.
Manuel Wolfshant
Trusted Contributor

Re: Postfix -> setup virtual email accounts

I appologize, I have just seen the "without mysql or any other database" part.
You can have virtual users in an chrooted /etc/passwd file, but i do not think the effort is worth it.