LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-06-2008, 10:53 AM   #1
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Rep: Reputation: 0
Virtual Email Account for virtual domain in Postfix


I configured two domains in Postfix one of them is virtual configured as mentioned below;

Here is an example of a virtual mailbox domain "example.com":

1 /etc/postfix/main.cf:
2 virtual_mailbox_domains = example.com ...more domains...
3 virtual_mailbox_base = /var/mail/vhosts
4 virtual_mailbox_maps = hash:/etc/postfix/vmailbox
5 virtual_minimum_uid = 100
6 virtual_uid_maps = static:5000
7 virtual_gid_maps = static:5000
8 virtual_alias_maps = hash:/etc/postfix/virtual
9
10 /etc/postfix/vmailbox:
11 info@example.com example.com/info
12 sales@example.com example.com/sales/

Now i have to create virtual user account because info user is already created for jd.com domain, now i have to same user for example.com; I don't want to use any database, I want save virtual mailbox in linux as jd.com has.

Please help to solve this problem;
Thanks
 
Old 10-07-2008, 04:38 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
I don't understand your question, sorry.

What handles email for jd.com?

Perhaps you can explain what your goal is, and avoid specifying how you think it should be accomplished.
 
Old 10-07-2008, 11:19 PM   #3
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Dear;

I configured two domains one is jd.com and example.com; jd.com is running smoothly with Linux Accounts, now i have to configure example.com as virtual domain (http://www.postfix.org/VIRTUAL_README.html)like Postfix virtual MAILBOX example: separate domains, non-UNIX accounts. Now i want to access emails with non unix accounts, but how. Problem is this, where these non unix accounts will exist and how we can assign password to them.
 
Old 10-07-2008, 11:27 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
Ok, got it.

There are two distinct concepts here:

1) mailbox location, and
2) mailbox access

Postfix deals with (1), and an IMAP or POP client will deal with (2).

You have the idea correct for your Postfix configuration above (be sure your mailboxes end with a / if you want Maildir - see your example.com/info which is missing the trailing /, so it would be mbox format, different from your sales Maildir).

Postfix will deliver mail to the specified Maildir or mbox.

Now you have to configure an IMAP or POP server to access those Maildir's or mbox's. I assume you already have one setup for your jd.com domain; is this correct?
 
Old 10-09-2008, 12:58 AM   #5
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks dear;

How can assign password to virtual domain email user;
I configured thundermail(MUA)with virtual domain email address; when i sent email through this adress and received of other address; when i sent email from other address to virtual domain email address and click on get email it ask for password. Kindly let me know how can assign password to virtual domain email address; like info@example.com
 
Old 10-09-2008, 01:07 AM   #6
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
How can one help when there is not enough information presented to help?

Have you installed and configured an IMAP or POP server?
If so, which one?
If not, install and configure one.

Postfix has nothing to do with the "get email" password - that is POP or IMAP.
 
Old 10-17-2008, 05:39 AM   #7
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Dear thanks for your passions to work with me.

I enabled pop and Imap from /etc/dovecot.conf file. Can easly access email with linux account through pop/imap; i enabled below entry in this file.

proticols = imap imaps pop3 pop3s

I can't access emails that created virtually because it ask for user password that not exist in linux due to below line description in postfix.org.
Postfix virtual MAILBOX example: separate domains, non-UNIX accounts.

If there any other option to configure pop/Imap; kindly help to fix this issue.
 
Old 10-17-2008, 12:31 PM   #8
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
You must configured DOVECOT by populating a database it accepts which contain the list of virtual user names, passwords, etc. This is a DOVECOT configuration issue, not Postfix.

http://www.google.com/search?hl=en&s...l+user&spell=1
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with Postfix for virtual domain support. vbsaltydog Linux - Server 1 07-29-2008 01:17 AM
Postfix Virtual Domain Kalevra Linux - Server 1 03-14-2008 01:02 AM
Postfix virtual accounts + shell account Teukka Linux - Server 3 04-02-2007 12:55 PM
postfix and virtual domain problems... MadOtis Linux - Software 1 04-28-2004 07:23 AM
Postfix virtual domain eyt Linux - Newbie 0 02-23-2004 05:07 PM


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

Main Menu
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