Hi Zhang,
I added bypass_mynetworks = no in /opt/iredapd/etc/iredapd-rr.ini and restarted iredapd-rr but now the log shows:
2012-05-18 09:48:09 INFO Starting iredapd (v1.3.7, pid: 3825), listening on 127.0.0.1:7778.
2012-05-18 09:48:09 DEBUG Forking first child.
2012-05-18 09:48:09 DEBUG Creating new session
2012-05-18 09:48:09 DEBUG Forking second child.
2012-05-18 09:48:09 DEBUG Setting umask
2012-05-18 09:48:09 DEBUG Changing working directory to "/"
2012-05-18 09:48:09 DEBUG Redirecting file descriptors
2012-05-18 09:48:23 DEBUG Connect from 127.0.0.1, port 49873.
2012-05-18 09:48:23 DEBUG smtp session: request=smtpd_access_policy
2012-05-18 09:48:23 DEBUG smtp session: protocol_state=RCPT
2012-05-18 09:48:23 DEBUG smtp session: protocol_name=ESMTP
2012-05-18 09:48:23 DEBUG smtp session: client_address=xxx.xxx.xxx.xxx
2012-05-18 09:48:23 DEBUG smtp session: client_name=unknown
2012-05-18 09:48:23 DEBUG smtp session: reverse_client_name=mail.mydomain.com
2012-05-18 09:48:23 DEBUG smtp session: helo_name=[172.16.1.13]
2012-05-18 09:48:23 DEBUG smtp session: sender=sys-admin@mydomain.com
2012-05-18 09:48:23 DEBUG smtp session: recipient=ketan@ketan.com
2012-05-18 09:48:23 DEBUG smtp session: recipient_count=0
2012-05-18 09:48:23 DEBUG smtp session: queue_id=
2012-05-18 09:48:23 DEBUG smtp session: instance=ef4.4fb60cd7.71b49.0
2012-05-18 09:48:23 DEBUG smtp session: size=392
2012-05-18 09:48:23 DEBUG smtp session: etrn_domain=
2012-05-18 09:48:23 DEBUG smtp session: stress=
2012-05-18 09:48:23 DEBUG smtp session: sasl_method=PLAIN
2012-05-18 09:48:23 DEBUG smtp session: sasl_username=sys-admin@mydomain.com
2012-05-18 09:48:23 DEBUG smtp session: sasl_sender=
2012-05-18 09:48:23 DEBUG smtp session: ccert_subject=
2012-05-18 09:48:23 DEBUG smtp session: ccert_issuer=
2012-05-18 09:48:23 DEBUG smtp session: ccert_fingerprint=
2012-05-18 09:48:23 DEBUG smtp session: encryption_protocol=TLSv1
2012-05-18 09:48:23 DEBUG smtp session: encryption_cipher=DHE-RSA-AES256-SHA
2012-05-18 09:48:23 DEBUG smtp session: encryption_keysize=256
2012-05-18 09:48:23 DEBUG LDAP connection initialied success.
2012-05-18 09:48:23 DEBUG LDAP bind success.
2012-05-18 09:48:23 DEBUG __get_sender_dn_ldif (sender): sys-admin@mydomain.com
2012-05-18 09:48:23 DEBUG __get_sender_dn_ldif: Quering LDAP
2012-05-18 09:48:23 DEBUG __get_sender_dn_ldif (result): [('mail=sys-admin@mydomain.com,ou=Users,domainName=mydomain.com,o=domains,dc=mydomains,dc=com', {' memberOfGroup': ['everyone@mydomain.com'], 'uid': ['sys-admin'], 'mailQuota': ['0'], 'objectClass': ['inetOrgPerson', 'mailUser', 'shadowAccount', 'am avisAccount'], 'userPassword': ['{SSHA}6Fj4Z7ekaB5VR37iTbvwImll4bFi2u/lFxXKBQ=='], 'homeDirectory': ['/mnt/glusterfs/vmail1/mydomain.com/s/y/s/sys-adm in-2012.05.16.19.27.14/'], 'accountStatus': ['active'], 'mailBlacklistRecipient': ['ketan@ketan.com'], 'amavisLocal': ['TRUE'], 'sn': ['sys-adm in'], 'storageBaseDirectory': ['/mnt/glusterfs'], 'mail': ['sys-admin@mydomain.com'], 'shadowLastChange': ['0'], 'mailMessageStore': ['vmail1/ayudame. in/s/y/s/sys-admin-2012.05.16.19.27.14/'], 'enabledService': ['mail', 'deliver', 'lda', 'smtp', 'smtpsecured', 'pop3', 'pop3secured', 'imap', 'imaps ecured', 'managesieve', 'managesievesecured', 'sieve', 'sievesecured', 'forward', 'senderbcc', 'recipientbcc', 'internal', 'shadowaddress', 'display edInGlobalAddressBook'], 'cn': ['System Administrator']})]
2012-05-18 09:48:23 INFO Error: plugin ldap_maillist_access_policy.py not exist.
2012-05-18 09:48:23 INFO Error: plugin block_amavisd_blacklisted_senders.py not exist.
2012-05-18 09:48:23 DEBUG Final action: None.
2012-05-18 09:48:23 INFO [xxx.xxx.xxx.xxx] sys-admin@mydomain.com -> ketan@ketan.com, DUNNO
2012-05-18 09:48:23 DEBUG Connection closed