1

Topic: Fresh iRedMail 0.7.4 install on latest Ubuntu 10.04 LTS = postfix fail

Hello everybody,

I have just installed iRedMail 0.7.4 on a daily generated Ubuntu 10.04 LTS system.
( using this iso : http://cdimage.ubuntu.com/ubuntu-server … r-i386.iso )

During installation (I selected a bare installation, only openSSH server) the installer now asks for Postfix configuration.
(I had done a similar install 2 weeks ago and if I remember, the postfix question was not asked by the installer, and iRedMail worked fine)

So I chose "no configuration" for postfix.

Then after installing iRedMail, postfix does not work well :

...
Mar  2 18:55:27 mx postfix/local[1710]: fatal: open database /etc/aliases.db: No such file or directory
Mar  2 18:55:28 mx postfix/master[1439]: warning: process /usr/lib/postfix/local pid 1710 exit status 1
Mar  2 18:55:28 mx postfix/master[1439]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Mar  2 18:56:28 mx postfix/local[1712]: fatal: open database /etc/aliases.db: No such file or directory
Mar  2 18:56:29 mx postfix/master[1439]: warning: process /usr/lib/postfix/local pid 1712 exit status 1
Mar  2 18:56:29 mx postfix/master[1439]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Mar  2 18:57:29 mx postfix/local[1714]: fatal: open database /etc/aliases.db: No such file or directory
Mar  2 18:57:30 mx postfix/master[1439]: warning: process /usr/lib/postfix/local pid 1714 exit status 1
Mar  2 18:57:30 mx postfix/master[1439]: warning: /usr/lib/postfix/local: bad command startup -- throttling

Looks like a conflict of postfix configuration...

I have yet to retry a fresh installation of Ubuntu, without the postfix package installed (or do an apt-get purge postfix before installing iRedMail)

Can somebody confirm the same problem?


==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version:
- iRedMail version and backend (LDAP/MySQL):
- Any related log? Log is helpful for troubleshooting.
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Fresh iRedMail 0.7.4 install on latest Ubuntu 10.04 LTS = postfix fail

Could you please post output of command 'postconf -n' here to help troubleshoot? Just want to make sure whether Postfix was correctly configured by iRedMail or not.

Mar  2 18:56:28 mx postfix/local[1712]: fatal: open database /etc/aliases.db: No such file or directory

Not a big issue, please make sure you have below two settings in Postfix main.cf:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases

3

Re: Fresh iRedMail 0.7.4 install on latest Ubuntu 10.04 LTS = postfix fail

Hi Zhang

Sorry I have destroyed my Ubuntu setup, and just installed a fresh Debian 6.0 instead, it works like a charm smile

I think that with Ubuntu, we need to prevent any postfix package to be selected at installation time. So no conflicts occurs.

Thanks for your help and thanks for iRedMail smile