I am writing a JavaMail client (running in a GlassFish 4 server) and I have been unable to get my Zimbra ZCS server to accept the SMTP session. Invariably I get the following error in zimbra.log:
Dec 19 04:51:05 mail postfix/submission/smtpd[24088]: NOQUEUE: reject: RCPT from c-24-6-111-204.hsd1.ca.comcast.net[24.6.111.204]: 554 5.7.1 <c-24-6-111-204.hsd1.ca.comcast.net[24.6.111.204]>: Client host rejected: Access denied; from=<info@myserver.com> to=<info@ myserver.com> proto=ESMTP helo=<192.168.88.12>
I have added my local local system's IP address (both private and public) to the postfix configuration as follows:
$ postconf mynetworks
mynetworks = 127.0.0.0/8 [::1]/128 10.1.0.0/16 64.71.111.112/28 24.6.111.204/32 192.168.88.0/24
The subnet 64.71.111.112 includes the public IP address of the server. The 24.6.111.204 address is the public IPv4 address of my NAT router.
On my JavaMail client I have set the following properties:
mail.smtp.port = 587
mail.smtp.auth = true
mail.smtp.starttls.enable = true
mail.user = 'info@myserver.com'
mail.smtp.password = 'thepassword'
I am really stuck -- can someone suggest a checklist of things to check to get this to work?