1

Topic: Cannot See Logs

==== Required information ====
- iRedMail version: 1.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.3
- Related log if you're reporting an issue:
====
Not able to view logs in iRedAdmin Pro it is showing pages but not displaying any logs ...?

Indranil

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Cannot See Logs

Also right from the begning date also is showing wrong have started ntpd service and clock syncd to UTC

3

Re: Cannot See Logs

indranil.kamulkar wrote:

Not able to view logs in iRedAdmin Pro it is showing pages but not displaying any logs ...?

- Did you login as global admin or normal admin?
- Did you upgrade iRedMail from old version or iRedMail-0.8.3 is the initial installation?

indranil.kamulkar wrote:

Also right from the begning date also is showing wrong have started ntpd service and clock syncd to UTC

Please update 'LOCAL_TIMEZONE' in libs/settings.py, then restart Apache service and try again.

4

Re: Cannot See Logs

Dear ZhangHuangbin,
As per your instructions I have upgraded and also logged in as Global Administrator but still it is showing the wrong date. I have also checked for LOCAL_TIMEZONE and they are proper set as per Indian Time please assist and thanks in advance.

Thanks & Regards,
Indranil C. Kamulkar

5

Re: Cannot See Logs

- Did you have @storage_sql_dsn enabled in /etc/amavisd/amavisd.conf?
- Could you please show us the setting of LOCAL_TIMEZONE in your libs/settings.py?

6

Re: Cannot See Logs

ZhangHuangbin wrote:

- Did you have @storage_sql_dsn enabled in /etc/amavisd/amavisd.conf?
- Could you please show us the setting of LOCAL_TIMEZONE in your libs/settings.py?

Below is the config files settings

/etc/amavisd/amavisd.conf

@storage_sql_dsn = (

Above is in my amavisd.conf file

LOCAL_TIMEZONE and without hashed statements.
HTTP_PROXY = ''
LOCAL_TIMEZONE = 'GMT-05:30'
STORE_PASSWORD_IN_PLAIN = False
LOG_PERMISSION_DENIED = False
REDIRECT_TO_DOMAIN_LIST_AFTER_LOGIN = False
MAILDIR_HASHED = True
MAILDIR_PREPEND_DOMAIN = True
MAILDIR_APPEND_TIMESTAMP = True
LDAP_CONN_TRACE_LEVEL = 0
LDAP_DEFAULT_PASSWD_SCHEME = 'SSHA'
SQL_DEFAULT_PASSWD_SCHEME = 'MD5'
SQL_PASSWD_PREFIX_SCHEME = True
SQL_ALIAS_ACCESS_POLICIES = [
     'public',       # Unrestricted Everyone can send mail to this address.
     'domain',       # Domain users only.
     'subdomain',    # Domain and sub-domain users only.
     'membersonly',  # Members only
     'allowedonly',  # Moderators only
     'membersandmoderatorsonly',  # Members and moderators only
AMAVISD_REMOVE_MAILLOG_IN_DAYS = 7
AMAVISD_REMOVE_QUARANTINED_IN_DAYS = 7
AMAVISD_EXECUTE_SQL_WITHOUT_ENABLED = False
AMAVISD_SQL_FOR_NEWLY_CREATED_USER = []
DBMAIL_DEFAULT_DOMAIN_TRANSPORT = 'dbmail-lmtp:127.0.0.1:24'
DBMAIL_CREATE_DEFAULT_IMAP_FOLDERS = True
DBMAIL_DEFAULT_IMAP_FOLDERS = ['INBOX', 'Sent', 'Drafts', 'Trash', 'Junk', ]
POLICY_PRIORITY_OF_DOMAIN = 10
POLICY_PRIORITY_OF_USER = 20
POLICY_GREYLISTED_BY_DEFAULT = True
PAGE_SIZE_LIMIT = 50
try:
from libs.settings_local import *
except Exception:
pass

7

Re: Cannot See Logs

- Is SQL username/password configured in @storage_sql_dsn correct?
- Did you restart Apache service after changed LOCAL_TIMEZONE?