On Wed, Jun 09, 1999 at 09:43:09AM -0400, [EMAIL PROTECTED] wrote:
> Is there a way to cause certain email addresses to be denied by qmail? for
> instance i have a user [EMAIL PROTECTED] whom I do not want to receive ANY smtp
> email.  I guess what im looking for is something like a
> /var/qmail/control/BADMAILTO (if it existed).

I think you'd have to patch qmail-smtpd to deny him smtp mail but not mail
injected by other means. To deny him any mail at all, put this in users/assign:

=fred:alias:101:101:/var/qmail/alias:-:fred:

(Substitute alias's uid and gid for the 101s.)

To bounce fred's mail, put the following in ~alias/.qmail-fred:

| bouncesaying "Fred isn't allowed to receive mail."

To silently drop fred's mail, put a single # in ~alias/.qmail-fred.

Another way to stop fred's mail is to set his uid to 0 (not recommended).

Chris

Reply via email to