SiS does not work

Ачилов Рашид Нурмухамедович AchilovRN at granch.ru
Thu Aug 6 11:15:05 UTC 2015


How do you do.

I have tried to use SiS to deduplicate attachments in mail storage. 
Unsuccesful. When goes mail with reasonable size, and SiS try to start, 
I have receive error, when this mail must be delivered for group of 
receivers (i.e. through aliases).

Below is error log, valuable parts of mail addresses masked by X and Y chars

Aug  6 16:11:12 mailsrv dovecot: lmtp(xxxxx): AL1SNrkyw1VPBAAABJcpmA: 
msgid=<2015080614471325760993 at chinacoalchem.com> (from 
zsy at chinacoalchem.com): saved mail to INBOX

This receiver has received mail. But next one does not. And to receive I 
must restart _sendmail_ (not dovecot!). I must restart sendmail as many 
times as there were recipients in envelope.

Aug  6 16:11:12 mailsrv dovecot: lmtp(yyyy): Error: 
read(/usr/share/smbusers/xxxxx/mail/attachments
/e4/3d/e43db6e8af6fb1df4a08f9c1f3f31e93e61781c4c1d2395e04dd96a583aa-01bd5236b932c3554f04000004972998[base64
:19 b/l]) failed: Stream is smaller than expected (0 < 4080128)
Aug  6 16:11:12 mailsrv dovecot: lmtp(yyyy): Error: 
read(attachments-connector(/usr/share/smbusers/xxxxx/mail/storage/m.35)) 
failed: read(/usr/share/smbusers/xxxxx/mail/attachments/e4/3d/e43db6e8af6f
b1df4a08f9c1f3f31e93e61781c4c1d2395e04dd96a583aa-01bd5236b932c3554f04000004972998[base64:19 
b/l]) failed: Stream is smaller than expected (0 < 4080128)
Aug  6 16:11:12 mailsrv dovecot: lmtp(yyyy): Error: copy: 
i_stream_read(attachments-connector(/usr/share/smbusers/xxxxx/mail/storage/m.35)) 
failed: read(/usr/share/smbusers/xxxxx/mail/attachments/e4/
3d/e43db6e8af6fb1df4a08f9c1f3f31e93e61781c4c1d2395e04dd96a583aa-01bd5236b932c3554f04000004972998[base64:19 
b/l]) failed: Stream is smaller than expected (0 < 4080128)
Aug  6 16:11:12 mailsrv dovecot: lmtp(yyyy): Error: 
read(attachments-connector(/usr/share/smbusers/xxxxx/mail/storage/m.35)) 
failed: read(/usr/share/smbusers/xxxxx/mail/attachments/e4/3d/e43db6e8af6f
b1df4a08f9c1f3f31e93e61781c4c1d2395e04dd96a583aa-01bd5236b932c3554f04000004972998[base64:19 
b/l]) failed: Stream is smaller than expected (0 < 4080128) (uid=0, 
box=INBOX)
Aug  6 16:11:12 mailsrv dovecot: lmtp(yyyy): AL1SNrkyw1VPBAAABJcpmA: 
msgid=<2015080614471325760993 at chinacoalchem.com> (from 
zsy at chinacoalchem.com): save failed to INBOX: Internal error occurred. 
Refer to server log for more information. [2015-08-06 16:11:12]

Why LMTP, when try to deliver mail to local user yyyy tries to look up 
into a home directory of local user xxxxx? All these and similar home 
directories has a 'mail' subdir, which keeps mail and rights on this 
subdir is 0700.

To avoid this completely misunderstood occassion, I have temporary set 
mail_attachment_min_size to 2048kb - but now I cannot receive advantage 
from SiS.

-- 
  С Уважением.
  Ачилов Рашид Нурмухамедович (AchilovRN at granch.ru)
  Главный специалист по защите информации
  ООО НПФ "Гранч", тел: +7 (383) 233-35-12, доб. 107

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2606 bytes
Desc: ���������������������������������� �������������� S/MIME
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150806/df00192b/attachment-0001.p7s>


More information about the dovecot mailing list