Note: Our zimbra was configured to faciliate 2 more domains such as domain2.com and domain3.com
our zimbra domain is: webmail.domain1.com
Zimbra verion: 8.8.15 FOSS
domain1.com DNS are as follows:
Code: Select all
A webmail 0 *ip of zimbra VPS*
CNAME mail 0 webmail.domain1.com
MX @ 10 mail.domain1.com
TXT @ 0 "v=spf1 +a +mx +ip4:*ip of zimbra VPS* ~all"
Code: Select all
A webmail 0 *ip of zimbra VPS*
CNAME mail 0 webmail.domain2.com
MX @ 10 mail.domain2.com
TXT @ 0 "v=spf1 +a +mx +ip4:*ip of zimbra VPS* ~all"
To make webmail.domain1.com work (was facing upstream error) we ran the following commands
Code: Select all
zmprov ms `zmhostname` zimbraReverseProxyMailMode https
zmprov ms `zmhostname` zimbraMailMode https
zmcontrol restart
Code: Select all
postfix stop
postfix start
ajax reponse when I click send:
Code: Select all
{
"Header": {
"context": {
"session": {
"id": "1255",
"_content": "1255"
},
"change": {
"token": 33012
},
"notify": [
{
"seq": 1,
"modified": {
"mbx": [
{
"s": 11955349
}
],
"folder": [
{
"id": "5",
"uuid": "345bf04e-fff8-4faa-bddf-60cbd70c9a14",
"deletable": false,
"n": 19,
"s": 503898,
"i4ms": 33012,
"i4next": 4561
}
]
}
}
],
"_jsns": "urn:zimbra"
}
},
"Body": {
"Fault": {
"Code": {
"Value": "soap:Sender"
},
"Reason": {
"Text": "Invalid address: ReceiverUser \u003CreceiverUser@domain2.com\u003E. com.zimbra.cs.mailbox.MailSender$SafeSendFailedException: MESSAGE_NOT_DELIVERED; chained exception is:\n\tcom.zimbra.cs.mailclient.smtp.InvalidRecipientException: RCPT failed: Invalid recipient receiverUser@domain2.com: 451 4.3.5 \u003CsenderUser@domain2.com\u003E: Sender address rejected: Server configuration error"
},
"Detail": {
"Error": {
"Code": "mail.SEND_ABORTED_ADDRESS_FAILURE",
"Trace": "qtp1381713434-1033:1665038473846:280a77e0e4d71eef",
"a": [
{
"n": "invalid",
"t": "STR",
"_content": "ReceiverUser \u003CreceiverUser@domain2.com\u003E"
}
],
"_jsns": "urn:zimbra"
}
}
}
},
"_jsns": "urn:zimbraSoap"
}
Code: Select all
Oct 6 07:46:17 webmail postfix/smtpd[19475]: warning: lmdb:/opt/zimbra/conf/postfix_reject_sender is unavailable. open database /opt/zimbra/conf/postfix_reject_sender.lmdb: No such file or directory
Oct 6 07:46:17 webmail postfix/smtpd[19475]: warning: lmdb:/opt/zimbra/conf/postfix_reject_sender lookup error for "senderUser@domain2.com"
Oct 6 07:46:17 webmail postfix/smtpd[19475]: NOQUEUE: reject: RCPT from webmail.domain1.com[*Zimbra VPS IP*]: 451 4.3.5 <senderUser@domain2.com>: Sender address rejected: Server configuration error; from=<senderUser@domain2.com> to=<raheel@domain2.com> proto=ESMTP helo=<webmail.domain1.com>
Oct 6 07:46:17 webmail postfix/smtpd[19475]: disconnect from webmail.domain1.com[*Zimbra VPS IP*] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
Oct 6 07:46:18 webmail sshd[21480]: Failed password for invalid user hadoop from 104.28.233.75 port 36163 ssh2
Oct 6 07:46:19 webmail sshd[21480]: Received disconnect from 104.28.233.75 port 36163:11: Bye Bye [preauth]
Oct 6 07:46:19 webmail sshd[21480]: Disconnected from invalid user hadoop 104.28.233.75 port 36163 [preauth]
Oct 6 07:46:23 webmail postfix/smtps/smtpd[21489]: fatal: open lock file pid/inet.465: file has 2 hard links
Oct 6 07:46:24 webmail postfix/master[24670]: warning: process /opt/zimbra/common/libexec/smtpd pid 21489 exit status 1
Oct 6 07:46:24 webmail postfix/master[24670]: warning: /opt/zimbra/common/libexec/smtpd: bad command startup -- throttling
Oct 6 07:46:40 webmail postfix/postscreen[13621]: CONNECT from [*Zimbra VPS IP*]:34412 to [*Zimbra VPS IP*]:25
Oct 6 07:46:40 webmail postfix/postscreen[13621]: ALLOWLISTED [*Zimbra VPS IP*]:34412
Oct 6 07:46:40 webmail postfix/smtpd[19479]: connect from webmail.domain1.com[*Zimbra VPS IP*]
Oct 6 07:46:40 webmail postfix/smtpd[19479]: warning: lmdb:/opt/zimbra/conf/postfix_reject_sender is unavailable. open database /opt/zimbra/conf/postfix_reject_sender.lmdb: No such file or directory
Oct 6 07:46:40 webmail postfix/smtpd[19479]: warning: lmdb:/opt/zimbra/conf/postfix_reject_sender lookup error for "senderUser@domain2.com"
Oct 6 07:46:40 webmail postfix/smtpd[19479]: NOQUEUE: reject: RCPT from webmail.domain1.com[*Zimbra VPS IP*]: 451 4.3.5 <senderUser@domain2.com>: Sender address rejected: Server configuration error; from=<senderUser@domain2.com> to=<raheel@domain2.com> proto=ESMTP helo=<webmail.domain1.com>
Oct 6 07:46:40 webmail postfix/smtpd[19479]: disconnect from webmail.domain1.com[*Zimbra VPS IP*] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
Oct 6 07:46:46 webmail sshd[21500]: Failed password for root from 165.227.147.152 port 39958 ssh2
Oct 6 07:46:46 webmail sshd[21500]: Received disconnect from 165.227.147.152 port 39958:11: Bye Bye [preauth]
Oct 6 07:46:46 webmail sshd[21500]: Disconnected from authenticating user root 165.227.147.152 port 39958 [preauth]