En esta sección se va a enviar un correo con el contenido del archivo /usr/share/doc/spamc/sample-spam.txt para comprobar que Spamassassin está funcionando y lo hace de la forma correcta:
Ejemplo 8.2. Envío de un correo
$ /usr/bin/mail [email protected] Subject: Prueba para el control antispam This is the GTUBE, the Generic Test for Unsolicited Bulk Email If your spam filter supports it, the GTUBE provides a test by which you can verify that the filter is installed correctly and is detecting incoming spam. You can send yourself a test mail containing the following string of characters (in upper case and with no white spaces and line breaks): XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X You should send this test mail from an account outside of your network. . Cc: [enter] |
Ahora se muestra el correo recibido por el usuario severa:
Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from localhost (localhost [127.0.0.1]) by todoscsi.gsr.pt (Postfix) with ESMTP id 82F0548 for <[email protected]>; Sun, 6 Jun 2004 16:01:41 +0100 (WEST) Received: from todoscsi.gsr.pt ([127.0.0.1]) by localhost (todoscsi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05068-03 for <[email protected]>; Sun, 6 Jun 2004 16:01:37 +0100 (WEST) Received: by todoscsi.gsr.pt (Postfix, from userid 1000) id 4B5D04B; Sun, 6 Jun 2004 16:01:37 +0100 (WEST) To: [email protected] Subject: ***SPAM*** Prueba para el control antispam |