1 (edited by Zuko 2010-09-27 19:06:37)

Topic: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

Hi, I have problem with "clear" iRedMail installation. I can send mails but I can't receive any (except messages from local users) eg from Gmail.

Log:

Sep 27 12:43:11 fire postfix/smtpd[1844]: connect from mail-iw0-f180.google.com[209.85.214.180]
Sep 27 12:43:11 fire postfix/smtpd[1844]: warning: connect to 127.0.0.1:10031: Connection refused
Sep 27 12:43:11 fire postfix/smtpd[1844]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Sep 27 12:43:12 fire postfix/smtpd[1844]: warning: connect to 127.0.0.1:10031: Connection refused
Sep 27 12:43:12 fire postfix/smtpd[1844]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Sep 27 12:43:12 fire postfix/smtpd[1844]: NOQUEUE: reject: RCPT from mail-iw0-f180.google.com[209.85.214.180]: 451 4.3.5 Server configuration problem; from=<<mygmailmail>@gmail.com> to=<www@<mydomain>> proto=ESMTP helo=<mail-iw0-f180.google
Sep 27 12:43:13 fire postfix/smtpd[1844]: disconnect from mail-iw0-f180.google.com[209.85.214.180]
Sep 27 12:45:56 fire postfix/smtpd[1878]: warning: when SASL type is "dovecot", SASL path "dovecot-auth" should be a socket pathname

Linux fire 2.6.32-24-server #43-Ubuntu SMP Thu Sep 16 16:05:42 UTC 2010 x86_64 GNU/Linux

Any ideas how to fix it? I really want to migrate from CentOS to Ubuntu ;-)

2 (edited by shake 2010-09-27 20:13:52)

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

seem the postfix-policyd not restart

# /etc/init.d/postfix-policyd restart

and try it again.

3 (edited by Zuko 2010-09-27 20:38:39)

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

same error after restart

xxx@fire:~$ sudo /etc/init.d/postfix-policyd restart
[sudo] password for xxx:
Restarting Postfix greylisting policy daemon: postfix-policyd.
Sep 27 14:20:51 fire postfix/smtpd[4859]: warning: when SASL type is "dovecot", SASL path "dovecot-auth" should be a socket pathname
Sep 27 14:20:51 fire postfix/smtpd[4859]: connect from konto.pl[81.2.200.25]
Sep 27 14:20:51 fire postfix/trivial-rewrite[4861]: warning: do not list domain <mydomain> in BOTH mydestination and virtual_mailbox_domains
Sep 27 14:20:51 fire postfix/smtpd[4859]: warning: connect to 127.0.0.1:10031: Connection refused
Sep 27 14:20:51 fire postfix/smtpd[4859]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Sep 27 14:20:52 fire postfix/smtpd[4859]: warning: connect to 127.0.0.1:10031: Connection refused
Sep 27 14:20:52 fire postfix/smtpd[4859]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Sep 27 14:20:52 fire postfix/smtpd[4859]: NOQUEUE: reject: RCPT from konto.pl[81.2.200.25]: 451 4.3.5 Server configuration problem; from=<<mymail>@konto.pl> to=<www@<mydomain>> proto=ESMTP helo=<konto.pl>
Sep 27 14:20:53 fire postfix/smtpd[4859]: disconnect from konto.pl[81.2.200.25]

4 (edited by Zuko 2010-09-27 21:01:35)

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

hmm, after removal check_policy_service inet:127.0.0.1:10031 from smtpd_recipient_restrictions in main.cf I can receive mails.

5 (edited by Zuko 2010-09-28 16:05:14)

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

I can't run postfix-policyd, and can't locate any logs ;/
[policyd v1.82]


root@fire:~# /etc/init.d/postfix-policyd start
Starting Postfix greylisting policy daemon: postfix-policyd.
root@fire:~# ps aux | grep postfix-policyd
root      9969  0.0  0.0   7640   940 pts/0    S+   10:01   0:00 grep --color=auto postfix-policyd
root@fire:~#

6

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

check it whether run

$ netstat -nlp | grep 10031
(No info could be read for "-p": geteuid()=503 but you should be root.)
tcp        0      0 127.0.0.1:10031             0.0.0.0:*                   LISTEN      -          

7

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

unfortunately does not work ;/ (console does not display anything)

8

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

whether is possilbe try to install in vm. I have test in local and have no anyproblem.

you can try to install base +ssh system and install iRedMail again.

9 (edited by Zuko 2010-09-28 17:36:41)

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

just like I did:
- ubuntu 10.04.1 64bit installation
- apt-get update
- apt-get upgrade
- iredmail 0.6.1 instalation
- policyd wont' start (aka I can't receive mails)

edit.
now I will try without apt-get update/upgrade

10

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

are you minimize install ubuntu 10.04?

11 (edited by Zuko 2010-09-28 17:38:24)

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

standard installation from "normal iso" [ubuntu-10.04.1-server-amd64.iso]

12 (edited by Zuko 2010-09-28 18:30:14)

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

clean install and same problem

edit. f**k it I don't want use centos but i must ;/

13

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

Zuko wrote:

clean install and same problem

edit. f**k it I don't want use centos but i must ;/


Maybe your policyd is not starting because of this problem:
http://www.iredmail.org/forum/topic1215 … olved.html

14

Re: iRedMail 0.6.1 + Ubuntu 10.04.1 x64 problem

Policyd will log in /var/log/mail.log, check it.
If there's no detail log, try to set 'DEBUG = 3' in /etc/policyd*.cf, restart it and check log again.