Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to delete all incoming mail

Status
Not open for further replies.

johnwwweissberg

Technical User
Oct 13, 2004
3
BE
I have an account where I am collecting all spam. I would like all
arriving mail to be automatically be deleted.

In that account's .qmail file, I have simply put

--- file begin --
#
--- file end ---

Is this an efficient way to delete mail?
Is there a more direct way to redirect the mail to /dev/null?
Would this be more efficient:

--- file begin --
|/dev/null
--- file end ---

 
Tell me more about your strategy. Why not deny incoming spam at the gateway to prevent your having to handle it at all? I guess your proposal works, but you might be working too hard still.

 
The mailbox is a catch-all for arriving mail that is not for a real existing user. My experience shows very large volumes of total spam sent in disctionary-type spam waves.

All I want to do is delete this stuff the most efficient way possible that puts the least stress as possible on qmail.

If I bounce back that the "user does not exist" then I get tone of undeliverable mail since the spammer's return address is always invalid.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top