1 (edited by prykhodchenko 2011-01-05 00:23:48)

Topic: Cannot receive emails from any server

Hi,

I have just installed iRedMail-0.6.1 to my Ubuntu 10.04 powered server. I can receive emails from mail accounts on my server and I cal also send emails from those accounts to other servers like gmail.

The problem is I cannot receive emails from gmail, hotmail or any other server. /var/log/mail.log contains following warnings:

Jan  4 16:11:13 mail postfix/smtpd[1406]: warning: when SASL type is "dovecot", SASL path "dovecot-auth" should be a socket pathname
Jan  4 16:11:13 mail postfix/smtpd[1406]: connect from mail-fx0-f49.google.com[209.85.161.49]
Jan  4 16:11:13 mail postfix/smtpd[1406]: warning: connect to 127.0.0.1:10031: Connection refused
Jan  4 16:11:13 mail postfix/smtpd[1406]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jan  4 16:11:14 mail postfix/smtpd[1406]: warning: connect to 127.0.0.1:10031: Connection refused
Jan  4 16:11:14 mail postfix/smtpd[1406]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jan  4 16:11:14 mail postfix/smtpd[1406]: NOQUEUE: reject: RCPT from mail-fx0-f49.google.com[209.85.161.49]: 451 4.3.5 Server configuration problem; from=<romcheg.prihod@gmail.com> to=<prykhodchenko@metidalabs.com> proto=ESMTP helo=<mail-fx0-f49.google.com>
Jan  4 16:11:14 mail postfix/smtpd[1406]: disconnect from mail-fx0-f49.google.com[209.85.161.49]

Please help me to solve the problem.

Sincerely,
Roman Prykhodchenko

----

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

2

Re: Cannot receive emails from any server

prykhodchenko wrote:

Jan  4 16:11:13 mail postfix/smtpd[1406]: warning: when SASL type is "dovecot", SASL path "dovecot-auth" should be a socket pathname

Search string 'dovecot-auth' in /etc/postfix/main.cf, change it to './dovecot-auth', restart postfix.

Jan  4 16:11:13 mail postfix/smtpd[1406]: warning: connect to 127.0.0.1:10031: Connection refused

Restart postfix-policyd service, and it should work now.

3

Re: Cannot receive emails from any server

It did not help.
Now output is almost the same:

Jan  4 18:16:54 mail postfix/smtpd[1299]: connect from mail-fx0-f49.google.com[209.85.161.49]
Jan  4 18:16:55 mail postfix/smtpd[1299]: warning: connect to 127.0.0.1:10031: Connection refused
Jan  4 18:16:55 mail postfix/smtpd[1299]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jan  4 18:16:56 mail postfix/smtpd[1299]: warning: connect to 127.0.0.1:10031: Connection refused
Jan  4 18:16:56 mail postfix/smtpd[1299]: warning: problem talking to server 127.0.0.1:10031: Connection refused
Jan  4 18:16:56 mail postfix/smtpd[1299]: NOQUEUE: reject: RCPT from mail-fx0-f49.google.com[209.85.161.49]: 451 4.3.5 Server configuration problem; from=<romcheg.prihod@gmail.com> to=<prykhodchenko@metidalabs.com> proto=ESMTP helo=<mail-fx0-f49.google.com>
Jan  4 18:16:56 mail postfix/smtpd[1299]: disconnect from mail-fx0-f49.google.com[209.85.161.49]

It tries to connect to something at 127.0.0.1:10031. May be that is the problem?

4

Re: Cannot receive emails from any server

prykhodchenko wrote:

It tries to connect to something at 127.0.0.1:10031. May be that is the problem?

That's postfix-policyd. Please restart it and post related log in /var/log/mail.info.

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