Alex, thanks for the response. I am hosting a number of sites
here. I
want to take everything such as for example, site1.com and site2.com.
Every email that gets sent to them for any reason
(email@hidden,
email@hidden - whatever) needs to go to the proverbial trash
compactor
with no one but Luke Skywalker to ever see it again.
This is confusing. Does luser skywalker need to see this or not?
This applies to anything and everything incoming, based on the domain
extension @site1.com so to speak.
This violates RFCs and will get site1.com blacklisted on many lists
as being RFC ignorant.
You must accept postmaster [and abuse]. Technically you're accepting
and just trashing it, but...
I don't want to fill up a spot on the system with files. It looks
like I
was on the right path, /dev/null appears to be where I would send
it to.
Then Luke will not be able to see these again.
So how do I do this? Just vi /etc/aliases and put in an entry such as
@site1.com /dev/null
@site2.com /dev/null
???
RTFM the /etc/aliases file where it discusses the alias file format.
...and run newaliases
However if you don't want any mail for a zone/domain/host why are you
bothering accepting it in the first place??? The more proper thing to
do would be to just not accept it and bounce it. Accepting the mail
infers delivery for many people. Not to mention if you scan for
viruses or spam you'll be wasting a lot of cycles. So why not just
remove these from 'mydestination' in main.cf or in ServerAdmin???