Email Account that deletes incoming mail

keefe007

Verified User
Joined
Dec 25, 2004
Messages
282
Is there a way to make an email account that automatically deletes everything that is sent to it? Or is there a way to have a catch-all enabled but just bounce specific email addresses?
 
keefe007 said:
Is there a way to make an email account that automatically deletes everything that is sent to it?
Yes. Pipe the address to /dev/null.
Or is there a way to have a catch-all enabled but just bounce specific email addresses?
Create an ACL in exim.conf.

Jeff
 
I tried making a forward to "/dev/null" and received an error. Do I have to do it manually?
 
Yeah I read that thread and I thought it should have been implemented into DA by now.

When I try that I get this error:

String contains an invalid email address: "|/dev/null"
 
Actuall I tried it again and the forward created sucessfully, but it doesn't work. I get an error like this:

pipe to |/dev/null
generated by [email protected]
local delivery failed
pipe to |/dev/null
generated by [email protected]
local delivery failed

It looks like others are having this issue, without a resolution here.

Directadmin support have anything to add?
 
Hello,

The easy way is to create a forwarder and send it to:

:blackhole:

or

:fail:


:blackhole: will accept the email, and not save it.
:fail: will send a fail message to the sender.

It's the same as the catch-all, but just for one account.

John
 
That works great!

Can we add this to the help.directadmin.com documentation so others don't have to ask?

Thanks!
 
Back
Top