[Dovecot] Attachment file larger than expected

Angel L. Mateo amateo at um.es
Thu Sep 19 14:37:40 EEST 2013


	I'm using dovecot 2.1.16 with SiS configured as:

mail_attachment_dir = <mypath>
mail_attachment_min_size = 128 k
mail_attachment_fs = sis posix
mail_attachment_hash = %{sha1}

	I'm having a few errors like:

Sep 18 15:46:32 myotis51 dovecot: imap(igd): Error: Attachment file 
larger than expected (235866)

	They are really few and users haven't reported any problem, but the 
errors are there.

	In this case, actual file size of the attachment is:

amateo_adm at myotis51:~$ sudo stat 
   Tamaño: 174476    	Bloques: 344        Bloque E/S: 4096   fichero regular
Dispositivo: fc00h/64512d	Nodo-i: 152334473   Enlaces: 2
Acceso: (0600/-rw-------)  Uid: ( 2012/   vmail)   Gid: (  204/   vmail)
Acceso: 2013-09-18 15:46:20.540728654 +0200
Modificación: 2013-09-18 15:46:20.556728948 +0200
       Cambio: 2013-09-18 15:46:20.556728949 +0200
     Creación: -

	and file is identified as:

amateo_adm at myotis51:~$ sudo file 
MIME entity, UTF-8 Unicode text, with very long lines, with CRLF line 

	Any idea?

Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
Tfo: 868889150
Fax: 868888337

More information about the dovecot mailing list