1 (edited by lion4ik 2012-06-26 22:26:51)

Topic: Undelivered Mail Returned to Sender (SMTP gmail.com)

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): iRedMail-0.8.1
- Linux/BSD distribution name and version: Ubuntu 12.04
- Any related log? Log is helpful for troubleshooting.
====

hi
It is very difficult to adapt
I am Russian
I really need help.

I use ubuntu 12.04
Installed on a clean system iRedMail-0.8.1

Letters sent properly, but that's a big problem with gmail.com
When sending letters like a roundcube on gmail.com

I immediately return an email with the name of Undelivered Mail Returned to Sender
by From MAILER-DAEMON@mail.arima-groups.ru
mail.arima-groups.ru is my hostname

The letter follows:

This is the mail system at host mail.arima-groups.ru.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<lion4ik06@gmail.com>: host gmail-smtp-in-v4v6.l.google.com[173.194.71.27]
    said: 550-5.7.1 [109.87.252.9] The IP you're using to send mail is not
    authorized to 550-5.7.1 send email directly to our servers. Please use the
    SMTP relay at your 550-5.7.1 service provider instead. Learn more at 550
    5.7.1 http://support.google.com/mail/bin/answ … swer=10336
    en9si8168774lbb.44 (in reply to end of DATA command)

Reporting-MTA: dns; mail.arima-groups.ru
X-Postfix-Queue-ID: BCDD316289A
X-Postfix-Sender: rfc822; test@arima-groups.ru
Arrival-Date: Tue, 26 Jun 2012 11:49:51 +0300 (EEST)

Final-Recipient: rfc822; lion4ik06@gmail.com
Original-Recipient: rfc822;lion4ik06@gmail.com
Action: failed
Status: 5.7.1
Remote-MTA: dns; gmail-smtp-in-v4v6.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [109.87.252.9] The IP you're using to send
    mail is not authorized to 550-5.7.1 send email directly to our servers.
    Please use the SMTP relay at your 550-5.7.1 service provider instead. Learn
    more at 550 5.7.1 http://support.google.com/mail/bin/answ … swer=10336
    en9si8168774lbb.44

Return-Path: <test@arima-groups.ru>
Received: from localhost (mail.arima-groups.ru [127.0.0.1])
    by mail.arima-groups.ru (Postfix) with ESMTP id BCDD316289A
    for <lion4ik06@gmail.com>; Tue, 26 Jun 2012 11:49:51 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=arima-groups.ru;
     h=user-agent:message-id:subject:subject:to:from:from:date:date
    :content-transfer-encoding:content-type:content-type
    :mime-version; s=dkim; t=1340700591; x=1341564591; bh=g3zLYH4xKx
    cPrHOD18z9YfpQcnk/GaJedfustWU5uGs=; b=lzsQ27WmO5fefzPdLPKchtPGdb
    qzH6cuNWNJ8DuWxYKXrQtHJ35BSUNJGOFpKXVbZvYGBL1e+NqbWRtOyyBIhTvNTf
    m8tIIsQcNIn7HEmESW3Iriw84kQVHmgiKjdNbVELd4P6EiYqd9kJuyYfhmYoyQbd
    pRzeRkClZ0+t/pP/s=
