1 (edited by nicolasfo 2011-05-23 15:10:58)

Topic: [RESOLVED] Unable to send/receive mail from Internet

Hello,

I've installed iredmail on a ubuntu 10.04.1 server.

I can't send or receive mail from outside, here the logs :

Send to outside :
mail.log :
May 18 15:07:10 servh roundcube: SMTP Error: SMTP error: Failed to add recipient email@gmail.com' in /usr/share/apache2/roundcubemail-0.5.2/program/steps/mail/func.inc on line 1497 (POST /mail/?_unlock=loading1305724029930?_task=mail&_action=send)
In roundcube :
Unable to add recipient adress : recipient adresse rejected : gmail.com

Receive from outside :
mail.log :
May 18 15:16:29 servh postfix/smtpd[2084]: connect from mail-iw0-f173.google.com[209.85.214.173]
May 18 15:16:31 servh postfix/smtpd[2084]: NOQUEUE: reject: RCPT from mail-iw0-f173.google.com[209.85.214.173]: 550 5.1.0 <mail@gmail.com>: Sender address rejected: gmail.com; from=<mail@gmail.com> to=<www@mydomain.net> proto=ESMTP helo=<mail-iw0-f173.google.com>
May 18 15:16:31 servh postfix/smtpd[2084]: disconnect from mail-iw0-f173.google.com[209.85.214.173]

I only add gmail in whitelist, disable greylist since i installed iredmail, nothing more and no result...

What's the problem ?

Thanks

----

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

2

Re: [RESOLVED] Unable to send/receive mail from Internet

I answer to myself :

There was an error in the postfix main.cf file :

default_transport = error
relay_transport = error

I quoted those two lines by a " # " and restart postfix, everything is working now.

I don't know why there was this problem..