My Server rejecting email from Gmail. Why?

Dear all

I’m facing the best problem which I ever had, where is the previous vendor don’t do any documentation. So my task actually do some enhancement on the filtering solution actually, but what I found out is like this…

here my cat /var/log/maillog

Jan 31 09:47:02 mws postfix/cleanup[11028]: 998464290DB: hold: header Received: from mail.jkm.gov.my (webmail.jkm.gov.my [10.0.223.2])??by webmail.jkm.gov.my (Postfix) with ESMTP id 998464290DB??for <hidzuan@gmail.com>; Mon, 31 Jan 2011 09:47:02 +0800 (MYT) from webmail.jkm.gov.my[10.0.223.2]; from=<e1@jkm.gov.my> to=<hidzuan@gmail.com> proto=ESMTP helo=<mail.jkm.gov.my>
Jan 31 09:48:34 mws postfix/smtp[9351]: 220544290FC: to=<hidzuan@gmail.com>, relay=gmail-smtp-in.l.google.com[72.14.213.27]:25, delay=92, delays=7.3/83/0.73/0.91, dsn=2.0.0, status=sent (250 2.0.0 OK 1296438185 z32si47545136wfd.123)

I can send email from email server to Gmail.

Jan 31 09:56:34 mws postfix/smtpd[8426]: NOQUEUE: reject: RCPT from mail-iw0-f177.google.com[209.85.214.177]: 451 4.3.5 Server configuration problem; from=<hidzuan@gmail.com> to=<e1@jkm.gov.my> proto=ESMTP helo=<mail-iw0-f177.google.com>
Jan 31 10:03:21 mws postfix/smtpd[11395]: NOQUEUE: reject: RCPT from mail-iw0-f177.google.com[209.85.214.177]: 451 4.3.5 Server configuration problem; from=<hidzuan@gmail.com> to=<e1@jkm.gov.my> proto=ESMTP helo=<mail-iw0-f177.google.com>
Jan 31 10:17:58 mws postfix/smtpd[12967]: NOQUEUE: reject: RCPT from mail-iy0-f177.google.com[209.85.210.177]: 451 4.3.5 Server configuration problem; from=<hidzuan@gmail.com> to=<e1@jkm.gov.my> proto=ESMTP helo=<mail-iy0-f177.google.com>
Jan 31 10:23:16 mws postfix/smtpd[12967]: NOQUEUE: reject: RCPT from mail-iy0-f177.google.com[209.85.210.177]: 451 4.3.5 Server configuration problem; from=<hidzuan@gmail.com> to=<e1@jkm.gov.my> proto=ESMTP helo=<mail-iy0-f177.google.com>
Jan 31 10:24:45 mws postfix/smtpd[12966]: NOQUEUE: reject: RCPT from mail-iw0-f177.google.com[209.85.214.177]: 451 4.3.5 Server configuration problem; from=<hidzuan@gmail.com> to=<e1@jkm.gov.my> proto=ESMTP helo=<mail-iw0-f177.google.com>
[root@mws ~]#

but why my email server keep rejecting from Gmail? now I already blur…

Thanks mate.

Regards
e1

Could be a lot of reasons. Might help to increase the verbosity level of postfix logging.
What does your mail.err is saying?
You should give more info about your mail server configuration also.

Cheers.

From what I can tell, your email server isn’t rejecting mail from Gmail, Gmail is rejecting your message.

Summary of what you seem to be doing

Send message from e1@jkm.gov.my using mail server webmail.jkm.gov.my
to
hidzuan@gmail.com

The gmail server is rejecting the message for the reason “server misconfigured” and has sent a reject message message(actually several for some reason - Have you been resending?) back to your mail server.

Didn’t you post in another thread earlier that you had a blacklist problem with your IP address? That seems to be resolved but your server is still doing something wrong.

Tony

indeed tsu2 is right… the mail server / dns is still bad configured.

if last time the greeting was to the local hostname instead of the fqdn now you have set that to webmail.jkm.gov.my but you have no record / alias for that in the DNS

just add a record for webmail.jkm.gov.my or change the greeting to mail.jkm.gov.my which is ** the only ** MX record for your domain.

cheers

-edit-]
I just noticed that webmail.jkm.gov.my is / has a private IP address so I think the only solution is to change the greeting to mail.jkm.gov.my

Thanks guys for all the info…

I managed to solve it, but it’s seem to many level I have to talk until solved a little bit of my probem,

By the way… thanks again.