LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-19-2006, 06:43 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,618

Rep: Reputation: 48
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 ?
 
Old 09-20-2006, 12:22 PM   #2
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
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.
 
Old 09-21-2006, 06:46 AM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,618

Original Poster
Rep: Reputation: 48
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 ?
 
Old 09-21-2006, 07:01 AM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have you read the virual docs on the postfix site? They're pretty detailed
 
Old 09-21-2006, 07:02 AM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.
 
Old 09-21-2006, 09:07 PM   #6
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,618

Original Poster
Rep: Reputation: 48
thanks,but is it any way to create virtual accounts without mysql or any other database ?
 
Old 09-22-2006, 04:04 AM   #7
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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

Last edited by billymayday; 09-22-2006 at 04:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Email client that support HTTP email accounts tumana Linux - Software 6 04-29-2005 09:26 PM
VIrtual accounts nderitualex Linux - Newbie 1 03-21-2005 04:39 AM
Virtual accounts nderitualex Linux - General 1 03-21-2005 04:04 AM
Virtual accounts in Postfix technochef Linux - Software 2 10-25-2004 05:12 PM
virtual email accounts on different domains js_530 Linux - Networking 0 07-26-2003 04:51 PM


All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration