[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: smtp alais to point to dev null



On Sat, Mar 15, 2003 at 10:04:37AM -0500, Jason M. Harvey wrote:
| hi!
| 
| i was selling a car once and posted a message to some new jersey for
| sale newsgroup. luckily i set up an alias "car" to send the message...

So far so good.  (in fact, I did nearly the same thing several months
ago)

| 'cause now i'm getting a lot of spam to that alias. so, i took "car" out
| of /etc/aliases, but now exim receieves the message, hold it it queue,
| then bounces it back to me since the original sender is "<>"!

That seems like a bit of misconfiguration in exim.  If you have no
local users named 'car' and no alias in /etc/aliases, then exim
shouldn't accept the message in the first place.

| so, as a solution, i would like to put "car: /dev/null" in /etc/aliases,
| but wanted to check here in case there is a better way of doing it.

You can do that.  What I did was to change the alias to 
    :fail: Thanks for your interest, but the car is gone.
I would actually recommend using ":blackhole:" instead of "/dev/null"
because then exim won't even bother with opening the file and writing
to it.

-D

-- 
Commit to the Lord whatever you do,
and your plans will succeed.
        Proverbs 16:3
 
http://dman.ddts.net/~dman/

Attachment: pgpZMr2ApE1rS.pgp
Description: PGP signature


Reply to: