You can do it with a procmailrc script if you use sendmail. If you use postfix, you can do it with regular expressions using, for example: header_checks = pcre:/etc/postfix/headers And /etc/postfix/headers: /^From: <anonymous@domain>$/ REJECT /^Subject: I send this for you$/ REJECT El mar, 30-11-2004 a las 12:21 +0500, Aasef Iqbal escribiÃ: > Hi! > > I am working with a hosting company. One of our servers is being to > SPAM. I can see large number of emails being sent to few particular > domains. The sender is either <> or <anonymouse@xxxxxxxxxxxx> > > There are two question I am looking for help. > > 1. How can I remove the emails already in queue. with blank sender > address or <anonymouse@xxxxxxx> as sender address, or even the domain > name pointed in TO address. > > 2. as I am we provide hosting, I doubt some of my clients shall > probably be running some scripts to generate these emails... How can I > verify this. > > Please comment. > > Asif > -- Daniel Eugenin M. http://www.linuxcenterla.com Red Hat Certified Technician/Engineer Canada #239 Piso 5 Ingeniero de Proyectos Providencia,Santiago-Chile LinuxCenter Latinoamerica Fono: +56-2-2745000 En proceso de CertificaciÃn ISO 9001:2000 FAX: +56-2-2747075 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list