1 (edited by ishraq.1991 2016-10-25 16:46:05)

Topic: How to create domain mail

I have created a droplet and my domain name is deshipro.com
I have already my site running at this domain. My hostname is also deshipro.com

Now i want to create mail like - ishraq@deshipro.com
xyz@deshipro.com

I am new at it. My ubuntu version is 14.04 and nginx version is 1.11.1. iRedMail version - 0.9.5-1

Steps that i followed -
step 1: I downloaded the iRedMail 0.9.5-1 and put it into the root folder
step 2: Then i extracted the iRedMail 0.9.5-1 file and enter to this folder via command line
step 3: then i type bash iRedMail.sh

Then it's showing me this error -
dpkg: error processing archieve /var/cache/apt/archives/nginx-common_1.4.6-1ubuntu3.5_all.deb

----

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

2

Re: How to create domain mail

iRedMail is designed to be deployed on a FRESH server system, which means your server does NOT have mail related components installed, e.g. MySQL, OpenLDAP, Postfix, Dovecot, Amavisd, etc. iRedMail will install and configure them for you automatically. Otherwise it may override your existing files/configurations althought it will backup files before modifying, and it may not be working as expected.

*) Please remove cache file "/var/cache/apt/archives/nginx-common_1.4.6-1ubuntu3.5_all.deb" first.
*) If your Nginx doesn't have any data, please remove it and launch iRedMail installer again (bash iRedMail.sh).

3 (edited by ishraq.1991 2016-10-25 17:08:59)

Re: How to create domain mail

I have no file named nginx-common_1.4.6-1ubuntu3.5_all.deb in /var/cache/apt/archives/
Please check the attachment.

Post's attachments

Screenshot_2.png
Screenshot_2.png 19.26 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

4

Re: How to create domain mail

Run 'apt-get clean' to remove archived files, then run "bash iRedMail.sh" again.

5

Re: How to create domain mail

Yes, I run apt-get clean then bash iRedmail-0.9.5-1.sh

Then i got the error. Please check the attachment

Post's attachments

Screenshot_3.png
Screenshot_3.png 57.92 kb, 1 downloads since 2016-10-25 

You don't have the permssions to download the attachments of this post.

6

Re: How to create domain mail

any help?

7

Re: How to create domain mail

ishraq,

can you try:

sudo apt-get remove nginx-common

sudo apt-get clean all

and retry installation

8

Re: How to create domain mail

Now it's showing me the following errors.

Post's attachments

Screenshot_4.png
Screenshot_4.png 182.08 kb, 2 downloads since 2016-10-25 

You don't have the permssions to download the attachments of this post.

9 (edited by ketan.aagja 2016-10-25 21:05:38)

Re: How to create domain mail

use sudo apt-get autoremove

Please install nginx-common first:

sudo apt-get install nginx-common

try again with installation, if it fails again follow below:

sudo apt-get remove nginx* && sudo apt-get install nginx-common nginx-full

10

Re: How to create domain mail

It's showing me nginx-full has no installation candidate

11

Re: How to create domain mail

do you have apache installed? mainly if it is installed and running on port 80 nginx will fail in installation.

12

Re: How to create domain mail

No, I don't have apache installed.

13

Re: How to create domain mail

can you try installing default nginx before installation? Seems repo issue

sudo apt-get install nginx

and checking issue further?

14

Re: How to create domain mail

Please try iRedMail on a NEW, FRESH server OS. Again:

iRedMail is designed to be deployed on a FRESH server system, which means your server does NOT have mail related components installed, e.g. MySQL, OpenLDAP, Postfix, Dovecot, Amavisd, etc. iRedMail will install and configure them for you automatically. Otherwise it may override your existing files/configurations althought it will backup files before modifying, and it may not be working as expected.

15

Re: How to create domain mail

Ok let me try in a fresh server. I will update you if there is any issue

16

Re: How to create domain mail

At last i can run iredmail and run my mail server mail.deshipro.com
But after i logged in to the server with my postmaster account and created some mail address, all on a sudden it's showing me database error, connection failed.
So what's the issue now?

17

Re: How to create domain mail

Please make sure your SQL server is running.

18

Re: How to create domain mail

my mail server is - mail.deshipro.com

I have created 10 accounts. One is info@deshipro.com . I can login to this account. But unfortunately i can't send or receive any mail.

SO what's the issue now?

19

Re: How to create domain mail

any help?

20

Re: How to create domain mail

Please check Postfix log file to figure out why email cannot be sent/received. Log file location:
http://www.iredmail.org/docs/file.locat … ml#postfix

21

Re: How to create domain mail

My postfix logfile showing this error-

Nov  1 04:29:13 mail postfix/error[24658]: 0691420D90: to=<root@mail.deshipro.com>, relay=none, delay=187152, delays=187151/0.5/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

22

Re: How to create domain mail

ishraq.1991 wrote:

connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

FYI:
http://www.iredmail.org/docs/errors.htm … on-refused

23

Re: How to create domain mail

Alright it seems my droplet size issue. So now i am going to create a new droplet which size will be 2gb in digital ocean. And will named it mail.deshipro.com. I will go with nginx latest version and iRedmail latest version. So can you give me the proper tutorial or instructions so that i can follow them and achieve the mail server. I am working on this mail server for last one week and kind a frustrated now.

TIA

24

Re: How to create domain mail

Just follow our installation tutorial (it does mention 2GB memory is required in "Requirements" section):
http://www.iredmail.org/docs/#install

25

Re: How to create domain mail

What's the issue now

Post's attachments

Screenshot_18.png
Screenshot_18.png 32.82 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.