You're connecting from somewhere other than gmail.com and saying the mail is coming from gmail.com. You're trying to relay mail without authenticating, which I would bet google has disabled. Your MTA A is currently set up as an open relay (unless you're at gmail.com). Read http://en.wikipedia.org/wiki/Open_mail_relay to see why this is bad. Rob Marti -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Joy Methew Sent: Wednesday, September 03, 2008 9:11 AM To: General Red Hat Linux discussion list Subject: sendmail here is two systems both are "mta" A and B with sendmail. A is mine and B is gmail mat. when i telnet my mta means A --->>telnet 127.0.0.1 25 helo hi mail from:root@xxxxxxxxx <from%3Aroot@xxxxxxxxx> rcpt to:ml4joy@xxxxxxxxx <to%3Aml4joy@xxxxxxxxx> i recived mail very easly. it means my mta "A" telnet indirectaly to gmail mta. but when i try to telnet directly to gmail mta its give error like. 220 mx.google.com ESMTP t26si1434066ele.4 helo gmail.com 250 mx.google.com at your service mail from:ml4joy@xxxxxxxxx <from%3Aml4joy@xxxxxxxxx> 555 5.5.2 Syntax error t26si1434066ele.4 Any idea why the "Syntax error".? Thanks -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list