Re: [exim] blocking recipients - solved!

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Odhiambo G. Washington
Date:  
À: exim-users
Anciens-sujets: Re: [exim] blocking recipients
Sujet: Re: [exim] blocking recipients - solved!
* On 22/10/06 21:34 +0800, W B Hacker wrote:
| Odhiambo G. Washington wrote:
| > I am a bit stuck with a situation where spammers are getting mail to my
| > address, being the "manager" of a system that handles virtual domains.
| > Of late, I have received spam address to {root|uucp|test}@???
| > for a couple of domains I host on a server.
| >
| > exim -bt uucp@??? says the address is undeliverable. However,
| > my address seems to get nicely tucked in the Envelope-To: header and so
| > the spam ends up in my mailbox.
| >
| > Perhaps there are some checks that I need that are missing.
| >
| > What is the easiest way to block such mail?
| >
|
| Wash,
|
| There has to be something more to it. i.e. at first glance, that what you fed
| -bt was not actually the same address that had succeeded.


Yes, there was!

This is a Sendmail setup that I converted into an Exim setup, so a few
unclear areas still existed due to my lack of any knowledge on Sendmail.

Anand Buddhdev is to blame... he did not allow me even one day to learn
anything on Sendmail before he converted the setup to Exim (it was 1.0.x
those days) ;)

So the rule that was giving me all the spam turned out to be the one
below, and the inverted rule below it seem to have fixed my problems
with spammers..

#accept domains          = +local_domains : +relay_to_domains
#       local_parts      = postmaster : abuse : hostmaster


deny   domains          = !pri.host.name : !default_qualify.dom.ain
       local_parts      = postmaster : abuse : hostmaster : uucp : root


It turned out that those local_parts on the virtual domains were being
mapped to pri.host.name and default_qualify.dom.ain. Denying those
local_parts for all virt.ual.domains seems to be a cure as I look deeper
into the path I took migrating them from Sendmail...

As they always say, "with Exim" everything is possible!


        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com            . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post