MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Tips and Tricks => Topic started by: Miki on 2014-04-17, 00:22:06

Title: how your block incoming email from a particular domain or email?
Post by: Miki on 2014-04-17, 00:22:06
how your block incoming email from a particular domain or email?

understanding of the function:

1. Reject Servers Without RDNS Names?
2. Reject IP Address In Servers With RDNS Names?
3. Reject Messages From Server Without MX Records?
4. Reject Servers With Names RDNS Not Resolving To IP?
5. Separated Space RBL DNS Servers?

thanks for the advice to be given  :)
 ??? step by step please  ;D
Thank you.
Title: Re: how your block incoming email from a particular domain or email?
Post by: Kloxo-DR on 2014-04-17, 04:03:56
Activate spamdyke in kloxomr admin fr4om Mail Server Settings and configure /etc/spamdyke.conf to this.
Title: Re: how your block incoming email from a particular domain or email?
Post by: Miki on 2014-04-18, 14:10:45
How to stop incoming mail from 1 domain.tld or to block 1 mail address from domain.tld

thx.
Title: Re: how your block incoming email from a particular domain or email?
Post by: Kloxo-DR on 2014-04-18, 14:57:09
How to stop incoming mail from 1 domain.tld

Activate spamdyke in kloxomr admin from Mail Server Settings and configure respective files under /var/qmail/spamdyke.

Enter the @domain.tld in the sender's blacklist.

How to block 1 mail address from domain.tld

Activate spamdyke in kloxomr admin from Mail Server Settings and configure respective files under /var/qmail/spamdyke.

Enter the mail address from domain.tld in the sender's blacklist.
Title: Re: how your block incoming email from a particular domain or email?
Post by: Miki on 2014-04-19, 05:08:25
How to stop incoming mail from 1 domain.tld

Activate spamdyke in kloxomr admin from Mail Server Settings and configure respective files under /var/qmail/spamdyke.

Enter the @domain.tld in the sender's blacklist.

How to block 1 mail address from domain.tld

Activate spamdyke in kloxomr admin from Mail Server Settings and configure respective files under /var/qmail/spamdyke.

Enter the mail address from domain.tld in the sender's blacklist.

tidak membuahkan hasil.. baik email maupun domain tetap lolos masuk ke inbox.

saya mencoba metode filter dan mengalihkan spam ke folder spam yang dilanjutkan dengan trening spam.. dan ini menurut saya berhasil.

Terima kasih untuk kloxo-mr dan kloxo-dr atas petunjuknya.
Title: Re: how your block incoming email from a particular domain or email?
Post by: Kloxo-DR on 2014-04-19, 05:19:06
Hi,
tidak membuahkan hasil.. baik email maupun domain tetap lolos masuk ke inbox.

saya mencoba metode filter dan mengalihkan spam ke folder spam yang dilanjutkan dengan trening spam.. dan ini menurut saya berhasil.

Terima kasih untuk kloxo-mr dan kloxo-dr atas petunjuknya.

Is the above message written in Chinese or Japanese?
Title: Re: how your block incoming email from a particular domain or email?
Post by: Miki on 2014-04-19, 05:50:00
 ;D
no results .. either email or fixed domains escaped into the inbox.

I tried the method to divert the spam filter and the spam folder, followed by Trening spam .. and I think this worked.

Thanks for the instructions that have been given.
Title: Re: how your block incoming email from a particular domain or email?
Post by: Kloxo-DR on 2014-04-19, 08:08:27
Hi,
no results .. either email or fixed domains escaped into the inbox.

In that case, you have configured to receive all emails in catch-all under Mail home of that client.

If you set the catch-all to delete, then the emails will get deleted and not diverted to an Inbox.

Such a configuration, what you have, can be really troublesome.

If the spams arrive through spamdyke, then you did not configure spamdyke properly. You should read instructions in this forum on how to configure it.

Also make sure to update the spamdyke to version 5, the latest, and make changes in spamdyke.conf.

Then, the spams will stop. This will 100% work to stop spam emails 99%!
Title: Re: how your block incoming email from a particular domain or email?
Post by: Spacedust on 2014-04-19, 21:41:21
Very easy trick that works !

/var/qmail/control/badhelo

add domain like this:

.somespamersdomain\.com

and that's it !
Title: Re: how your block incoming email from a particular domain or email?
Post by: Kloxo-DR on 2014-04-19, 22:08:38
Hi Spacedust,

Good suggestion.

If one wants to use qmail for this purpose, then one could also enter an email address (without < or >) in badmailfrom or badmailto in the control files under /var/qmail/control.

Many times I observed that spamdyke failed, although I had the email address in sender's black list. The blocked email came through.

I could stop it only after I entered spammer's email address in badmailfrom. This worked 100%.
Title: Re: how your block incoming email from a particular domain or email?
Post by: Spacedust on 2014-04-20, 18:06:51
badhelo is more strictful and it really works ;)
Title: Re: how your block incoming email from a particular domain or email?
Post by: fossxplorer on 2014-09-05, 13:55:50
Can you put IP address in there as well?


Very easy trick that works !

/var/qmail/control/badhelo

add domain like this:

.somespamersdomain\.com

and that's it !
Title: Re: how your block incoming email from a particular domain or email?
Post by: fossxplorer on 2014-09-30, 11:12:56
@Spacedust, i did put couple of sender domains inside badhelo, but stil i get spam from them.
Do i need to restart qmail?
Title: Re: how your block incoming email from a particular domain or email?
Post by: Spacedust on 2014-10-03, 23:53:59
@Spacedust, i did put couple of sender domains inside badhelo, but stil i get spam from them.
Do i need to restart qmail?

Please check headers of such mails. Maybe they use different badhelo. Qmail restart is not needed.