[TriLUG] best method of - SOLVED
Greg Brown
gregbrown at mindspring.com
Sat Jan 11 12:02:24 EST 2003
Hey all. Thanks to everyone who helped out with my auto mail deletion
problem. Here's how it worked out:
1. the ln -s /dev/null /var..../dontbotherme method
This worked great up until I rebooted the machine at which point the
symbolic link /var.../dontbotherme -> /dev/null magically became
/var..../BOGUS.dontbotherme.MT?? (I can't remember the last two
letters). Anyway, at that point, once the dontbotherme user received
e-mail
no longer deleted itself because of the symbolic name change. Weird.
2. the alias method
This didn't work for me either (probably do the fact that I never had a
chance to read the man page thanks to people bothering me non-stop).
3. the .forward | to procmail method
This worked. And it continues to work. New mail that arrives for
dontbotherme is magically deleted.
Thanks everyone!
Greg
On Friday, Jan 10, 2003, at 12:59 America/New_York, Mike Johnson wrote:
> Greg Brown [gregbrown at mindspring.com] wrote:
>> Hey all. I have created a mailbox on my work Linux box (RH 7.1)
>> which I'd
>> like to use as a black-hole mailbox. I simply want to delete every
>> message
>> that arrives at dontbotherme at mysytem.workdomain.com. Any ideas on
>> the best
>> way to do this?
>
> Yeah, step one is to delete the mailbox. Then, add an alias (depending
> on your MTA) like thus:
> dontbotherme: /dev/null
>
> Add the new aliaes (newaliases) and off you go.
>
> Mike
> --
> "If life hands you lemons, YOU BLOW THOSE LEMONS TO BITS WITH
> YOUR LASER CANNONS!" -- Brak
>
> GNUPG Key fingerprint = ACD2 2F2F C151 FB35 B3AF C821 89C4 DF9A 5DDD
> 95D1
> GNUPG Key = http://www.enoch.org/mike/mike.pubkey.asc
>
> <mime-attachment>
More information about the TriLUG
mailing list