On Jan 18, 2019 7:41 AM, Mayuresh <mayur...@acm.org> wrote: > > On Fri, Jan 18, 2019 at 06:45:06AM -0600, Edgar Pettijohn wrote: > > I think you should post the logs from your postfix test with Gmail > > issue. I bet someone here knows an option to correct it. > > Not much I can see. I think it has more to do with the error code > interpretation by gmail. For other rejects such as mails directed to non > existent users gmail doesn't call the server as misconfigured. > > Jan 18 09:21:15 localhost postfix/smtpd[28050]: connect from > mail-lj1-f177.google.com[209.85.208.177] > Jan 18 09:21:15 localhost postfix/smtpd[28050]: NOQUEUE: reject: RCPT from > mail-lj1-f177.google.com[209.85.208.177]: 554 5.7.1 <x...@myhost.com>: > Recipient address rejected: Access denied; from=<y...@gmail.com> > to=<x...@myhost.com> proto=ESMTP helo=<mail-lj1-f177.google.com> > Jan 18 09:21:16 localhost postfix/smtpd[28050]: disconnect from > mail-lj1-f177.google.com[209.85.208.177] ehlo=1 mail=1 rcpt=0/1 data=0/1 > quit=1 commands=3/5 > > > Gmail bounced to y...@gmail.com says: > > > Message not delivered Your message couldn't be delivered to > x...@myhost.com because the remote server is misconfigured. See technical > details below for more information. > > The response from the remote server was: > > 554 5.7.1
Seems like 550 would be a better error code for this situation. <x...@myhost.com>: Recipient address rejected: Access denied > > I have also posted my postfix conf in previous mail. > > Mayuresh