zimbraMtaRelayHost

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
brandon
Posts: 24
Joined: Fri Jul 29, 2016 8:08 am

zimbraMtaRelayHost

Post by brandon »

I have a domain (test.com) established on a server Zimbra and domain to an external server (test.com)
I added an entry in the MtaRelayHost per server:

Code: Select all

zmprov ms zimbra.domain.com zimbraMtaRelayHost smtp.test.com:
and when sending messages to the user that is not in the database Zimbra, I get an answer:

Code: Select all

This is the mail system at host zimbra.megastorenet.pl.

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

<user.example@test.com>: test.com
I do something wrong?
how to send a message to a user who is not in the database Zimbra same domain?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: zimbraMtaRelayHost

Post by DualBoot »

Code: Select all

  zmprov ms zimbra.domain.com 'zimbraMtaRelayHost smtp.test.com:25'
You command was incomplete. Then, is your @test.com domain host on your Zimbra server only ?
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
brandon
Posts: 24
Joined: Fri Jul 29, 2016 8:08 am

Re: zimbraMtaRelayHost

Post by brandon »

What is incomplete?
I have domain test.com on my server Zimbra and I have domain an external server test.com

Zimbra is behind a NAT and I want to send mail to an external server (test.com)
I have a question : How it works MtaRelayHost?
brandon
Posts: 24
Joined: Fri Jul 29, 2016 8:08 am

Re: zimbraMtaRelayHost

Post by brandon »

can someone knows something about the topic?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: zimbraMtaRelayHost

Post by DualBoot »

zimbra ===> relayHost ====> INTERNET
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
brandon
Posts: 24
Joined: Fri Jul 29, 2016 8:08 am

Re: zimbraMtaRelayHost

Post by brandon »

I use zimbra open source and there is no optionzimbra->relayhost->Internet or I can't find
if you can post this command do or a screen?
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: zimbraMtaRelayHost

Post by DualBoot »

You have not find it :mrgreen:
Go to configure --> Global Settings --> MTA => "Relay MTA for external delivery"
Et voilà.
There is a second solution by server settings but I think you should be able to find it now.
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
brandon
Posts: 24
Joined: Fri Jul 29, 2016 8:08 am

Re: zimbraMtaRelayHost

Post by brandon »

in a global setting also I have set "Relay MTA for external delivery" and does not work
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: zimbraMtaRelayHost

Post by DualBoot »

if it does not work, give us the log about it.
The Guy - DualBoot

PostMaster - WikiMaster - SysAdmin
"Free Your Mind. Think Open Source"
april.org
Zetalliance Member - zetalliance.org
brandon
Posts: 24
Joined: Fri Jul 29, 2016 8:08 am

Re: zimbraMtaRelayHost

Post by brandon »

Logs:

Code: Select all

