1 (edited by kuranist 2016-11-01 03:45:05)

Topic: amavisd-new timezone problem

======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.1
- Linux/BSD distribution name and version: FreeBSD 9.1-RELEASE #0 r243825
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue: 
====

Hello Zhang,

Sorry my English.

When I trace maillog I see different time value between amavis and postfix/qmgr service.

maillog logs:
----------------------------------
Oct 31 21:25:34 mx amavis[29511]: (29511-10) Passed CLEAN {RelayedInternal}, LOCAL ...
Oct 31 22:25:34 mx postfix/smtp[29661]: 401FD1FE27B5: ...
Oct 31 21:25:34 mx postfix/qmgr[54756]: 401FD1FE27B5: removed
Oct 31 22:25:35 mx postfix/pipe[29543]: D86B11FE27B8: to=<...
Oct 31 21:25:35 mx postfix/qmgr[54756]: D86B11FE27B8: removed
Oct 31 22:25:38 mx postfix/smtpd[29294]: timeout after DATA (1015 bytes) from ...
Oct 31 22:25:38 mx postfix/smtpd[29294]: disconnect from ...
----------------------------------

And when i viewed the received mail header a same problem.

mail header:
-------------------------------------------
Received: from mymailserver.com ([127.0.0.1])
    by mymailserver.com (mymailserver.com [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id 24J0NgO2HvI6 for <myprivatmail@hotmail.com>;
    Mon, 31 Oct 2016 20:55:04 +0200 (EET)
Received: from MYCOMPUTER (unknown [192.168.1.34])
    by mymailserver.com (Postfix) with ESMTPA id CA63B1FE2775;
    Mon, 31 Oct 2016 21:55:01 +0300 (AST)
-------------------------------------------

We have one server and timezone is +0300 (AST)

Thank you for now.

----

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

2

Re: amavisd-new timezone problem

I didn't know Amavisd has a time zone setting...

Does your server have correct time zone (/etc/localtime)? is this time zone file same as /var/spool/postfix/etc/localtime?

3

Re: amavisd-new timezone problem

Yes, both localtime file is same. Maybe server is require restart.

Thank you.

4

Re: amavisd-new timezone problem

So it was solved after server/postfix restart?