LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Postfix -> Virtual Email Accounts (https://www.linuxquestions.org/questions/linux-general-1/postfix-virtual-email-accounts-485094/)

cccc 09-19-2006 05:43 PM

Postfix -> Virtual Email Accounts
 
hi

on debian sarge stable I've installed:

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

and it works.

howto setup virtual email accounts, I mean not system accounts ?

msound 09-20-2006 11:22 AM

unfortunately I never had any luck with this. I ended up using virtial alias tables. So I still created a system account like always, but instead of using /etc/aliases I used /etc/postfix/virtual and I specified aliases for multiple domains. I know it doesn't answer your question but I hope this helps.

cccc 09-21-2006 05:46 AM

Quote:

Originally Posted by msound
unfortunately I never had any luck with this. I ended up using virtial alias tables. So I still created a system account like always, but instead of using /etc/aliases I used /etc/postfix/virtual and I specified aliases for multiple domains. I know it doesn't answer your question but I hope this helps.

could I give pls some more details ?

billymayday 09-21-2006 06:01 AM

Have you read the virual docs on the postfix site? They're pretty detailed

trickykid 09-21-2006 06:02 AM

Try reading the default man page that is included in the virtual file in /etc/postfix/

Also, to create virtual users as you imply, sounds as if you need to setup either LDAP or MySQL/DB backend to handle the virtual email accounts for authentication.

Other than that, www.postfix.org is a good site to learn more about Postfix and it's capabilities.

cccc 09-21-2006 08:07 PM

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

billymayday 09-22-2006 03:04 AM

Pretty sure you can do it with a hash table (similar to the aliases file)

Quote:

1 /etc/postfix/main.cf:
2 virtual_alias_domains = example.com ...other hosted domains...
3 virtual_alias_maps = hash:/etc/postfix/virtual
4
5 /etc/postfix/virtual:
6 postmaster@example.com postmaster
7 info@example.com joe
8 sales@example.com jane
9 # Uncomment entry below to implement a catch-all address
10 # @example.com jim
11 ...virtual aliases for more domains...

from the postfix doc page


All times are GMT -5. The time now is 12:14 AM.