Hi Zhang,
I have enabled log_level=debug in iredapd.ini and iredapd-rr.ini files and restarted the services iredapd and iredapd-rr services.
Now sent a test mail the log is getting in iredapd-rr.log but not in iredapd.log file. I am pasting the log for your reference below.
When sending test mail from test5@mydomain.com to groutest2@mydomain.com maillist it is getting delivered , but I have given the moderator test2@mydomain.com only to send mails to that maillist.
I am sending mail from roundcube mail:
INFO test5@mydomain.com -> grouptest2@mydomain.com, DUNNO
2012-03-28 16:37:08 INFO test5@mydomain.com -> grouptest2@mydomain.com, DUNNO
2012-03-28 16:44:37 INFO test5@mydomain.com -> grouptest2@mydomain.com, DUNNO
2012-03-28 16:45:58 INFO Starting iredapd (v1.3.6, pid: 15090), listening on 127.0.0.1:7778.
2012-03-28 16:45:58 DEBUG Forking first child.
2012-03-28 16:45:58 DEBUG Creating new session
2012-03-28 16:45:58 DEBUG Forking second child.
2012-03-28 16:45:58 DEBUG Setting umask
2012-03-28 16:45:58 DEBUG Changing working directory to "/"
2012-03-28 16:45:58 DEBUG Redirecting file descriptors
2012-03-28 16:46:48 DEBUG Connect from 127.0.0.1
2012-03-28 16:46:48 DEBUG smtp session: request=smtpd_access_policy
2012-03-28 16:46:48 DEBUG smtp session: protocol_state=RCPT
2012-03-28 16:46:48 DEBUG smtp session: protocol_name=ESMTP
2012-03-28 16:46:48 DEBUG smtp session: client_address=127.0.0.1
2012-03-28 16:46:48 DEBUG smtp session: client_name=safe.myhostname.com
2012-03-28 16:46:48 DEBUG smtp session: reverse_client_name=safe.myhostname.com
2012-03-28 16:46:48 DEBUG smtp session: helo_name=mail.mydomain.com
2012-03-28 16:46:48 DEBUG smtp session: sender=test5@mydomain.com
2012-03-28 16:46:48 DEBUG smtp session: recipient=grouptest2@mydomain.com
2012-03-28 16:46:48 DEBUG smtp session: recipient_count=0
2012-03-28 16:46:48 DEBUG smtp session: queue_id=
2012-03-28 16:46:48 DEBUG smtp session: instance=3afc.4f72f320.4f711.0
2012-03-28 16:46:48 DEBUG smtp session: size=0
2012-03-28 16:46:48 DEBUG smtp session: etrn_domain=
2012-03-28 16:46:48 DEBUG smtp session: stress=
2012-03-28 16:46:48 DEBUG smtp session: sasl_method=LOGIN
2012-03-28 16:46:48 DEBUG smtp session: sasl_username=test5@mydomain.com
2012-03-28 16:46:48 DEBUG smtp session: sasl_sender=
2012-03-28 16:46:48 DEBUG smtp session: ccert_subject=
2012-03-28 16:46:48 DEBUG smtp session: ccert_issuer=
2012-03-28 16:46:48 DEBUG smtp session: ccert_fingerprint=
2012-03-28 16:46:48 DEBUG smtp session: encryption_protocol=
2012-03-28 16:46:48 DEBUG smtp session: encryption_cipher=
2012-03-28 16:46:48 DEBUG smtp session: encryption_keysize=0
2012-03-28 16:46:48 DEBUG LDAP connection initialied success.
2012-03-28 16:46:48 DEBUG LDAP bind success.
2012-03-28 16:46:48 DEBUG __get_sender_dn_ldif (sender): test5@epoxymail.com
2012-03-28 16:46:48 DEBUG __get_sender_dn_ldif: Quering LDAP
2012-03-28 16:46:48 DEBUG __get_sender_dn_ldif (result): [('mail=test5@mydomain.com,ou=Users,domainName=mydomain.com,o=domains,dc=safe,dc=myhostname,dc=com', {'uid': ['test5'], 'mailQuota': ['104857600'], 'objectClass': ['inetOrgPerson', 'mailUser', 'shadowAccount', 'amavisAccount'], 'userRecipientBccAddress': ['test5@mydomain.local'], 'userPassword': ['{SSHA}VdXqXmzGpHHzP8AiJx/omMXbBgkAkx2dL517eg=='], 'accountStatus': ['active'], 'userSenderBccAddress': ['test5@mydomain.local'], 'amavisLocal': ['TRUE'], 'sn': ['test5'], 'homeDirectory': ['/var/vmail/vmail1/mydomain.com/t/e/s/test5-2011.11.24.21.44.30/'], 'mail': ['test5@mydomain.com'], 'storageBaseDirectory': ['/var/vmail'], 'mailMessageStore': ['vmail1/mydomain.com/t/e/s/test5-2011.11.24.21.44.30/'], 'enabledService': ['mail', 'internal', 'smtp', 'pop3', 'pop3secured', 'imap', 'imapsecured', 'deliver', 'forward', 'shadowaddress', 'managesieve', 'managesievesecured', 'recipientbcc', 'senderbcc', 'displayedinglobaladdressbook', 'sieve', 'sievesecured'], 'cn': ['Test']})]
2012-03-28 16:46:48 DEBUG Apply plugin (ldap_recipient_restrictions).
2012-03-28 16:46:48 DEBUG Response from plugin (ldap_recipient_restrictions): DUNNO
2012-03-28 16:46:48 DEBUG Final action: DUNNO.
2012-03-28 16:46:48 INFO test5@mydomain.com -> grouptest2@epoxymail.com, DUNNO
2012-03-28 16:46:48 DEBUG Connection closed
Thanks,
Regards,
Mohan