Eliminar los mensajes de correo de un buzon es mas facil de lo que crees.
Solo necesitas acceder al buzon y correr el comando d * (d seguido de un asterisco), presiona ENTER y listo.
Aqui los detalles.
1. Obten acceso a tu buzon, teclea mail seguido de ENTER, se desplegara una pantalla con correos, seguida de un prompt &.
Linux console | jpacheco@aex-infra ~
[jpacheco@aex-infra ~]$ mail
Heirloom Mail version 12.5 7/5/10. Type ? for help.
“/var/spool/mail/jpacheco”: 39723 messages 39719 unread
1 logwatch@aex-infra.a Thu Feb 20 03:14 177/6005 “Logwatch for aex-infr”
>U 2 logwatch@aex-infra.a Fri Feb 21 03:06 242/8971 “Logwatch for aex-infr”
U 3 logwatch@aex-infra.a Sat Feb 22 03:48 149/4913 “Logwatch for aex-infr”
U 4 logwatch@aex-infra.a Sun Feb 23 03:07 259/10508 “Logwatch for aex-infr”
U 5 logwatch@aex-infra.a Mon Feb 24 03:13 203/8006 “Logwatch for aex-infr”
U 6 logwatch@aex-infra.a Tue Feb 25 03:14 139/4729 “Logwatch for aex-infr”
7 logwatch@aex-infra.a Wed Feb 26 03:30 161/5705 “Logwatch for aex-infr”
U 8 logwatch@aex-infra.a Thu Feb 27 03:31 188/7288 “Logwatch for aex-infr”
U 9 logwatch@aex-infra.a Fri Feb 28 03:20 163/6014 “Logwatch for aex-infr”
U 10 logwatch@aex-infra.a Sat Mar 1 03:38 175/6550 “Logwatch for aex-infr”
U 11 logwatch@aex-infra.a Sun Mar 2 03:30 183/7327 “Logwatch for aex-infr”
U 12 logwatch@aex-infra.a Mon Mar 3 03:27 153/5206 “Logwatch for aex-infr”
U 13 logwatch@aex-infra.a Tue Mar 4 03:12 140/4877 “Logwatch for aex-infr”
U 14 logwatch@aex-infra.a Wed Mar 5 03:45 143/4877 “Logwatch for aex-infr”
U 15 logwatch@aex-infra.a Thu Mar 6 03:17 135/4328 “Logwatch for aex-infr”
U 16 logwatch@aex-infra.a Fri Mar 7 03:18 146/4757 “Logwatch for aex-infr”
U 17 logwatch@aex-infra.a Sat Mar 8 03:13 121/3944 “Logwatch for aex-infr”
U 18 logwatch@aex-infra.a Sun Mar 9 03:47 196/6591 “Logwatch for aex-infr”
U 19 logwatch@aex-infra.a Mon Mar 10 03:34 128/4172 “Logwatch for aex-infr”
U 20 logwatch@aex-infra.a Tue Mar 11 03:12 163/5823 “Logwatch for aex-infr”
&
Heirloom Mail version 12.5 7/5/10. Type ? for help.
“/var/spool/mail/jpacheco”: 39723 messages 39719 unread
1 logwatch@aex-infra.a Thu Feb 20 03:14 177/6005 “Logwatch for aex-infr”
>U 2 logwatch@aex-infra.a Fri Feb 21 03:06 242/8971 “Logwatch for aex-infr”
U 3 logwatch@aex-infra.a Sat Feb 22 03:48 149/4913 “Logwatch for aex-infr”
U 4 logwatch@aex-infra.a Sun Feb 23 03:07 259/10508 “Logwatch for aex-infr”
U 5 logwatch@aex-infra.a Mon Feb 24 03:13 203/8006 “Logwatch for aex-infr”
U 6 logwatch@aex-infra.a Tue Feb 25 03:14 139/4729 “Logwatch for aex-infr”
7 logwatch@aex-infra.a Wed Feb 26 03:30 161/5705 “Logwatch for aex-infr”
U 8 logwatch@aex-infra.a Thu Feb 27 03:31 188/7288 “Logwatch for aex-infr”
U 9 logwatch@aex-infra.a Fri Feb 28 03:20 163/6014 “Logwatch for aex-infr”
U 10 logwatch@aex-infra.a Sat Mar 1 03:38 175/6550 “Logwatch for aex-infr”
U 11 logwatch@aex-infra.a Sun Mar 2 03:30 183/7327 “Logwatch for aex-infr”
U 12 logwatch@aex-infra.a Mon Mar 3 03:27 153/5206 “Logwatch for aex-infr”
U 13 logwatch@aex-infra.a Tue Mar 4 03:12 140/4877 “Logwatch for aex-infr”
U 14 logwatch@aex-infra.a Wed Mar 5 03:45 143/4877 “Logwatch for aex-infr”
U 15 logwatch@aex-infra.a Thu Mar 6 03:17 135/4328 “Logwatch for aex-infr”
U 16 logwatch@aex-infra.a Fri Mar 7 03:18 146/4757 “Logwatch for aex-infr”
U 17 logwatch@aex-infra.a Sat Mar 8 03:13 121/3944 “Logwatch for aex-infr”
U 18 logwatch@aex-infra.a Sun Mar 9 03:47 196/6591 “Logwatch for aex-infr”
U 19 logwatch@aex-infra.a Mon Mar 10 03:34 128/4172 “Logwatch for aex-infr”
U 20 logwatch@aex-infra.a Tue Mar 11 03:12 163/5823 “Logwatch for aex-infr”
&
2. Ahora, borra todos los correos, teclea: d * y luego presiona ENTER. Nota que no habra ningun mensaje o indicador de que se estan eliminando los mensajes de correo.
Linux console | jpacheco@aex-infra ~
[jpacheco@aex-infra ~]$ mail
Heirloom Mail version 12.5 7/5/10. Type ? for help.
“/var/spool/mail/jpacheco”: 39723 messages 39719 unread
1 logwatch@aex-infra.a Thu Feb 20 03:14 177/6005 “Logwatch for aex-infr”
>U 2 logwatch@aex-infra.a Fri Feb 21 03:06 242/8971 “Logwatch for aex-infr”
U 3 logwatch@aex-infra.a Sat Feb 22 03:48 149/4913 “Logwatch for aex-infr”
U 4 logwatch@aex-infra.a Sun Feb 23 03:07 259/10508 “Logwatch for aex-infr”
U 5 logwatch@aex-infra.a Mon Feb 24 03:13 203/8006 “Logwatch for aex-infr”
U 6 logwatch@aex-infra.a Tue Feb 25 03:14 139/4729 “Logwatch for aex-infr”
7 logwatch@aex-infra.a Wed Feb 26 03:30 161/5705 “Logwatch for aex-infr”
U 8 logwatch@aex-infra.a Thu Feb 27 03:31 188/7288 “Logwatch for aex-infr”
U 9 logwatch@aex-infra.a Fri Feb 28 03:20 163/6014 “Logwatch for aex-infr”
U 10 logwatch@aex-infra.a Sat Mar 1 03:38 175/6550 “Logwatch for aex-infr”
U 11 logwatch@aex-infra.a Sun Mar 2 03:30 183/7327 “Logwatch for aex-infr”
U 12 logwatch@aex-infra.a Mon Mar 3 03:27 153/5206 “Logwatch for aex-infr”
U 13 logwatch@aex-infra.a Tue Mar 4 03:12 140/4877 “Logwatch for aex-infr”
U 14 logwatch@aex-infra.a Wed Mar 5 03:45 143/4877 “Logwatch for aex-infr”
U 15 logwatch@aex-infra.a Thu Mar 6 03:17 135/4328 “Logwatch for aex-infr”
U 16 logwatch@aex-infra.a Fri Mar 7 03:18 146/4757 “Logwatch for aex-infr”
U 17 logwatch@aex-infra.a Sat Mar 8 03:13 121/3944 “Logwatch for aex-infr”
U 18 logwatch@aex-infra.a Sun Mar 9 03:47 196/6591 “Logwatch for aex-infr”
U 19 logwatch@aex-infra.a Mon Mar 10 03:34 128/4172 “Logwatch for aex-infr”
U 20 logwatch@aex-infra.a Tue Mar 11 03:12 163/5823 “Logwatch for aex-infr”
& d *
Heirloom Mail version 12.5 7/5/10. Type ? for help.
“/var/spool/mail/jpacheco”: 39723 messages 39719 unread
1 logwatch@aex-infra.a Thu Feb 20 03:14 177/6005 “Logwatch for aex-infr”
>U 2 logwatch@aex-infra.a Fri Feb 21 03:06 242/8971 “Logwatch for aex-infr”
U 3 logwatch@aex-infra.a Sat Feb 22 03:48 149/4913 “Logwatch for aex-infr”
U 4 logwatch@aex-infra.a Sun Feb 23 03:07 259/10508 “Logwatch for aex-infr”
U 5 logwatch@aex-infra.a Mon Feb 24 03:13 203/8006 “Logwatch for aex-infr”
U 6 logwatch@aex-infra.a Tue Feb 25 03:14 139/4729 “Logwatch for aex-infr”
7 logwatch@aex-infra.a Wed Feb 26 03:30 161/5705 “Logwatch for aex-infr”
U 8 logwatch@aex-infra.a Thu Feb 27 03:31 188/7288 “Logwatch for aex-infr”
U 9 logwatch@aex-infra.a Fri Feb 28 03:20 163/6014 “Logwatch for aex-infr”
U 10 logwatch@aex-infra.a Sat Mar 1 03:38 175/6550 “Logwatch for aex-infr”
U 11 logwatch@aex-infra.a Sun Mar 2 03:30 183/7327 “Logwatch for aex-infr”
U 12 logwatch@aex-infra.a Mon Mar 3 03:27 153/5206 “Logwatch for aex-infr”
U 13 logwatch@aex-infra.a Tue Mar 4 03:12 140/4877 “Logwatch for aex-infr”
U 14 logwatch@aex-infra.a Wed Mar 5 03:45 143/4877 “Logwatch for aex-infr”
U 15 logwatch@aex-infra.a Thu Mar 6 03:17 135/4328 “Logwatch for aex-infr”
U 16 logwatch@aex-infra.a Fri Mar 7 03:18 146/4757 “Logwatch for aex-infr”
U 17 logwatch@aex-infra.a Sat Mar 8 03:13 121/3944 “Logwatch for aex-infr”
U 18 logwatch@aex-infra.a Sun Mar 9 03:47 196/6591 “Logwatch for aex-infr”
U 19 logwatch@aex-infra.a Mon Mar 10 03:34 128/4172 “Logwatch for aex-infr”
U 20 logwatch@aex-infra.a Tue Mar 11 03:12 163/5823 “Logwatch for aex-infr”
& d *
3. Sal de tu buzon de correo tecleando quit seguido de ENTER, entra de nuevo a tu buzon y listo.
Linux console | jpacheco@aex-infra ~
.
.
.
U 19 logwatch@aex-infra.a Mon Mar 10 03:34 128/4172 “Logwatch for aex-infr”
U 20 logwatch@aex-infra.a Tue Mar 11 03:12 163/5823 “Logwatch for aex-infr”
& d *
& quit
.
.
U 19 logwatch@aex-infra.a Mon Mar 10 03:34 128/4172 “Logwatch for aex-infr”
U 20 logwatch@aex-infra.a Tue Mar 11 03:12 163/5823 “Logwatch for aex-infr”
& d *
& quit
[jpacheco@aex-infra ~]$ mail
No mail for jpacheco