SendMail - sendmail pierde adjuntos

 
Vista:

sendmail pierde adjuntos

Publicado por Koldo Navarro (1 intervención) el 28/07/2006 09:58:07
Hola,

tengo instalado el sendmail 8.11.6 en un red hat. Recojo el correo del exterior mediante fetchmail, y tengo definidos unos aliases, de tal manera que cuando llega un correo se almacena en dos carpetas: una Secretaria, y la otra su destinatario.

Desde hace un tiempo nos sucede que algunos mensajes pierden sus adjuntos. Nos envían mensajes con documentos adjuntos, pero los destinatarios (tanto Secretaría como el destinatario final) reciben un mensaje sin adjuntos. Esto solo ocurre con algunos mensajes, no con todos.

He mirado los archivos de log, tanto del sendmail como del fetchmail, y lo único que he visto es que Sendmail recibe los mensajes con adjuntos, pero en un reenvío interno que hace, el tamaño del mensaje indica que ha perdido sus adjuntos, porque es mucho menor.

No hay mensajes de error, ni avisos del antivirus (Panda). Y no tengo ni idea de por qué pierde los adjuntos.

Pongo a continuación algunos de los mensajes de log, donde se ve el cambio de tamaño.

Si alguien tiene alguna idea de por dónde buscar, le estaré muy agradecido.

Un saludo
Koldo Navarro

He aquí los datos de los logs

fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 770314 octets
fetchmail: reading message 1 of 1 (770314 octets)
fetchmail: SMTP< 220 mail.ghisa.int ESMTP Sendmail 8.11.6/8.11.6; Wed, 26 Jul 2006 11:55:35 +0200
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-mail.pepe.int Hello localhost [127.0.0.1], pleased to meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ONEX
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XUSR
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<emisor> BODY=8BITMIME SIZE=770314
fetchmail: SMTP< 250 2.1.0 <emisor>... Sender ok
fetchmail: SMTP> RCPT TO:<secretaria@localhost>
fetchmail: SMTP< 250 2.1.5 <secretaria@localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 k6Q9tZM21091 Message accepted for delivery
fetchmail: flushed
fetchmail: POP3> DELE 1^M
fetchmail: POP3< +OK Message 1 has been deleted.

====================================================
sendmail
====================================================

Jul 26 11:55:37 mail sendmail[21091]: k6Q9tZM21091: from=<emisor>, size=760330, class=0, nrcpts=1, [email protected]>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]

Jul 26 11:55:39 mail sendmail[21119]: k6Q9tcn21119: from=emisor, size=5316, class=0, nrcpts=1, [email protected]>, relay=root@localhost

Jul 26 11:55:39 mail sendmail[21093]: k6Q9tZM21091: to=<secretaria@localhost>, delay=00:00:03, xdelay=00:00:01, mailer=inflex, pri=790330, dsn=2.0.0, stat=Sent

Jul 26 11:55:39 mail sendmail[21122]: k6Q9tcn21119: [email protected], ctladdr=emisor (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=35316, dsn=2.0.0, stat=Sent
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:sendmail pierde adjuntos

Publicado por Lay Joseph (11 intervenciones) el 31/08/2006 15:47:29
sendmail por omision no pierde los adjuntos pero si puedes definir el tamaño
adjunto mira un post que encontre en internet:

On Tue, 17 Jun 2003, ivo Tijhaar wrote:

> I.m using rh9.0 and i want to limit my users mailbox to 5-20Mb depending on
> user account. but i can't find any information about it.
>
> thanks in advance
>

Not quite clear what you want here. Why not just give that volume a quota
of 5-20Mb per person?

If you're talking about incoming message size, if your using sendmail, set
O MaxMessageSize=5000000
or withing the sendmail.mc file
define(`confMAX_MESSAGE_SIZE',5000000)

If you still wanna do it within procmailr, the rule would be something like
:0:
* > 5000000
(do something with it eg pipe to formail, truncate, bounce back to sender
with message saying it's too big)

Espero que te sirva, cheka si tu amtivirus tambien muerde los correos y te los deja sin attachment, ya que panda no uso ,yo uso clamav+mailscanner son mas configurables y tienen mas soporte.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar