1 (edited by yavorra 2015-04-28 14:10:23)

Topic: Forward mail to another ired mail server

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version:  Centos 6.6
- Related log if you're reporting an issue:
====
Both servers ar the same version of ired mail, mysql and system

Hi,

I Would like to forward mail to another iredmail server.
My config:
1. Server:
transport:
In main.cf added:

transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf, proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf, hash:/etc/postfix/transport

at the end, file transport:

yavorr1@domain.com  smtp:[mail.domain2.com]


When i sending an email, first server forwarding mail to second server, at the second server lo says:
TOO MAN HOPS:
Apr 28 07:43:33 mail postfix/smtpd[25049]: connect from mail.domain.am[85.xx.xx.165]
Apr 28 07:43:33 mail postfix/smtpd[25049]: B186B1A145D: client=mail.domain.am[85.xx.xx.165]
Apr 28 07:43:33 mail postfix/cleanup[25054]: B186B1A145D: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:33 mail postfix/qmgr[22838]: B186B1A145D: from=<yavorra@domain.com>, size=2342, nrcpt=1 (queue active)
Apr 28 07:43:33 mail postfix/smtpd[25049]: disconnect from mail.domain.am[85.xx.xx.165]
Apr 28 07:43:34 mail postfix/smtpd[25064]: connect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:34 mail postfix/smtpd[25064]: 6B2A21A145F: client=mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:34 mail postfix/cleanup[25054]: 6B2A21A145F: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:34 mail postfix/smtpd[25064]: disconnect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:34 mail postfix/qmgr[22838]: 6B2A21A145F: from=<user@gmail.com>, size=2853, nrcpt=1 (queue active)
Apr 28 07:43:34 mail amavis[22428]: (22428-01) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [85.xx.xx.165]:53997 [209.85.212.173] <user@gmail.com> -> <yavorr1@domain.com>, Queue-ID: B186B1A145D, Message-ID: <CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>, mail_id: 4BQfjP2_8CaO, Hits: 0.876, size: 2342, queued_as: 6B2A21A145F, dkim_sd=20120113:gmail.com, 679 ms
Apr 28 07:43:34 mail postfix/smtp[25060]: B186B1A145D: to=<yavorr1@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.83, delays=0.11/0.03/0.01/0.68, 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 6B2A21A145F)
Apr 28 07:43:34 mail postfix/qmgr[22838]: B186B1A145D: removed
Apr 28 07:43:34 mail postfix/smtp[25065]: 6B2A21A145F: to=<yavorr1@domain.com>, relay=mail.domain.com[85.xx.xx.165]:25, delay=0.28, delays=0/0.03/0.23/0.02, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as EB2181A0A55)
Apr 28 07:43:34 mail postfix/qmgr[22838]: 6B2A21A145F: removed
Apr 28 07:43:35 mail postfix/smtpd[25049]: connect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:35 mail postfix/smtpd[25049]: 85E431A145D: client=mail.domain.com[85.xx.xx.165]
Apr 28 07:43:35 mail postfix/cleanup[25054]: 85E431A145D: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:35 mail postfix/qmgr[22838]: 85E431A145D: from=<user@gmail.com>, size=3636, nrcpt=1 (queue active)
Apr 28 07:43:35 mail postfix/smtpd[25049]: disconnect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:36 mail postfix/smtpd[25064]: connect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:36 mail postfix/smtpd[25064]: A33061A145F: client=mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:36 mail postfix/cleanup[25054]: A33061A145F: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:36 mail postfix/smtpd[25064]: disconnect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:36 mail postfix/qmgr[22838]: A33061A145F: from=<user@gmail.com>, size=4049, nrcpt=1 (queue active)
Apr 28 07:43:36 mail amavis[22236]: (22236-08) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [85.xx.xx.165]:54001 [209.85.212.173] <user@gmail.com> -> <yavorr1@domain.com>, Queue-ID: 85E431A145D, Message-ID: <CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>, mail_id: RnMawW5eI3hG, Hits: 0.876, size: 3636, queued_as: A33061A145F, dkim_sd=20120113:gmail.com, 1123 ms
Apr 28 07:43:36 mail postfix/smtp[25060]: 85E431A145D: to=<yavorr1@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.02/0/0/1.1, 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 A33061A145F)
Apr 28 07:43:36 mail postfix/qmgr[22838]: 85E431A145D: removed
Apr 28 07:43:36 mail postfix/smtp[25065]: A33061A145F: to=<yavorr1@domain.com>, relay=mail.domain.com[85.xx.xx.165]:25, delay=0.21, delays=0/0/0.19/0.02, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 1DA001A0A55)
Apr 28 07:43:36 mail postfix/qmgr[22838]: A33061A145F: removed
Apr 28 07:43:37 mail postfix/smtpd[25049]: connect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:37 mail postfix/smtpd[25049]: C39351A145D: client=mail.domain.com[85.xx.xx.165]
Apr 28 07:43:37 mail postfix/cleanup[25054]: C39351A145D: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:37 mail postfix/qmgr[22838]: C39351A145D: from=<user@gmail.com>, size=4832, nrcpt=1 (queue active)
Apr 28 07:43:37 mail postfix/smtpd[25049]: disconnect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:38 mail postfix/smtpd[25064]: connect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:38 mail postfix/smtpd[25064]: 4C6BD1A145F: client=mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:38 mail postfix/cleanup[25054]: 4C6BD1A145F: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:38 mail postfix/smtpd[25064]: disconnect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:38 mail postfix/qmgr[22838]: 4C6BD1A145F: from=<user@gmail.com>, size=5245, nrcpt=1 (queue active)
Apr 28 07:43:38 mail amavis[22419]: (22419-09) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [85.xx.xx.165]:54004 [209.85.212.173] <user@gmail.com> -> <yavorr1@domain.com>, Queue-ID: C39351A145D, Message-ID: <CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>, mail_id: mMN__SS8MsNG, Hits: 0.876, size: 4832, queued_as: 4C6BD1A145F, dkim_sd=20120113:gmail.com, 517 ms
Apr 28 07:43:38 mail postfix/smtp[25060]: C39351A145D: to=<yavorr1@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.54, delays=0.02/0/0/0.52, 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 4C6BD1A145F)
Apr 28 07:43:38 mail postfix/qmgr[22838]: C39351A145D: removed
Apr 28 07:43:38 mail postfix/smtp[25065]: 4C6BD1A145F: to=<yavorr1@domain.com>, relay=mail.domain.com[85.xx.xx.165]:25, delay=0.11, delays=0/0/0.08/0.02, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A174C1A0A55)
Apr 28 07:43:38 mail postfix/qmgr[22838]: 4C6BD1A145F: removed
Apr 28 07:43:39 mail postfix/smtpd[25049]: connect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:39 mail postfix/smtpd[25049]: 3EFC01A145D: client=mail.domain.com[85.xx.xx.165]
Apr 28 07:43:39 mail postfix/cleanup[25054]: 3EFC01A145D: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:39 mail postfix/qmgr[22838]: 3EFC01A145D: from=<user@gmail.com>, size=6028, nrcpt=1 (queue active)
Apr 28 07:43:39 mail postfix/smtpd[25049]: disconnect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:39 mail postfix/smtpd[25064]: connect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:39 mail postfix/smtpd[25064]: BBA2B1A145F: client=mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:39 mail postfix/cleanup[25054]: BBA2B1A145F: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:39 mail postfix/qmgr[22838]: BBA2B1A145F: from=<user@gmail.com>, size=6441, nrcpt=1 (queue active)
Apr 28 07:43:39 mail amavis[22428]: (22428-02) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [85.xx.xx.165]:54007 [209.85.212.173] <user@gmail.com> -> <yavorr1@domain.com>, Queue-ID: 3EFC01A145D, Message-ID: <CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>, mail_id: 409QFYvxtYDX, Hits: 0.876, size: 6028, queued_as: BBA2B1A145F, dkim_sd=20120113:gmail.com, 514 ms
Apr 28 07:43:39 mail postfix/smtp[25060]: 3EFC01A145D: to=<yavorr1@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.54, delays=0.02/0/0/0.52, 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 BBA2B1A145F)
Apr 28 07:43:39 mail postfix/qmgr[22838]: 3EFC01A145D: removed
Apr 28 07:43:39 mail postfix/smtp[25065]: BBA2B1A145F: to=<yavorr1@domain.com>, relay=mail.domain.com[85.xx.xx.165]:25, delay=0.08, delays=0/0/0.05/0.03, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 15C931A0A55)
Apr 28 07:43:39 mail postfix/qmgr[22838]: BBA2B1A145F: removed
Apr 28 07:43:41 mail postfix/smtpd[25049]: connect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:41 mail postfix/smtpd[25049]: 181351A145D: client=mail.domain.com[85.xx.xx.165]
Apr 28 07:43:41 mail postfix/cleanup[25054]: 181351A145D: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:41 mail postfix/qmgr[22838]: 181351A145D: from=<user@gmail.com>, size=7224, nrcpt=1 (queue active)
Apr 28 07:43:41 mail postfix/smtpd[25049]: disconnect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:41 mail postfix/smtpd[25070]: connect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:41 mail postfix/smtpd[25070]: A8BA81A145F: client=mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:41 mail postfix/cleanup[25054]: A8BA81A145F: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:41 mail postfix/qmgr[22838]: A8BA81A145F: from=<user@gmail.com>, size=7637, nrcpt=1 (queue active)
Apr 28 07:43:41 mail amavis[22419]: (22419-10) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [85.xx.xx.165]:54011 [209.85.212.173] <user@gmail.com> -> <yavorr1@domain.com>, Queue-ID: 181351A145D, Message-ID: <CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>, mail_id: qEL1lIDN1N0A, Hits: 0.876, size: 7224, queued_as: A8BA81A145F, dkim_sd=20120113:gmail.com, 598 ms
Apr 28 07:43:41 mail postfix/smtp[25060]: 181351A145D: to=<yavorr1@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.63, delays=0.02/0/0/0.6, 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 A8BA81A145F)
Apr 28 07:43:41 mail postfix/qmgr[22838]: 181351A145D: removed
Apr 28 07:43:41 mail postfix/smtp[25065]: A8BA81A145F: to=<yavorr1@domain.com>, relay=mail.domain.com[85.xx.xx.165]:25, delay=0.1, delays=0.01/0/0.07/0.03, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 080B11A0A55)
Apr 28 07:43:41 mail postfix/qmgr[22838]: A8BA81A145F: removed
Apr 28 07:43:42 mail postfix/smtpd[25049]: connect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:42 mail postfix/smtpd[25049]: 662C91A145D: client=mail.domain.com[85.xx.xx.165]
Apr 28 07:43:42 mail postfix/cleanup[25054]: 662C91A145D: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:42 mail postfix/qmgr[22838]: 662C91A145D: from=<user@gmail.com>, size=8420, nrcpt=1 (queue active)
Apr 28 07:43:42 mail postfix/smtpd[25049]: disconnect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:42 mail postfix/smtpd[25064]: E04CC1A145F: client=mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:42 mail postfix/cleanup[25054]: E04CC1A145F: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:42 mail postfix/qmgr[22838]: E04CC1A145F: from=<user@gmail.com>, size=8833, nrcpt=1 (queue active)
Apr 28 07:43:42 mail amavis[22428]: (22428-03) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [85.xx.xx.165]:54014 [209.85.212.173] <user@gmail.com> -> <yavorr1@domain.com>, Queue-ID: 662C91A145D, Message-ID: <CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>, mail_id: rVZ0j_2x7oaQ, Hits: 0.876, size: 8420, queued_as: E04CC1A145F, dkim_sd=20120113:gmail.com, 505 ms
Apr 28 07:43:42 mail postfix/smtp[25060]: 662C91A145D: to=<yavorr1@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.53, delays=0.02/0/0/0.51, 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 E04CC1A145F)
Apr 28 07:43:42 mail postfix/qmgr[22838]: 662C91A145D: removed
Apr 28 07:43:42 mail postfix/smtp[25065]: E04CC1A145F: to=<yavorr1@domain.com>, relay=mail.domain.com[85.xx.xx.165]:25, delay=0.07, delays=0/0/0.04/0.03, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 36F8A1A0A55)
Apr 28 07:43:42 mail postfix/qmgr[22838]: E04CC1A145F: removed
Apr 28 07:43:43 mail postfix/smtpd[25049]: connect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:43 mail postfix/smtpd[25049]: 9277E1A145D: client=mail.domain.com[85.xx.xx.165]
Apr 28 07:43:43 mail postfix/cleanup[25054]: 9277E1A145D: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:43 mail postfix/qmgr[22838]: 9277E1A145D: from=<user@gmail.com>, size=9616, nrcpt=1 (queue active)
Apr 28 07:43:43 mail postfix/smtpd[25049]: disconnect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:44 mail postfix/smtpd[25073]: connect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:44 mail postfix/smtpd[25073]: 195E41A145F: client=mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:44 mail postfix/cleanup[25054]: 195E41A145F: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:44 mail postfix/qmgr[22838]: 195E41A145F: from=<user@gmail.com>, size=10029, nrcpt=1 (queue active)
Apr 28 07:43:44 mail postfix/smtpd[25073]: disconnect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:44 mail amavis[21893]: (21893-17) Passed CLEAN {RelayedInternal}, MYNETS/MYUSERS LOCAL [85.xx.xx.165]:54017 [209.85.212.173] <user@gmail.com> -> <yavorr1@domain.com>, Queue-ID: 9277E1A145D, Message-ID: <CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>, mail_id: SP4oUstGHuTP, Hits: 0.876, size: 9616, queued_as: 195E41A145F, dkim_sd=20120113:gmail.com, 509 ms
Apr 28 07:43:44 mail postfix/smtp[25060]: 9277E1A145D: to=<yavorr1@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.54, delays=0.02/0/0/0.51, 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 195E41A145F)
Apr 28 07:43:44 mail postfix/qmgr[22838]: 9277E1A145D: removed
Apr 28 07:43:44 mail postfix/smtp[25065]: 195E41A145F: to=<yavorr1@domain.com>, relay=mail.domain.com[85.xx.xx.165]:25, delay=0.1, delays=0.01/0/0.07/0.02, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 6C7311A0A55)
Apr 28 07:43:44 mail postfix/qmgr[22838]: 195E41A145F: removed
Apr 28 07:43:44 mail postfix/smtpd[25049]: connect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:44 mail postfix/smtpd[25049]: D124C1A145D: client=mail.domain.com[85.xx.xx.165]
Apr 28 07:43:44 mail postfix/cleanup[25054]: D124C1A145D: message-id=<CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>
Apr 28 07:43:44 mail postfix/qmgr[22838]: D124C1A145D: from=<user@gmail.com>, size=10812, nrcpt=1 (queue active)
Apr 28 07:43:44 mail postfix/smtpd[25049]: disconnect from mail.domain.com[85.xx.xx.165]
Apr 28 07:43:45 mail postfix/smtpd[25073]: connect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:45 mail postfix/smtpd[25073]: 63A6F1A145F: client=mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:45 mail postfix/smtpd[25073]: disconnect from mail.secnd.domain.com[127.0.0.1]
Apr 28 07:43:45 mail amavis[22236]: (22236-09) Negative SMTP response to data-dot (<yavorr1@domain.com>): 554 5.4.0 Error: too many hops, dt: 0.5 ms
Apr 28 07:43:45 mail amavis[22236]: (22236-09) (!)PJXOP_oP3hH9 FWD from <user@gmail.com> -> <yavorr1@domain.com>, BODY=7BIT 554 5.4.0 from MTA(smtp:[127.0.0.1]:10025): 554 5.4.0 Error: too many hops
Apr 28 07:43:45 mail amavis[22236]: (22236-09) Blocked MTA-BLOCKED {RejectedInternal}, MYNETS/MYUSERS LOCAL [85.xx.xx.165]:54020 [209.85.212.173] <user@gmail.com> -> <yavorr1@domain.com>, Queue-ID: D124C1A145D, Message-ID: <CAOtGk2kRGRpphFpZUcHJF=PQgy-cN4ozRrBMQ=LLtOVdGk41NA@mail.gmail.com>, mail_id: PJXOP_oP3hH9, Hits: 0.876, size: 10812, dkim_sd=20120113:gmail.com, 557 ms
Apr 28 07:43:45 mail postfix/smtp[25060]: D124C1A145D: to=<yavorr1@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.58, delays=0.02/0/0/0.56, dsn=5.4.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 554 5.4.0 id=22236-09 - Rejected by next-hop MTA on relaying, from MTA(smtp:[127.0.0.1]:10025): 554 5.4.0 Error: too many hops (in reply to end of DATA command))
Apr 28 07:43:45 mail postfix/cleanup[25054]: 703D11A1460: message-id=<20150428054345.703D11A1460@mail.secnd.domain.com>
Apr 28 07:43:45 mail postfix/bounce[25075]: D124C1A145D: sender non-delivery notification: 703D11A1460
Apr 28 07:43:45 mail postfix/qmgr[22838]: 703D11A1460: from=<>, size=12902, nrcpt=1 (queue active)
Apr 28 07:43:45 mail postfix/qmgr[22838]: D124C1A145D: removed
Apr 28 07:43:45 mail postfix/smtp[25065]: connect to gmail-smtp-in.l.google.com[2a00:1450:4013:c00::1a]:25: Network is unreachable
Apr 28 07:43:46 mail postfix/smtp[25065]: 703D11A1460: to=<user@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.65.27]:25, delay=0.64, delays=0/0/0.24/0.39, dsn=2.0.0, status=sent (250 2.0.0 OK 1430199825 b20si2803491wjx.55 - gsmtp)
Apr 28 07:43:46 mail postfix/qmgr[22838]: 703D11A1460: removed


What I have to set on the second server to accept mail?
What means 'too many hops'?
Do I need to make changes to the database?

Regards,
Andrew

----

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

2

Re: Forward mail to another ired mail server

No idea yet. I suggest asking in Amavisd mailing list instead:
http://www.ijs.si/software/amavisd/#support

3

Re: Forward mail to another ired mail server

OK, found the solution...i added IP to my_networks and the same account like on server1 .. and amavis say hello (:
Now all works like a charm (:

by the way, ired mail works very nice in cluster postfix :-)

Best,
Andrew

4

Re: Forward mail to another ired mail server

yavorra wrote:

by the way, ired mail works very nice in cluster postfix :-)

Would you mind sharing your cluster solution with iRedMail? A step-by-step guide?