Topic: Can't send email outside local mailbox
======== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04 Server
- Related log if you're reporting an issue:
====
Hi all!
Today I've installed iRedMail and got it partially worked For now I can receive emails from the world, can send and receive mail within local mailbox between users, but can't send emails to outer mailserver, like gmail etc.
Ok, what happened: I've composed message in web-interface (or in mail client nvm), clicked Send and got it back as Undelivered Mail Returned to Sender with following contents:
Reporting-MTA: dns; mail.ws
X-Postfix-Queue-ID: 4B52122601
X-Postfix-Sender: rfc822; user@mail.ws
Arrival-Date: Fri, 11 Oct 2013 17:57:27 +0200 (CEST)
Final-Recipient: rfc822; yahoo@gmail.com
Original-Recipient: rfc822;yahoo@gmail.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; gmail.com
Below is part of mail.log (domain and username is fake).
Oct 11 17:57:26 at-mail postfix/smtpd[2456]: connect from localhost[127.0.0.1]
Oct 11 17:57:26 at-mail postfix/trivial-rewrite[2458]: warning: do not list domain mail.ws in BOTH mydestination and virtual_mailbox_domains
Oct 11 17:57:26 at-mail postfix/smtpd[2456]: BFB9E22600: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=user@mail.ws
Oct 11 17:57:26 at-mail postfix/cleanup[2460]: BFB9E22600: message-id=<7f882cf48bf5d64c0f74679bb1fe95cd@mail.ws>
Oct 11 17:57:26 at-mail postfix/qmgr[1612]: BFB9E22600: from=<user@mail.ws>, size=524, nrcpt=1 (queue active)
Oct 11 17:57:26 at-mail roundcube: User user@mail.ws [192.168.15.8]; Message for yahoo@gmail.com; 250: 2.0.0 Ok: queued as BFB9E22600
Oct 11 17:57:27 at-mail postfix/smtpd[2456]: disconnect from localhost[127.0.0.1]
Oct 11 17:57:27 at-mail postfix/smtpd[2477]: connect from localhost[127.0.0.1]
Oct 11 17:57:27 at-mail postfix/trivial-rewrite[2458]: warning: do not list domain mail.ws in BOTH mydestination and virtual_mailbox_domains
Oct 11 17:57:27 at-mail postfix/smtpd[2477]: 4B52122601: client=localhost[127.0.0.1]
Oct 11 17:57:27 at-mail postfix/cleanup[2460]: 4B52122601: message-id=<7f882cf48bf5d64c0f74679bb1fe95cd@mail.ws>
Oct 11 17:57:27 at-mail postfix/qmgr[1612]: 4B52122601: from=<user@mail.ws>, size=1426, nrcpt=1 (queue active)
Oct 11 17:57:27 at-mail postfix/smtpd[2477]: disconnect from localhost[127.0.0.1]
Oct 11 17:57:27 at-mail amavis[1347]: (01347-03) Passed CLEAN, MYNETS/MYUSERS LOCAL [127.0.0.1] [127.0.0.1] <user@mail.ws> -> <yahoo@gmail.com>, Message-ID: <7f882cf48bf5d64c0f74679bb1fe95cd@mail.ws>, mail_id: pi1Kl682tz7g, Hits: -9.998, size: 524, queued_as: 4B52122601, 463 ms
Oct 11 17:57:27 at-mail postfix/error[2478]: 4B52122601: to=<yahoo@gmail.com>, relay=none, delay=0.02, delays=0/0.01/0/0.01, dsn=5.0.0, status=bounced (gmail.com)
Oct 11 17:57:27 at-mail postfix/cleanup[2460]: 5112F22603: message-id=<20131011155727.5112F22603@mail.ws>
Oct 11 17:57:27 at-mail postfix/smtp[2471]: BFB9E22600: to=<yahoo@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.56, delays=0.07/0.01/0/0.48, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4B52122601)
Oct 11 17:57:27 at-mail postfix/qmgr[1612]: 5112F22603: from=<>, size=3172, nrcpt=1 (queue active)
Oct 11 17:57:27 at-mail postfix/trivial-rewrite[2458]: warning: do not list domain at-mail.ws in BOTH mydestination and virtual_mailbox_domains
Oct 11 17:57:27 at-mail postfix/qmgr[1612]: BFB9E22600: removed
Oct 11 17:57:27 at-mail postfix/bounce[2479]: 4B52122601: sender non-delivery notification: 5112F22603
Oct 11 17:57:27 at-mail postfix/qmgr[1612]: 4B52122601: removed
Oct 11 17:57:27 at-mail postfix/pipe[2481]: 5112F22603: to=<user@mail.ws>, relay=dovecot, delay=0.05, delays=0.01/0.01/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct 11 17:57:27 at-mail postfix/qmgr[1612]: 5112F22603: removed
Any help will be appreciated.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.