Mail from ILUG-BOM list (Non-Digest Mode)

Sometime Today, Dr.Kartik Patel assembled some asciibets to say:

> > does any one know who has subscribed with [EMAIL PROTECTED] or may be
> > you the person with this emial address ?
> > address are bouncing. also the person is smart enough to use some forwarding
> > mail service to this account as this address is not on the list but the
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Why don't you just unsubscribe this person?

Because the address is not on the list.  He uses some form of email
forwarding.

What you can do, is write a small email script that will send mail to
everyone on the list (individually).

Something like this:

#!/bin/bash

MAILPATH="/usr/lib/sendmail -t"

if [ $# -lt 1 ]; then
        echo "Usage $0 <listfile>"
        exit;
fi

for email in `cat $1`; do
        echo "From: [EMAIL PROTECTED]" > "tempmail-$$.txt"
        echo "To: $email" >> "tempmail-$$.txt"
        echo "Subject: Test - Delete" >> "tempmail-$$.txt"

        # Blank separator line
        echo >> "tempmail-$$.txt"
        echo "Testing if your account is alive" >> "tempmail-$$.txt"
        echo >> "tempmail-$$.txt"
        echo "You are $email" >> "tempmail-$$.txt"
        echo >> "tempmail-$$.txt"

        # Write to mail program
        cat "tempmail-$$.txt" | $MAILPATH
done

# Delete only last occurence of tempmail
rm "tempmail-$$.txt"

exit

Run this program once with the mail list file.

No doubt, it will boucne from the checquemail address.  Then, all you have
to do is look at the returned message to find out who's mail was returned.

Philip

-- 
Wake up and smell the coffee.
                -- Ann Landers




_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to