On Tue, Apr 17, 2001 at 05:32:52PM +0530, mugundhan wrote:
> iam very much confused as to how to find the number of bounced back mails. iam able 
>to receive all the bounce back mails to my email address. but, i need to count them 
>manually to get the number of returned mails. 

Set up an account that will only receive the bounces.
Make the delivery of that account a Maildir.
Do a "/bin/ls -1 | wc -l" in that Maildir/new . The number you get is
the number of messages in that box.
If you want to start over, remove all the files in that Maildir.

Please note that it may take hours and days for bounces to come back.

        \Maex

-- 
SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.

Reply via email to