On Thu, 2004-06-17 at 13:26, Dennis Pedini wrote:
Can you explain this a bit better I want to do this as well? I usually use
Imanager to do these things. How would I do this?
Ok, returning the favor to the community....
You SSH to your VPS2 account, and then su to root account.
cd /etc/mail/
pico -w virtusertable
Then follow the below instructions
Just add this to your /etc/mail/virtusertable and then run "make" in
/etc/mail:
@yourdomain.tld some_account_which_does_not_exist
An example:
#Some domain email accounts
tim@xxxxxxxxxxxxxx
jeff@xxxxxxxxxxxxxx
@somedomain.com junkmail
Make sure there is no account named "junkmail" and the server will
reject all email NOT matching tim@xxxxxxxxxxxxxx or jeff@xxxxxxxxxxxxxx
Cheers,
Tim
Thanks
Dennis
Red Planet Design, Inc
-----Original Message-----
From: owner-vps-mail@xxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxx] On
Behalf Of Godwin Stewart
Sent: Thursday, June 17, 2004 1:01 PM
To: vps-mail@xxxxxxxxxxxx
Subject: Re: [vps-mail] /dev/null in virtusertable on VPS2?
On Thu, 17 Jun 2004 12:41:03 -0500, "Look at SomethingCool.com"
<look@xxxxxxxxxxxxxxxxx> wrote:
> I just realized something today.. I've been using a VPS1 and VPS2 for a
> long time, and I haven't figured how to have the "catch all" email
> (@somethingcool.com go to /dev/null) to work properly on VPS2.
You don't send it to /dev/null, you have it rejected outright.
Just add this to your /etc/mail/virtusertable and then run "make" in
/etc/mail:
@yourdomain.tld some_account_which_does_not_exist
(this assumes that all accounts which *do* exist are properly declared in
the same file)
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).