[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Sendmail features
- Subject: Re: [cobalt-users] Sendmail features
- From: Bruce Timberlake <bruce@xxxxxxxxxx>
- Date: Fri Apr 11 15:15:39 2003
- Organization: BRTNet.org
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> could somebody come up with some suggestions for the following problem?
> I have a user on my cobalt, say abc@xxxxxxxxxx, that I do not want to
> receive any email for because of the amount of spam coming in on that
> useraccount. Removing the user from the cobalt is not an option, neither
> is installing some anti-spam software. What I did is edit the
> virtusertable and instead of delivering the email to abc, I bounce the
> emails with 'error: nouser'. It works fine, but I guess it is not the
> best solution because the emails bounce and since alot of spam does not
> have a valid sender, the emails just keep bouncing back and forth, don't
> they?
Redirect the mail to user 'nobody' instead of trying to bounce it.
/etc/mail/aliases redirects all mail for 'nobody' to /dev/null.
So your virtusertable entry would look like:
abc@xxxxxxxxxxxxxxx nobody
Remember you need to put the full host in there as abc@xxxxxxxxxx gets
"rewritten" to abc@xxxxxxxxxxxxxxx, then rewriting to the local username
gets attempted.
Remember also to rebuild virtusertable:
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable
- --
Bruce Timberlake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+lz3tvLA2hUZ9kgwRArQsAJ4k9lvBz1IA4hqjv/7OArRkttrekQCfZfh4
HZWkDHvVbcyLVL7u4Oq3TDU=
=RVlD
-----END PGP SIGNATURE-----