mail getting to account not in virtualusertable
Gabriel Gunderson
gabe at gundy.org
Thu Jul 20 15:37:13 MDT 2006
On Thu, 2006-07-20 at 15:23 -0600, Wade Preston Shearer wrote:
> I have a standard unix account on my server. This is the account that
> I use to SSH into the box with. For security reasons, I do not use
> this account for email though. I have created another user for that.
> Some emails (spam) are still getting delivered to the first account's
> standard unix mail box however. How is this happening? There are no
> entries in SendMail's virtual user table file that point to this
> first account.
I haven't used Sendmail for a looong time, so forgive me if some
postfixisms slip out.
The mail is getting delivered to the local user because it exists. The
default install does just that (as it's what you would expect a default
install to do). Virtual users would be for users that *don't exist* on
the local box (thus virtual). In Postfix you would have two kinds
virtual users, ones that are just redirected to other email addresses
and those that get delivered to the box (even if the user is not a local
user and even if the host name is different). I'm sure Sendmail works
in a similar way.
Anyway, there is no real harm in this, but if you don't like it add:
"MyAdminUser : /dev/null"
to /etc/aliases
Then run:
newaliases
--
Gabriel Gunderson
http://gundy.org/
More information about the PLUG
mailing list