How to Reject email to one recipient address?

shw

Active Member
Oct 24, 2006
25
0
151
I have a situation where the good ol' spammers are forging the "From:" field as I can see multiple emails (NDRs) going to a fake address on one domain. Normally this wouldn't matter because that user doesn't exist on the server but for this domain I have MailScanner/Exim scanning these emails prior to delivering to an outside mail server so Exim doesn't know if the person exists or not.

Is there a way I can put certain addresses into the Exim config to Block/Delete any emails coming in addressed to one [email protected]? I do not want the server's resources used by MailScanner scanning these emails.

Thanks for any assistance.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
The simplest way would probably be to simply create a Forwarder in the cPanel account for that address and set it to forward to :fail: - then any email to that address will simply be denied by exim before it gets passed on.
 

shw

Active Member
Oct 24, 2006
25
0
151
The simplest way would probably be to simply create a Forwarder in the cPanel account for that address and set it to forward to :fail: - then any email to that address will simply be denied by exim before it gets passed on.
Please excuse my ignorance but how do I do this? Keep in mind that this domain is not "local" and all email just simply scanned then forwarded to another server (Exchange to be exact) in a different region. So there is no actual login (or account) for this domain.

Thanks again.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Ah! What I suggested won't work then - sorry. It should be simple enough using an ACL, I'll see if I can dredge up the syntax.
 

shw

Active Member
Oct 24, 2006
25
0
151
Ah! What I suggested won't work then - sorry. It should be simple enough using an ACL, I'll see if I can dredge up the syntax.

Cool...appreciate any help. I was glancing through the Exim docs but I can't seem to get it down completely and I'm also a little worried to mess with the Exim config without some direction as it's a live server.
 

shw

Active Member
Oct 24, 2006
25
0
151
Bump..

Chirpy, anything on this? I still cannot put this ACL together. I really appreciate your help on this if it can be done.

Thanks again.
 

NaveenKapur

Member
Mar 1, 2007
5
0
151
India
Limiting an outgoing mail

Cool : Now if there is a customer I did not like to send mails more than x limit per hour and not disturb the rest of the defualt settings for other domains.
What I mean is, there is a customer of mine who keeps sending his promo letters and that disturbs my mail relays since i have very limited from my VPS provider.
I want to limit that Particular domain to sending only 20 Maybe emails.;)
But at the same time, I do not want the rest of the domains have any change in the defualt settings which I have turned to 100 /hour.

Any suggestions ???
By the way, nice job done with my VPS Chirpy, I really see the difference. :)
 
Last edited: