HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   virtual mail boxes setup (http://www.howtoforge.com/forums/showthread.php?t=10012)

satimis 22nd January 2007 15:57

virtual mail boxes setup
 
Hi folks,

Ubuntu-6.06.1-LAMP-server-amd64
postfix+maildrop+courier+sasl etc.

Where can I find documents re setup virtural mail boxes for users. TIA

B.R.
satimis

falko 23rd January 2007 17:54

Take a look here: http://www.howtoforge.com/virtual_po..._quota_courier
But the mysql-*.cf file format has changed since Postfix 2.2, so for the format of these files you should refer to http://www.howtoforge.com/fedora_vir..._quota_courier

satimis 24th January 2007 07:19

Hi falko,

Ubuntu-6.06.1-LAMP-server-amd64


Tks for your advice and URLs

According to;
http://www.howtoforge.com/virtual_po..._quota_courier

1 Install Postfix, Courier, Saslauthd, MySQL, phpMyAdmin
This can all be installed with one single command:
apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authmysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl postfix-tls libsasl2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl phpmyadmin (1 line!)

Because some packages have been installed already and I don't expect to overwrite the existing config files on reinstalling them. There I performed follows;

$ dpkg -al | grep postfix
Code:

ii  postfix                                          2.2.10-1ubuntu0.1              A high-performance mail transport agent
$ dpkg -al | grep mysql
Code:

ii  libapache2-mod-auth-mysql                        4.3.9-2ubuntu3              Apache 2 module for MySQL authentication
ii  libdbd-mysql-perl                                3.0002-2build1              A Perl5 database interface to the MySQL data
ii  libmysqlclient12                                4.0.24-10ubuntu2              mysql database client library
ii  libmysqlclient12-dev                            4.0.24-10ubuntu2              mysql database development files
ii  libmysqlclient15off                              5.0.22-0ubuntu6.06.2              mysql database client library
ii  mysql-admin                                      1.1.6-1build1              GUI tool for intuitive MySQL administration
ii  mysql-admin-common                              1.1.6-1build1              Architecture independent files for MySQL Adm
ii  mysql-client                                    5.0.22-0ubuntu6.06.2              mysql database client (current version)
ii  mysql-client-5.0                                5.0.22-0ubuntu6.06.2              mysql database client binaries
ii  mysql-common                                    5.0.22-0ubuntu6.06.2              mysql database common files (e.g. /etc/mysql
ii  mysql-server                                    5.0.22-0ubuntu6.06.2              mysql database server (current version)
ii  mysql-server-5.0                                5.0.22-0ubuntu6.06.2              mysql database server binaries
ii  php5-mysql                                      5.1.2-1ubuntu3.4              MySQL module for php5
ii  php5-mysqli                                      5.1.2-1ubuntu3.4              MySQL Improved module for php5
ii  python-mysqldb                                  1.2.1c3-4ubuntu4              A Python interface to MySQL
ii  python2.4-mysqldb                                1.2.1c3-4ubuntu4              A Python interface to MySQL

$ dpkg -al | grep postfix-mysql
$ dpkg -al | grep postfix-doc
both no printout

$ dpkg -al | grep mysql-client
Code:

ii  mysql-client                                    5.0.22-0ubuntu6.06.2              mysql database client (current version)
ii  mysql-client-5.0                                5.0.22-0ubuntu6.06.2              mysql database client binaries

$ dpkg -al | grep mysql-server
Code:

ii  mysql-server                                    5.0.22-0ubuntu6.06.2              mysql database server (current version)
ii  mysql-server-5.0                                5.0.22-0ubuntu6.06.2              mysql database server binaries

$ dpkg -al | grep courier
Code:

ii  courier-authdaemon                              0.47-13ubuntu5.1              Courier Mail Server - Authentication daemon
ii  courier-base                                    0.47-13ubuntu5.1              Courier Mail Server - Base system
ii  courier-imap                                    3.0.8-13ubuntu5.1              Courier Mail Server - IMAP server
ii  courier-maildrop                                0.47-13ubuntu5.1              Courier Mail Server - Mail delivery agent
ii  courier-ssl                                      0.47-13ubuntu5.1              Courier Mail Server - SSL/TLS Support

$ dpkg -al | grep courier-pop
no printout

$ dpkg -al | grep libsasl2
Code:

ii  libsasl2                                        2.1.19.dfsg1-0.1ubuntu2              Authentication abstraction library
ii  libsasl2-modules                                2.1.19.dfsg1-0.1ubuntu2              Pluggable Authentication Modules for SASL

$ dpkg -al | grep sasl2
Code:

ii  libsasl2                                        2.1.19.dfsg1-0.1ubuntu2              Authentication abstraction library
ii  libsasl2-modules                                2.1.19.dfsg1-0.1ubuntu2              Pluggable Authentication Modules for SASL
ii  sasl2-bin                                        2.1.19.dfsg1-0.1ubuntu2              Programs for manipulating the SASL users dat

$ dpkg -al | grep libpam
Code:

ii  libpam-foreground                                0.3              create lockfiles describing which users own
ii  libpam-modules                                  0.79-3ubuntu14              Pluggable Authentication Modules for PAM
ii  libpam-runtime                                  0.79-3ubuntu14              Runtime support for the PAM library
ii  libpam0g                                        0.79-3ubuntu14              Pluggable Authentication Modules library

$ dpkg -al | grep openssl
Code:

ii  openssl                                          0.9.8a-7ubuntu0.3              Secure Socket Layer (SSL) binary and related
ii  python-pyopenssl                                0.6-2ubuntu3              Python wrapper around the OpenSSL library (d
ii  python2.4-pyopenssl                              0.6-2ubuntu3              Python wrapper around the OpenSSL library, e
ii  ssl-cert                                        1.0.13              Simple debconf wrapper for openssl

$ dpkg -al | grep phpmyadmin
no printout

I found following packages not installed yet;
Code:

postfix-mysql postfix-doc courier-authmysql courier-pop courier-pop-ssl courier-imap-ssl postfix-tls libsasl2-modules-sql libpam-mysql phpmyadmin
$ sudo apt-get install postfix-mysql postfix-doc courier-authmysql courier-pop courier-pop-ssl courier-imap-ssl postfix-tls libsasl2-modules-sql libpam-mysql phpmyadmin
Code:

Reading package lists... Done
Building dependency tree... Done
Package postfix-tls is a virtual package provided by:
  postfix 2.2.10-1ubuntu0.1
You should explicitly select one to install.
E: Package postfix-tls has no installation candidate

Please advise how to proceed. TIA


Edit:
On this network there is no workstation connected. What front-end/GUI package I need to install to send mails instead of running the command line "telnet localhost 25 etc."

Evolution or there are others? TIA


B.R.
satimis

falko 25th January 2007 18:32

Quote:

Originally Posted by satimis
$ sudo apt-get install postfix-mysql postfix-doc courier-authmysql courier-pop courier-pop-ssl courier-imap-ssl postfix-tls libsasl2-modules-sql libpam-mysql phpmyadmin
Code:

Reading package lists... Done
Building dependency tree... Done
Package postfix-tls is a virtual package provided by:
  postfix 2.2.10-1ubuntu0.1
You should explicitly select one to install.
E: Package postfix-tls has no installation candidate

Please advise how to proceed. TIA

The package postfix-tls doesn't exist anymore, so leave it out.


Quote:

Originally Posted by satimis
Edit:
On this network there is no workstation connected. What front-end/GUI package I need to install to send mails instead of running the command line "telnet localhost 25 etc."

Evolution or there are others? TIA

You can use any email client, e.g. Evolution, Outlook, Thunderbird, webmail packages such as Squirrelmail, etc.


All times are GMT +2. The time now is 22:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.