Mes: marzo 2006

  • Can’t connect to UNIX socket /var/run/clamav/clamd.ctl

    Este error se debe a que no tenemos el directorio creado, puede que nos falte tambien el paquete clamav-daemon. [shell] Mar 29 17:26:23 front5 amavisd-new[24950]: (24950-01) Clam Antivirus-clamd: Can’t connect to UNIX socket /var/run/clamav/clamd.ctl: No existe el fichero o el directorio, retrying (1) [/shell] Otro error de amavis, falla al chequear los mails con el…

  • ERR- Can’t open the message file – it’s gone!

    En un cliente de outlook hemos tenido este problema : [shell]ERR – Can’t open the message file – it’s gone![/shell] La explicación, que dos cuentas de correo intentan descargar un email a la vez o como dicen en inglés : «probably have two login sessions hitting the same mailbox at the same time.» Nada, con…

  • Descubriendo las librerias de un binario

    Cómo ver las librerias de las que depende un binario: [shell] root@mailserver:/usr/share/doc/libsasl2# ldd `which postfix` libpostfix-global.so.1 => /usr/lib/libpostfix-global.so.1 (0x4001c000) libpostfix-util.so.1 => /usr/lib/libpostfix-util.so.1 (0x40040000) libdb-4.2.so => /usr/lib/libdb-4.2.so (0x40065000) libnsl.so.1 => /lib/tls/libnsl.so.1 (0x4013b000) libresolv.so.2 => /lib/tls/libresolv.so.2 (0x4014f000) libgdbm_compat.so.3 => /usr/lib/libgdbm_compat.so.3 (0x40161000) libc.so.6 => /lib/tls/libc.so.6 (0x40164000) libdl.so.2 => /lib/tls/libdl.so.2 (0x40299000) libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x4029d000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)…

  • fatal: no SASL authentication mechanisms

    Configurando sasls con debian para postfix encuentro estos mensajes en /var/log/mail.log [shell] Mar 9 13:18:05 mailserver postfix/smtpd[15016]: fatal: no SASL authentication mechanisms Mar 9 13:18:06 mailserver postfix/master[15011]: warning: process /usr/lib/postfix/smtpd pid 15016 exit status 1 Mar 9 13:18:06 mailserver postfix/master[15011]: warning: /usr/lib/postfix/smtpd: bad command startup — throttling [/shell] La solucion: [shell] apt-get install libsasl2-modules [/shell]

  • Expresiones regulares y Shell

    Transformar el texto de un fichero de mayusculas a minusculas: [shell] cat fichero.txt | tr ‘A-Z’ ‘a-z’ > nuevofichero.txt [/shell]