X-Virus-Scanned: Debian amavisd-new at mail.arima-groups.ru
Received: from mail.arima-groups.ru ([127.0.0.1])
    by localhost (mail.arima-groups.ru [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id hDRgjl2tGhpZ for <lion4ik06@gmail.com>;
    Tue, 26 Jun 2012 11:49:51 +0300 (EEST)
Received: from mail.arima-groups.ru (mail.arima-groups.ru [127.0.0.1])
    by mail.arima-groups.ru (Postfix) with ESMTPA id E787116287D
    for <lion4ik06@gmail.com>; Tue, 26 Jun 2012 11:49:49 +0300 (EEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 26 Jun 2012 11:49:49 +0300
From: test@arima-groups.ru
To: <lion4ik06@gmail.com>
Subject: test
Message-ID: <d186fc54906f2319e1fbf2bc1afa5af1@arima-groups.ru>
X-Sender: test@arima-groups.ru
User-Agent: RoundCube WebMail

test

that's what the log
/var/log/mail.log

Jun 26 11:49:49 mail postfix/smtpd[3737]: connect from mail.arima-groups.ru[127.0.0.1]
Jun 26 11:49:49 mail postfix/smtpd[3737]: E787116287D: client=mail.arima-groups.ru[127.0.0.1], sasl_method=LOGIN, sasl_username=test@arima-groups.ru
Jun 26 11:49:51 mail postfix/cleanup[3742]: E787116287D: message-id=<d186fc54906f2319e1fbf2bc1afa5af1@arima-groups.ru>
Jun 26 11:49:51 mail postfix/qmgr[2612]: E787116287D: from=<test@arima-groups.ru>, size=557, nrcpt=1 (queue active)
Jun 26 11:49:51 mail roundcube: User test@arima-groups.ru [127.0.0.1]; Message for lion4ik06@gmail.com; 250: 2.0.0 Ok: queued as E787116287D
Jun 26 11:49:51 mail postfix/smtpd[3737]: disconnect from mail.arima-groups.ru[127.0.0.1]
Jun 26 11:49:51 mail postfix/smtpd[3749]: connect from mail.arima-groups.ru[127.0.0.1]
Jun 26 11:49:51 mail postfix/smtpd[3749]: BCDD316289A: client=mail.arima-groups.ru[127.0.0.1]
Jun 26 11:49:51 mail postfix/cleanup[3742]: BCDD316289A: message-id=<d186fc54906f2319e1fbf2bc1afa5af1@arima-groups.ru>
Jun 26 11:49:51 mail postfix/qmgr[2612]: BCDD316289A: from=<test@arima-groups.ru>, size=1516, nrcpt=1 (queue active)
Jun 26 11:49:51 mail postfix/smtpd[3749]: disconnect from mail.arima-groups.ru[127.0.0.1]
Jun 26 11:49:51 mail amavis[2061]: (02061-02) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <test@arima-groups.ru> -> <lion4ik06@gmail.com>, Message-ID: <d186fc54906f2319e1fbf2bc1afa5af1@arima-groups.ru>, mail_id: hDRgjl2tGhpZ, Hits: -10.01, size: 557, queued_as: BCDD316289A, 727 ms
Jun 26 11:49:51 mail postfix/smtp[3743]: E787116287D: to=<lion4ik06@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.1, delays=1.4/0/0/0.78, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BCDD316289A)
Jun 26 11:49:51 mail postfix/qmgr[2612]: E787116287D: removed
Jun 26 11:49:53 mail postfix/smtp[3750]: BCDD316289A: to=<lion4ik06@gmail.com>, relay=gmail-smtp-in-v4v6.l.google.com[173.194.71.27]:25, delay=2, delays=0.06/0.01/0.83/1.1, dsn=5.7.1, status=bounced (host gmail-smtp-in-v4v6.l.google.com[173.194.71.27] said: 550-5.7.1 [109.87.252.9] The IP you're using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1 http://support.google.com/mail/bin/answ … swer=10336 en9si8168774lbb.44 (in reply to end of DATA command))
Jun 26 11:49:53 mail postfix/cleanup[3742]: C8B401628AA: message-id=<20120626084953.C8B401628AA@mail.arima-groups.ru>
Jun 26 11:49:53 mail postfix/bounce[3761]: BCDD316289A: sender non-delivery notification: C8B401628AA
Jun 26 11:49:53 mail postfix/qmgr[2612]: C8B401628AA: from=<>, size=4136, nrcpt=1 (queue active)
Jun 26 11:49:53 mail postfix/qmgr[2612]: BCDD316289A: removed
Jun 26 11:49:54 mail postfix/pipe[3762]: C8B401628AA: to=<test@arima-groups.ru>, relay=dovecot, delay=0.23, delays=0.03/0.01/0/0.18, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun 26 11:49:54 mail postfix/qmgr[2612]: C8B401628AA: removed

Enjoyed looking at your forum, found nothing, most likely due to the fact that I do not know much English.
Please help me deal with the problem.

----

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

2 (edited by lion4ik 2012-06-26 17:00:01)

Re: Undelivered Mail Returned to Sender (SMTP gmail.com)

I will specify
Letters normally take

Sends a message to say mail.ru okay too, but do not want to gmail.com.

Got a problem with the SMTP address but could not.

And I want to say you are doing a great job and I really liked your build iredmail

Thank you

3

Re: Undelivered Mail Returned to Sender (SMTP gmail.com)

Nobody can help me?

Maybe even a clue what that

4

Re: Undelivered Mail Returned to Sender (SMTP gmail.com)

which DNS Server dio you use in resolv.conf, try to use your 'ISP's rather than your router IP, I've done the same installation with no problem. but I'm in australia, maybe that's the difference.

5

Re: Undelivered Mail Returned to Sender (SMTP gmail.com)

Solved.
The server IP address was in Spam list. Also missing PTR record.