1 (edited by rusty 2012-03-15 08:19:03)

Topic: Fresh install problems, Any help very much apreciated

==== Basic information to help troubleshoot ====
- iRedMail version:       0.7.3
- OS:                           Debian squeeze / 6
- Any related log?         Loads!
====

Had a few attempts now and it always seems to go wrong, just wondering if anyone can spot any silly mistakes?

So have just done a fresh install of debian 6.

Step 1) Setup hostname / hosts see step1.jpg

Step 2) Yup both there, ran apt-get update all goes smoothly
  //   Reading package lists... Done

Step 3) install bzip2, download iredmail and unpack tar, yup fine

Step 4) run shell script, downloads some packages looks fine

Step 5)
I leave mail dir as /var/mail
I select MySql
I set root sql password
i set first virtual domain as #
i set postmaster password and first virtual user
I install all of the packages
i set language to en-gb
i hit y and return

Step 6)
Things download, it looks ok
Things look ok but i see a warning for /etc/postfix/main.cf missing
Lots of errors  moaning about main.cf
lots of <INFO > all look fine except amavisd has a line beneath saying drop-priv no such username
I start iptables
I sart postfix
I restart server


mail.log:
http://pastebin.com/cLQWizNX

mail.err:
Oct 13 11:22:07 server6100 postfix/sendmail[9730]: fatal: open /etc/postfix/main.cf: No such file or directory
Oct 13 11:23:24 server6100 postfix/postalias[12978]: fatal: open /etc/postfix/main.cf: No such file or directory
Oct 13 11:23:25 server6100 postfix/sendmail[12979]: fatal: open /etc/postfix/main.cf: No such file or directory
Oct 13 11:24:47 mail postfix/local[15363]: fatal: open database /etc/aliases.db: No such file or directory
Oct 13 11:25:48 mail postfix/local[15364]: fatal: open database /etc/aliases.db: No such file or directory
Oct 13 11:28:33 mail postfix/local[1897]: fatal: open database /etc/aliases.db: No such file or directory
Oct 13 11:29:34 mail postfix/local[1922]: fatal: open database /etc/aliases.db: No such file or directory

postfig conf:
root@server:/etc/postfix# cat main.cf
#
# Uncomment the following line to enable policyd sender throttle.
#
#smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10032
mailbox_command = /usr/lib/dovecot/deliver
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = ./dovecot-auth
content_filter = smtp-amavis:[127.0.0.1]:10024
smtp-amavis_destination_recipient_limit = 1


Any ideas what my next step should be to get this all working?


Kind regards

Rusty

----

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

2

Re: Fresh install problems, Any help very much apreciated

rusty wrote:

root@rustybox:/etc/postfix# cat main.cf

You don't have complete Postfix config file, that means you don't have Postfix completely installed, that's why you saw below error messages:

- Things look ok but i see a warning for /etc/postfix/main.cf missing
- lots of <INFO > all look fine except amavisd has a line beneath saying drop-priv no such username

Suggestion:

- Re-install Debian OS.
- Re-install iRedMail.

if you're not familiar with iRedMail, it's a good idea to try to install it on virtual machine first, e.g. VMware, Xen, OpenVZ.

3 (edited by rusty 2011-10-14 06:56:57)

Re: Fresh install problems, Any help very much apreciated

Cheers for the reply Zhang.

Re-install debian doesn't seem to help as this is now my 3rd attempt (I don't have complete control over the install as it is done by a control panel provided by my hosting provider so any do over results in the same issues)

Is there any prep I can do before starting IRedmail.sh to make sure things will go smoothly?

Regards

Rusty

4

Re: Fresh install problems, Any help very much apreciated

rusty wrote:

Is there any prep I can do before starting IRedmail.sh to make sure things will go smoothly?

Install Postfix manually before starting iRedMail installation:

# apt-get install postfix postfix-pcre

5 (edited by rusty 2011-10-14 18:14:34)

Re: Fresh install problems, Any help very much apreciated

Cheers again dude,

Will give it a go tommorow (it's late in the UK) and report back.


EDIT:

Well first attempt didn't work.. However,

i followed the postfix part of this guide http://www.debianadmin.com/debian-mail- … -mail.html
# aptitude install postfix postfix-tls libsasl2 sasl2-bin libsasl2-modules popa3d

I still had no main.cf so i ran
# dpkg-reconfigure postfix

Then i ran iredmail.sh

and bang I can send and recieve email!!

Cheers dude, great package smile