Re: mailq tools

From: Matthias Andree (no email)
Date: Mon Sep 01 2003 - 15:35:47 EDT


Sascha Lucas <> writes:

> last there were discussions about how to manage the mail-queue in a easy
> way. some using scripts to reformat the output of mailq and then greping
> through. some use awk to find the ID's of some senders/recipients...
>
> but as far I can see, it would be a feture if I can say: just print the
> ID's from deferred-queue from sender a at b dot c or all recipients from
> domain.com. then it would be easy to move some mails on hold, or delete
> etc.
>
> Perhaps some people would say: train usage of grep or awk. For me it
> would be fine if postfix has this feature build in.

Build something on top of my mailq reformatter script
http://mandree.home.pages.de/postfix/mailqfmt.pl - its output is easily
grepped for the information you want to see. (Requires Perl5 as you guessed.)

BTW, please do NOT press "reply" when starting a new query on a mailing
list, but DO use the "new mail" button, so you start a new thread.

BTW #2, there are better Linux mailers than Communicator 4.8, in case
you find reading or posting to the list uncomfortable.

-- 
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD