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