<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>DIMP random attachment bug</title> 
  <pubDate>Fri, 10 Apr 2026 06:34:49 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8499</link> 
  <atom:link rel="self" type="application/rss+xml" title="DIMP random attachment bug" href="https://bugs.horde.org/ticket/8499/rss" /> 
  <description>DIMP random attachment bug</description> 
 
   
   
  <item> 
   <title>We have installed horde-webmail (actual verions is 1.2.3) in</title> 
   <description>We have installed horde-webmail (actual verions is 1.2.3) in our University and since 2 mounth we are in production (approximately 3000 users per day). Some users reported us an issue with Dimp interface and attachements. The problem reported is random, sometimes attachments work, sometimes not.



Every time, the message is send with attachments, but at the reception, they have disappeared. This bug doesn&#039;t exist with Imp interface.



After trying to reproduct the issue (it&#039;s very hard, because it&#039;s a random issue), I have finaly found a method, but I think that this is not the only one :



1/ open horde-webmail with Dimp interface

2/ compose a new message

3/ add an attachement



On our server, we can see the attachement :

# ls -lgrt impatt*

-rw-------  1 apache   224256 Aug 17 11:34 impattLCCVy8



4/ Wait one minute :

# date

Mon Aug 17 11:34:52 CEST 2009



# date

Mon Aug 17 11:35:55 CEST 2009



5/ open a new compose message box

6/ switch to the first compose message box

7/ add a second attachement



On our server, we can see all attachements :

# ls -lgrt impatt*

-rw-------  1 apache   224256 Aug 17 11:34 impattLCCVy8

-rw-------  1 apache   224768 Aug 17 11:35 impattW8pzfe



8/ send the message



In our inbox, the message is recieve whitout attachements. And on the server, the impatt* files are not deleted.





Additionnal informations :

horde-webmail version : 1.2.3

dimp version : 1.1.2



Sessions are stocked in a mysql database :

# Sessions

$conf[&#039;session&#039;][&#039;name&#039;] = &#039;Horde&#039;;

$conf[&#039;session&#039;][&#039;cache_limiter&#039;] = &#039;nocache&#039;;

$conf[&#039;session&#039;][&#039;timeout&#039;] = 0;

# Session en base de donnee

$conf[&#039;sessionhandler&#039;][&#039;type&#039;] = &#039;mysql&#039;;

$conf[&#039;sessionhandler&#039;][&#039;params&#039;][&#039;persistent&#039;] = false;

$conf[&#039;sessionhandler&#039;][&#039;params&#039;][&#039;rowlocking&#039;] = true;

$conf[&#039;sessionhandler&#039;][&#039;params&#039;][&#039;port&#039;] = 3307;

$conf[&#039;sessionhandler&#039;][&#039;params&#039;][&#039;protocol&#039;] = &#039;tcp&#039;;

$conf[&#039;sessionhandler&#039;][&#039;params&#039;][&#039;hostspec&#039;] = &#039;****&#039;;

$conf[&#039;sessionhandler&#039;][&#039;params&#039;][&#039;username&#039;] = &#039;****&#039;;

$conf[&#039;sessionhandler&#039;][&#039;params&#039;][&#039;password&#039;] = &#039;****&#039;;

$conf[&#039;sessionhandler&#039;][&#039;params&#039;][&#039;database&#039;] = &#039;****&#039;;



If we share all sessions with an NFS mounting, the issue is the same.



PS : Additionnal informations in the dimp-bug.jpeg</description> 
   <pubDate>Mon, 17 Aug 2009 10:10:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8499#t55330</link> 
  </item> 
   
  <item> 
   <title>Do you have more than one backend server?  This scenario sou</title> 
   <description>Do you have more than one backend server?  This scenario sounds like what happens when a user switches servers in the middle of composing.  You can&#039;t use simple file-based attachment storage if using multiple servers (VFS or NFS is needed).</description> 
   <pubDate>Wed, 19 Aug 2009 19:41:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8499#t55436</link> 
  </item> 
   
  <item> 
   <title>&gt; Do you have more than one backend server?  This scenario s</title> 
   <description>&gt; Do you have more than one backend server?  This scenario sounds like 

&gt; what happens when a user switches servers in the middle of composing. 

&gt;  You can&#039;t use simple file-based attachment storage if using multiple 

&gt; servers (VFS or NFS is needed).



Yes, we have 3 backend servers. It&#039;s a PHP cluster based on heartbeat.

Can you tell me how I can change this option ?

</description> 
   <pubDate>Thu, 20 Aug 2009 08:25:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8499#t55457</link> 
  </item> 
   
  <item> 
   <title>&gt; Yes, we have 3 backend servers. It&#039;s a PHP cluster based o</title> 
   <description>&gt; Yes, we have 3 backend servers. It&#039;s a PHP cluster based on heartbeat.

&gt; Can you tell me how I can change this option ?



As mentioned before, you need to store attachments in a location that is accessible to all backend servers (such as VFS or NFS).  This is not a support forum.  Please see: http://www.horde.org/support.php</description> 
   <pubDate>Thu, 20 Aug 2009 15:18:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8499#t55468</link> 
  </item> 
   
  <item> 
   <title>I forgot to tell you, all attachements (imppat files) are st</title> 
   <description>I forgot to tell you, all attachements (imppat files) are stored on a NFS volumes.



But, since your last message, I actived the VFS option in the IMP config file :

$conf[&#039;compose&#039;][&#039;use_vfs&#039;] = true;



After check database, all attachements are stored in the horde_vfs table.



But I have the same issue. I compose 5 messages with 2 attachements at same time, I receive :



2 messages without attachements

1 message with only one attachement

2 messages with 2 attachements



PS : cf. dimp-bug.jpeg

</description> 
   <pubDate>Fri, 21 Aug 2009 07:41:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8499#t55505</link> 
  </item> 
   
  <item> 
   <title>Another test : I send 5 messages with 2 attachements at the </title> 
   <description>Another test : I send 5 messages with 2 attachements at the same time. 



After composing messages and before sending them, I can see 10 attachements in the database =&gt; before section in dimp-test.jpg



After sending all messages, I can see 9 attachements in the database =&gt; after section in dimp-test.jpg



In my inbox, I receive only 1 message with 1 attachemnt. Other messages are empty ... =&gt; inbox section in dimp-test.jpg</description> 
   <pubDate>Fri, 21 Aug 2009 08:47:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8499#t55506</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
