sushma wrote:
> Dear ALL,
> Iam running mailscanner with spamasssin. I want to blacklist based
> on from id i.e mail from other than xyz domain i want to treat as spam
> even through it may be relayed local network. Can it possilble. please
> suggest me.

AFAIK, this should do it:

blacklist_from *
unblacklist_from *
unblacklist_from *@*

Of course, as someone else suggested, that's a bit like hitting an ant
with a sledgehammer.

You'd be a lot better off rejecting this stuff in your MTA if that's
practical.. it is much faster and lower resource usage than accepting
the whole message queueing it, and having MailScanner feed it to SA.