Dear Group!



I have a problem with timestamp in time_num and time_iso field,

which results exactly 2 hours before the REAL arrival time of the
emails.



And yes, I have set $timestamp_fmt_mysql = 1; in amavisd.conf



My test setup:

Filter machine

OS: FC1 with amavisd-new-2.4.2

DB storage machine:

OS: FC3 with MySQL 4.1.11



The time in both machines is synced.

mysql> SELECT @@global.time_zone, @@session.time_zone;

+--------------------+---------------------+

| @@global.time_zone | @@session.time_zone |

+--------------------+---------------------+

|
SYSTEM            
|
SYSTEM             
|

+--------------------+---------------------+

mysql> desc msgs;

+-------------+------------------+------+-----+---------------------+-------+

| Field       |
Type            
| Null | Key |
Default            
| Extra |

+-------------+------------------+------+-----+---------------------+-------+

| mail_id     |
varchar(12)      |     
| PRI
|                    
|       |

| secret_id   | varchar(12)      |
YES  |    
|                    
|       |

| am_id       |
varchar(20)      |     
|    
|                    
|       |

| time_num    | int(10) unsigned
|      | MUL |
0                  
|       |

| time_iso    |
timestamp        | YES  | MUL |
0000-00-00 00:00:00 |       |

| sid         | int(10) unsigned
|      | MUL |
0                  
|       |

| policy      |
varchar(255)     | YES  |    
|                    
|       |

| client_addr | varchar(255)     | YES 
|    
|                    
|       |

| size        | int(10) unsigned
|      |     |
0                  
|       |

| content     |
char(1)          | YES 
|     |
NULL               
|       |

| quar_type   |
char(1)          | YES 
|     |
NULL               
|       |

| quar_loc    | varchar(255)     |
YES  |    
|                    
|       |

| dsn_sent    |
char(1)          | YES 
|     |
NULL               
|       |

| spam_level  |
float            |
YES  |     |
NULL               
|       |

| message_id  | varchar(255)     | YES 
|    
|                    
|       |

| from_addr   | varchar(255)     | YES 
|    
|                    
|       |

| subject     | varchar(255)     |
YES  |    
|                    
|       |

| host        |
varchar(255)     |     
|    
|                    
|       |

+-------------+------------------+------+-----+---------------------+-------+

18 rows in set (0.00 sec)



Am I missing something here?



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to