Check out this extract from the sendmail README file: -------------------------------------------------------------- If you use: FEATURE(`blacklist_recipients') then you can add entries to the map for local users, hosts in your domains, or addresses in your domain which should not receive mail: badlocaluser@ 550 Mailbox disabled for this username host.mydomain.com 550 That host does not accept mail user@otherhost.mydomain.com 550 Mailbox disabled for this recipient This would prevent a recipient of badlocaluser@mydomain.com, any user at host.mydomain.com, and the single address user@otherhost.mydomain.com from receiving mail. ***Please note: a local username must be now tagged with an @ (this is consistent with the check of the sender address, and hence it is possible to distinguish between hostnames and usernames). ------------------------------------------------------------------------ This should enlighten you more on your problem. -- Regards, ----------------------------Joseph Begumisa-------------------------------- Uganda OnLine/East African Help Desk Unix Systems Administrator ----------------------------begj@eahd.or.ug-------------------------------- On Mon, 2 Apr 2001, avl wrote: > Hello all > > Have problem with sendmail and its feature 'blacklist_recipients' > Though being allowed in sendmail.cf this featrure still doesn't work for > me. Sendmail keeps accepting mail for local users, which are members of > blacklist. > /etc/mail/access : > localuser1 550 This user cannot receive mail > localuser2 550 This mailbox is blocked > ..... > localuser3 550 This mailbox is blocked > emailfile.com REJECT > > (The last line ,though, works.) > Where could be a problem ? > > p.s. makemap hash access.... ,killall -hup sendmail, of course, was done. > > > - > : send the line "unsubscribe linux-net" in > the body of a message to majordomo@vger.kernel.org > - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org