Aug 30 09:59:44 zimbra postfix/smtpd[23209]: connect from zimbra.domain.com[10.10.100.10]
2016-08-30T09:59:44.433939+02:00 zimbra postfix/smtpd[23209]: NOQUEUE: filter: RCPT from zimbra.domain.com[10.10.100.10]: <test.test@test.com>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from=<test.test@test.com> to=<user.example@test.com> proto=ESMTP helo=<zimbra.domain.com>
Aug 30 09:59:44 zimbra postfix/smtpd[23209]: NOQUEUE: filter: RCPT from zimbra.domain.com[10.10.100.10]: <test.test@test.com>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from=<test.test@test.com> to=<user.example@test.com> proto=ESMTP helo=<zimbra.domain.com>
2016-08-30T09:59:44.440410+02:00 zimbra postfix/smtpd[23209]: 69FCD203FA5: client=zimbra.domain.com[10.10.100.10]
Aug 30 09:59:44 zimbra postfix/smtpd[23209]: 69FCD203FA5: client=zimbra.domain.com[10.10.100.10]
2016-08-30T09:59:44.445623+02:00 zimbra postfix/cleanup[23212]: 69FCD203FA5: message-id=<1032896856.9.1472543984382.JavaMail.zimbra@test.com>
Aug 30 09:59:44 zimbra postfix/cleanup[23212]: 69FCD203FA5: message-id=<1032896856.9.1472543984382.JavaMail.zimbra@test.com>
2016-08-30T09:59:44.447802+02:00 zimbra postfix/qmgr[3337]: 69FCD203FA5: from=<test.test@test.com>, size=1113, nrcpt=1 (queue active)
Aug 30 09:59:44 zimbra postfix/qmgr[3337]: 69FCD203FA5: from=<test.test@test.com>, size=1113, nrcpt=1 (queue active)
2016-08-30T09:59:44.473744+02:00 zimbra postfix/smtpd[23209]: disconnect from zimbra.domain.com[10.10.100.10]
Aug 30 09:59:44 zimbra postfix/smtpd[23209]: disconnect from zimbra.domain.com[10.10.100.10]
2016-08-30T09:59:44.643754+02:00 zimbra postfix/dkimmilter/smtpd[23610]: connect from localhost[127.0.0.1]
Aug 30 09:59:44 zimbra postfix/dkimmilter/smtpd[23610]: connect from localhost[127.0.0.1]
2016-08-30T09:59:44.650366+02:00 zimbra postfix/dkimmilter/smtpd[23610]: 9EBEF203FB2: client=localhost[127.0.0.1]
Aug 30 09:59:44 zimbra postfix/dkimmilter/smtpd[23610]: 9EBEF203FB2: client=localhost[127.0.0.1]
2016-08-30T09:59:44.654650+02:00 zimbra postfix/cleanup[23212]: 9EBEF203FB2: message-id=<1032896856.9.1472543984382.JavaMail.zimbra@test.com>
Aug 30 09:59:44 zimbra postfix/cleanup[23212]: 9EBEF203FB2: message-id=<1032896856.9.1472543984382.JavaMail.zimbra@test.com>
2016-08-30T09:59:44.695411+02:00 zimbra postfix/qmgr[3337]: 9EBEF203FB2: from=<test.test@test.com>, size=1619, nrcpt=1 (queue active)
Aug 30 09:59:44 zimbra postfix/qmgr[3337]: 9EBEF203FB2: from=<test.test@test.com>, size=1619, nrcpt=1 (queue active)
2016-08-30T09:59:44.726461+02:00 zimbra postfix/smtp[23218]: 69FCD203FA5: to=<user.example@test.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.29, delays=0.01/0/0.04/0.23, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10030): 250 2.0.0 Ok: queued as 9EBEF203FB2)
2016-08-30T09:59:44.726639+02:00 zimbra postfix/qmgr[3337]: 69FCD203FA5: removed
Aug 30 09:59:44 zimbra postfix/smtp[23218]: 69FCD203FA5: to=<user.example@test.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.29, delays=0.01/0/0.04/0.23, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10030): 250 2.0.0 Ok: queued as 9EBEF203FB2)
Aug 30 09:59:44 zimbra postfix/qmgr[3337]: 69FCD203FA5: removed
2016-08-30T09:59:44.997392+02:00 zimbra postfix/amavisd/smtpd[23613]: connect from localhost[127.0.0.1]
Aug 30 09:59:44 zimbra postfix/amavisd/smtpd[23613]: connect from localhost[127.0.0.1]
2016-08-30T09:59:45.002868+02:00 zimbra postfix/amavisd/smtpd[23613]: 00ACA203FA5: client=localhost[127.0.0.1]
Aug 30 09:59:45 zimbra postfix/amavisd/smtpd[23613]: 00ACA203FA5: client=localhost[127.0.0.1]
2016-08-30T09:59:45.004617+02:00 zimbra postfix/cleanup[23212]: 00ACA203FA5: message-id=<1032896856.9.1472543984382.JavaMail.zimbra@test.com>
Aug 30 09:59:45 zimbra postfix/cleanup[23212]: 00ACA203FA5: message-id=<1032896856.9.1472543984382.JavaMail.zimbra@test.com>
2016-08-30T09:59:45.013262+02:00 zimbra postfix/qmgr[3337]: 00ACA203FA5: from=<test.test@test.com>, size=2218, nrcpt=1 (queue active)
Aug 30 09:59:45 zimbra postfix/qmgr[3337]: 00ACA203FA5: from=<test.test@test.com>, size=2218, nrcpt=1 (queue active)
2016-08-30T09:59:45.023724+02:00 zimbra postfix/error[23221]: 00ACA203FA5: to=<user.example@test.com>, relay=none, delay=0.02, delays=0.01/0/0/0.01, dsn=5.0.0, status=bounced (nexterio.info)
Aug 30 09:59:45 zimbra postfix/error[23221]: 00ACA203FA5: to=<user.example@test.com>, relay=none, delay=0.02, delays=0.01/0/0/0.01, dsn=5.0.0, status=bounced (nexterio.info)
2016-08-30T09:59:45.026760+02:00 zimbra postfix/cleanup[23212]: 05E28203FBF: message-id=<20160830075945.05E28203FBF@zimbra.domain.com>
Aug 30 09:59:45 zimbra postfix/cleanup[23212]: 05E28203FBF: message-id=<20160830075945.05E28203FBF@zimbra.domain.com>
2016-08-30T09:59:45.029492+02:00 zimbra postfix/bounce[23222]: 00ACA203FA5: sender non-delivery notification: 05E28203FBF
Aug 30 09:59:45 zimbra postfix/bounce[23222]: 00ACA203FA5: sender non-delivery notification: 05E28203FBF
2016-08-30T09:59:45.029870+02:00 zimbra postfix/qmgr[3337]: 00ACA203FA5: removed
Aug 30 09:59:45 zimbra postfix/qmgr[3337]: 00ACA203FA5: removed
2016-08-30T09:59:45.030154+02:00 zimbra postfix/qmgr[3337]: 05E28203FBF: from=<>, size=4121, nrcpt=1 (queue active)
Aug 30 09:59:45 zimbra postfix/qmgr[3337]: 05E28203FBF: from=<>, size=4121, nrcpt=1 (queue active)
2016-08-30T09:59:45.042179+02:00 zimbra postfix/smtp[23213]: 9EBEF203FB2: to=<user.example@test.com>, relay=127.0.0.1[127.0.0.1]:10032, delay=0.39, delays=0.05/0/0.02/0.33, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 00ACA203FA5)
Aug 30 09:59:45 zimbra postfix/smtp[23213]: 9EBEF203FB2: to=<user.example@test.com>, relay=127.0.0.1[127.0.0.1]:10032, delay=0.39, delays=0.05/0/0.02/0.33, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 00ACA203FA5)
2016-08-30T09:59:45.042565+02:00 zimbra postfix/qmgr[3337]: 9EBEF203FB2: removed
Aug 30 09:59:45 zimbra postfix/qmgr[3337]: 9EBEF203FB2: removed
2016-08-30T09:59:45.207155+02:00 zimbra postfix/lmtp[23224]: 05E28203FBF: to=<test.test@test.com>, relay=zimbra.domain.com[10.10.100.10]:7025, delay=0.18, delays=0.01/0/0.1/0.08, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Aug 30 09:59:45 zimbra postfix/lmtp[23224]: 05E28203FBF: to=<test.test@test.com>, relay=zimbra.domain.com[10.10.100.10]:7025, delay=0.18, delays=0.01/0/0.1/0.08, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
2016-08-30T09:59:45.208089+02:00 zimbra postfix/qmgr[3337]: 05E28203FBF: removed
Aug 30 09:59:45 zimbra postfix/qmgr[3337]: 05E28203FBF: removed
and I getting mail: Undelivered Mail Returned to Sender:

Code: Select all

This is the mail system at host zimbra.megastorenet.pl.

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

<user.example@test.com>: test.com
Post Reply