Lakshmi Anand K saw fit to inform LI that:
> I have configured sendmail to reject mail from a particular email
>address. That guy is sending me large attachments. I use fetchmail to
OK - so how did you do this? Put him in deny.db right? That way,
fetchmail will flush the message on your pop mailbox itself.
If you put him in the deny.db of your mailserver, your sendmail will
refuse to accept mails from him.
>download my messages. When I telnet localhost 25 and try to mail
>from:bad@guy, I get 550 Access Denied Error.
Correct. You have blocked this guy, and your local sendmail refuses to
accept any mail from him at all.
> Now, does fetchmail download the *full* message before rejecting it? If
>yes, then its no use to me. Please advise. I have a big queue of messages in
>my inbox struck by his big mails.
Fetchmail will just see the from: header and delete it. It won't download
the full mail at all (on downloading the headers itself, it can see that
it is from this guy).
If you control your own mailserver, put this guy's address in the deny.db
of your mailserver's sendmail itself. That way, the large mails from him
will be automatically bounced, and will not even land in your remote
mailbox.
hope this helps
-suresh
--
Suresh Ramasubramanian | sureshr at staff.juno.com
A LISP programmer knows the value of everything, but the cost of
nothing.
-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help