Lakshmi Anand K. saw fit to inform LI that:
> We are using fetchmail & sendmail for our domain's email. Now, I want to
>reject mail from a particular email address. I am using Mailconf and the
>'Rejected Senders' option does not reject mail from the user. (Why?)
See my article in June PCQ (not seen it myself). Basically, put the
user's name in deny.db - anything from that user will be automatically
flushed by procmail / bounced by sendmail.
Or use a .procmailrc on your remote mailserver
VERBOSE=off
LOGFILE=$HOME/.procmail/proc.log
MAILDIR=$HOME/mail
SENDMAIL=/usr/lib/sendmail
:0:
* (^From:)[EMAIL PROTECTED]
/dev/null
Or you can be nasty and make it bounce back to him by piping it to formail
:)
If you want to be still nastier, contact that person's ISP (with full
headers and body of the mail) and lodge a spam complaint. To help you do
this - paste the full headers and body of the mail into the form at
http://www.spamcop.net
As to why mailconf etc are not working, I don't know.
I prefer to edit things by hand - these mailconf etc don't always work for
some unknown, totally random reason :) Tell you what, if sendmail is a
hassle, install exim (http://www.exim.org) or postfix. If redhat, you can
get rpms for all these, config and install is much easier.
---end quote---
--
Suresh Ramasubramanian | sureshr at staff.juno.com
An exotic journey in downtown Newark is in your future.
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.