LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-29-2012, 01:33 PM   #1
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Rep: Reputation: 32
Adding new mailbox to postfix/dovecot?


I have postfix/dovecot installed over webmin but virtualmin part not working,throwing some perl execution failed so that means i cant use virtualmin to create accounts or mailboxes.Could be some bug considering i installed cent os 6 which is still fresh.
Anyone knows how to add manually mailbox?When i check tutorials on google i see they say to add virtual domain mailbox to main.cnf and also add new user,and before that to add
dns entries-mail.domain.com A ipadressofserver MX 10 mail.domain.com
So i added dns entry,but it's not clear how to connect created os username with mail username/mailbox.For example,how i would create mailbox info@domain.com with same username and point it to user folder ?

Last edited by centosfan; 01-29-2012 at 01:43 PM.
 
Old 01-29-2012, 01:39 PM   #2
tva
Member
 
Registered: Jul 2010
Location: Finland
Distribution: Open SUSE 13.1
Posts: 83

Rep: Reputation: 8
You could try installing Postfixadmin, there should be rather good installing instructions attached, if you need easy interface for administrating mailboxes.
 
Old 01-29-2012, 01:45 PM   #3
centosfan
Member
 
Registered: Jun 2003
Location: Golem city
Distribution: Server - Debian Desktop - Linux Mint
Posts: 219

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by tva View Post
You could try installing Postfixadmin, there should be rather good installing instructions attached, if you need easy interface for administrating mailboxes.
I tried that too by following this tutorial:http://www.linuxmail.info/postfix-admin-howto-centos-5/
but it seems it missing part where postfix uses mysql data for aliases.Do you know any tutorial which explain that part too?
 
Old 01-29-2012, 11:30 PM   #4
tva
Member
 
Registered: Jul 2010
Location: Finland
Distribution: Open SUSE 13.1
Posts: 83

Rep: Reputation: 8
Quote:
Originally Posted by centosfan View Post
I tried that too by following this tutorial:http://www.linuxmail.info/postfix-admin-howto-centos-5/
but it seems it missing part where postfix uses mysql data for aliases.Do you know any tutorial which explain that part too?

I have it like this. I'll look at that tutorial when I have more time and check if this would work with it too.

In main.cf
Code:
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
/etc/postfix/mysql_virtual_alias_maps.cf
Code:
user = username
password = password
hosts = localhost
dbname = database

query = SELECT goto FROM alias WHERE address = '%s'
 
  


Reply



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
postfix can't deliver to certain mailbox brgsousa Linux - Software 2 02-24-2010 06:32 AM
Postfix Mailbox Size carlosinfl Linux - Server 3 08-17-2007 02:29 PM
Dovecot imap mailbox access problem from network. vedang Fedora 2 12-26-2006 11:56 PM
Dovecot not able to show me mailbox content lmcilwain Linux - Software 3 12-10-2006 03:07 PM
Dovecot mailbox format? ryedunn Linux - Newbie 4 10-19-2006 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:47 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
Open Source Consulting | Domain Registration