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

Re: [vps-mail] /dev/null in virtusertable on VPS2?



On Thu, Jun 17, 2004 at 02:10:28PM -0700, Abigail Marshall wrote:
> GS> On Thu, 17 Jun 2004 12:41:03 -0500, "Look at SomethingCool.com"
> GS> Just add this to your /etc/mail/virtusertable and then run "make" in
> GS> /etc/mail:
> 
> GS> @yourdomain.tld                 some_account_which_does_not_exist
> 
> What's the point of doing this as opposed to simply NOT
> having a catchall for the domain? That is, NO entry for
> @domain.tld?

If you don't have an entry, and a username or alias matches the left
side of the email address (the part before the '@'), sendmail will
accept the mail and try to deliver it. Other than that, there is no
difference (i.e., the connecting server will get a 'User unknown'
message).

It's a matter of preference and style, but I always explicitly list
all email addresses that should accept mail in my virtusertable and
put a catchall for 'nouser' so that I always know precisely the path
taken by an email as it came through the server.

Scott
-- 
Scott Wiersdorf
scott@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: