>Is there a way to configure the email server (sendmail 8.9.3) so that it >refuses mail coming from a specified address to a specific email. Let me >clarify: > >My user A doesn't wan't to receive mail from [EMAIL PROTECTED] Is it >possible (with sendmail or something else) to make b's message bouce >back complaining about the unavailability of a ?
You can do this easily with procmail. Into the file bounce.message, put some text describng why you are bouncing this mail. Then, set up the user's .forward or .qmail to use procmail. Then, add this rule to the .procmailrc : :0 * ^From [EMAIL PROTECTED] | (formail -r ; cat bounce.message) | $SENDMAIL -oi -t Carl