Несмотря на то, что моя конфигурация Exim вышла довольно удачной, некоторое количество спама через нее все же проходит. Как правило, сыпется он с одних и тех же спам-серверов, которые можно блокировать. Однако, каждый раз ходить на сервер через некоторое время становится лениво, потому автоматизируем процесс:
#!/bin/sh for file in `find /var/mail/yourdomain.com/spamreport/new -type f` do cat $file | grep "Subject: block=" | sed 's/Subject: block=//' >> /usr/local/etc/exim/spam-hosts done rm -f /var/mail/yourdomain.com/spamreport/new/*
Осталось внести изменения в конфигурацию Exim. Добавляем в /usr/local/etc/exim/100.main.conf:
hostlist bad_hosts = net-iplsearch;/usr/local/etc/exim/spam-hosts
В /usr/local/etc/exim/configure правим ту часть, где описывается acl_check_rcpt:
# Эти правила срабатывают для каждого письма acl_check_rcpt: warn set acl_c_lp = [email protected]$domain deny message = Relay not permitted hosts = +bad_hosts
Создаем файл и перезапускаем Exim:
# touch /usr/local/etc/exim/spam-hosts # /usr/local/etc/rc.d/exim restart
Для успешной работы надо создать почтовый ящик [email protected] и вставить вызов скрипта в Cron. Теперь на [email protected] можно отправлять письма с темой «block=123.32.14.56», где 123.32.14.56 — ip спам-сервера.
#1 by black_13 on 28.10.2014 - 08:58
Quote
Круто! Еще бы whitelist (но это можно реализовать самим exim-ом) и в репорты добавить причину блокировки.
#2 by webpage on 03.10.2020 - 02:45
Quote
Hi there to every one, it’s genuinely a good for
me to go to see this site, it incljdes valuable Information.
хантер цена webpage rain bird
полив
#3 by موقع بسيط on 04.10.2020 - 20:56
Quote
An outstanding share! I’ve just forwarded this onto a friend who was conducting a little research on this.
And he in fact bought me breakfast simply because I found it for him…
lol. So let me reword this…. Thank YOU for the meal!!
But yeah, thanx for spending the time to discuss this
matter here on your site. https://en.gravatar.com/paseet0091
#4 by sohbet on 05.10.2020 - 18:27
Quote
Türkiye’nin en seviyeli sohbet siteleri arasında yer alan AKSohbet, sizlere en kaliteli chat seçeneklerini ücretsiz olarak sunmaktadır. Düzgün sohbet ilkesi ile huzurlu ve seviyeli bir chat ortamı sunar.
My web site home : https://www.aksohbet.net/
#5 by where on 05.10.2020 - 21:39
Quote
Excellent write-up. I certainly appreciate this website.
Keep it up!
#6 by UFA-09 on 07.10.2020 - 10:42
Quote
ทางเข้า GTR365BET หนทางเข้าสู่เว็บเดิมพันออนไลน์ แหล่งเงินมากมายให้คุณหอบกลับบ้าน
#7 by fij.com.ua on 07.10.2020 - 23:47
Quote
Right away I am ready to do my breakfast, after having my breakfast coming over again to read more news.
#8 by News on 08.10.2020 - 00:05
Quote
I think this is among the most significant info for me. And i
am glad reading your article. But wanna remark on some general
things, The web site style is great, the articles
is really nice : D. Good job, cheers
#9 by BooRhype on 08.10.2020 - 02:01
Quote
singulair 10 mg online prozac price uk how to buy viagra cialis for daily use for sale effexor sale ampicillin cost uk
#10 by latest uttarakhand news on 08.10.2020 - 15:03
Quote
Simply wish to say your article is as astonishing.
The clearness in your submit is just great and that i could think you are an expert in this subject.
Well with your permission allow me to clutch your RSS feed to stay
updated with coming near near post. Thank you a million and
please keep up the enjoyable work.
#11 by sohbet on 08.10.2020 - 18:35
Quote
Türkiye’nin en seviyeli sohbet siteleri arasında yer alan AKSohbet, sizlere en kaliteli chat seçeneklerini ücretsiz olarak sunmaktadır. Düzgün sohbet ilkesi ile huzurlu ve seviyeli bir chat ortamı sunar.
My web site home : https://www.aksohbet.net/
#12 by homepage on 10.10.2020 - 17:58
Quote
Fantastic beat ! I wish to apprentice whilst yyou amend your site, how can i subscribge for a blog web site?
The account helped me a appropriate deal. I have
been a little bit familiar of this your broadcast offered brilliant transparent
idea
чем повысить иммунитет homepage купить бады
#13 by sex toys for men on 22.10.2020 - 03:34
Quote
You always know just what to say and how to say it.
I love how you can find a silver lining in the darkest clouds.
Thanks for your own hard work on this web site. My mother takes pleasure in setting aside time for internet research and it’s easy to see why. Most people know all of the powerful tactic you present invaluable thoughts on the blog and as well as inspire contribution from others about this content then our favorite daughter is without a doubt discovering so much. Take advantage of the remaining portion of the year. You’re doing a great job.
View our blogs to get more info:
sex toys shop
#14 by giant dildos on 22.10.2020 - 03:35
Quote
Your energy is contagious.
Thank you for embracing the things that make us different.
My wife and i were very relieved that Emmanuel could finish off his survey from the precious recommendations he gained in your web page. It is now and again perplexing to just continually be freely giving tips and hints that many other folks have been making money from. We acknowledge we have got the writer to be grateful to for that. The main explanations you’ve made, the straightforward site navigation, the relationships your site help promote – it is most wonderful, and it is assisting our son in addition to our family believe that this matter is enjoyable, and that’s rather serious. Thanks for all!
Check out the New products from this website:
strap on dildos
#15 by Diamond Painting on 27.10.2020 - 23:17
Quote
What’s up Dear, are you truly visiting this web page daily, if so after that you wioll
definitely obtain pleasant knowledge.
#16 by ufa09 on 29.10.2020 - 08:48
Quote
เล่นคาสิออนไลน์ที่ไหนก็ได้ แต่ต้องเล่นที่เว็บ macau888 เท่านั้น
#17 by toko cctv sidoarjo on 29.10.2020 - 12:42
Quote
Very soon this web site will be famous among all blogging and site-building viewers, due to it’s nice articles or reviews
#18 by شقق للبيع في الاسكندريه on 02.11.2020 - 15:09
Quote
you are actually a good webmaster. The website loading speed is amazing.
It sort of feels that you’re doing any distinctive trick.
Moreover, The contents are masterpiece. you have done a
excellent process on this topic! https://www.minds.com/apartments1/
#19 by KimRhype on 08.11.2020 - 21:13
Quote
canada rx cialis
#20 by Download Music/Labels/FLAC/LIVESETS/Music Videos/Series on 08.11.2020 - 21:23
Quote
Download Music/Labels/FLAC/LIVESETS/Music Videos/Series: http://0daymusic.org
his is a good source for DJ’s and music lovers that have hectic daily schedules and
not enough time to spend looking for the daily basic or older releases,
the FTP is the best tool that will assist them in getting all wanted releases at once with a simple drag and drop feature!
Make sure your music library is up to date! Select your favourite play and join today.
Your music library will surely be better than others!
Available things on the server:
150 – 200 new albums every day (Including website posts, 0-day
scene releases, unreleased tracks.)
Own, fresh BEATPORT section with non-scene, exclusive albums!
Archives since 2009
All website posts from: http://www.0daymusic.biz, http://www.htrk.org, http://www.mp3trackz.com
Section for the best releases (Sorted by months.)
DJ / Producer applications (For mixing and making music.)
Full discographies (Huge archive from the
greatest labels like Cadenza, M-nus, etc.)
Sample CD’s (Loops, etc.)
Sorted section (by style and date)
Request section (If you need something.)
Etc.. a lot of cool things!
List of all allowed styles: Deep House, Electronic, House, Minimal, Techno, Tech-house, Trance, etc.
#21 by Kaliteli Sohbet on 15.11.2020 - 15:49
Quote
Türkiye’nin en seviyeli sohbet siteleri arasında yer alan livasohbet, sizlere en kaliteli chat seçeneklerini ücretsiz olarak sunmaktadır. Düzgün sohbet ilkesi ile huzurlu ve seviyeli bir chat ortamı sunar.
My web site home : https://www.livasohbet.net/
#22 by viagra on 16.11.2020 - 07:06
Quote
risks for mental health disease in india basic first aid training
viagra online
#23 by https://itsmyurls.com/eliteagency on 17.11.2020 - 19:01
Quote
Article writing is also a excitement, if you be familiar with then you can write
or else it is complex to write.
#24 by https://elite-agency.jimdosite.com/ on 24.11.2020 - 17:03
Quote
This is the perfect site for everyone who wishes to find
out about this topic. You understand a whole lot its almost tough to argue with you (not that I really will need to…HaHa).
You definitely put a brand new spin on a topic that has been written about for ages.
Excellent stuff, just wonderful!
#25 by bitly.com on 01.12.2020 - 14:34
Quote
bitly.com Free custom
URL Shortener and branded URLs Free URL shortener to create the
perfect short URLs for your business.
#26 by สูตรเซียนบาคาร่า on 04.12.2020 - 07:35
Quote
The way you written your post is so very unique, it’s so much helpful to us. Goodjob !
#27 by online Gambling on 09.12.2020 - 11:03
Quote
Amazing! Its really amazing post, I have got much clear idea
regarding from this post.
#28 by Danny on 12.12.2020 - 04:15
Quote
Real clear website, regards for this post.
#29 by Situs domino online on 12.12.2020 - 11:44
Quote
I believe everything said was very logical.
However, consider this, suppose you typed a catchier post title?
I mean, I don’t wish to tell you how to run your blog, however suppose you added a post title to maybe get folk’s attention? I mean Exim:
автоблокировка спам-хостов « jared.kiev.ua
is kinda vanilla. You could glance at Yahoo’s front page and see how they write news titles to
grab people interested. You might add a video or a picture
or two to grab people excited about everything’ve got to say.
Just my opinion, it would bring your posts a little livelier.
#30 by adultfrienedfinder on 12.12.2020 - 23:45
Quote
Superb website you have here but I was curious about if you knew of any forums
that cover the same topics talked about in this article? I’d really love
to be a part of online community where I can get feedback from other experienced individuals that share the same interest.
If you have any recommendations, please let me know. Thank you!
#31 by turnamen poker gratis berhadiah on 17.12.2020 - 03:23
Quote
Aw, this was an incredibly good post. Taking a few minutes and
actual effort to create a superb article…
but what can I say… I hesitate a whole lot
and never seem to get nearly anything done.
#32 by link dafabet moi nhat on 17.12.2020 - 06:19
Quote
I delight in, result in I found just what I was having a look for.
You have ended my four day long hunt! God Bless you man. Have a great
day. Bye
#33 by business IT support on 19.12.2020 - 21:06
Quote
Right away I am going away to do my breakfast, when having my breakfast coming again to read additional news.
#34 by game poker yang menghasilkan uang on 24.12.2020 - 09:25
Quote
I pay a quick visit every day some blogs and information sites to read content, but
this website provides feature based writing.
#35 by buy ed advanced pack online on 26.12.2020 - 21:55
Quote
Hi, I wish for to subscribe for this weblog to obtain most
recent updates, thus where can i do it please help.
#36 by đánh giá nhà cái on 27.12.2020 - 17:50
Quote
Thanks in favor of sharing such a good opinion, article
is nice, thats why i have read it completely
#37 by rupiahsbo.com on 28.12.2020 - 13:36
Quote
As the admin of this site is working, no hesitation very shortly it will be well-known, due to its quality contents.
#38 by guneslertarims.com on 28.12.2020 - 16:34
Quote
Hi there to every body, it’s my first pay a quick visit of this blog;
this website includes awesome and actually excellent stuff in favor of readers.
#39 by https://bettingnori.net on 29.12.2020 - 11:32
Quote
https://bettingnori.net has an array of games, that’s why it’s a good idea to check the information numerous communities before signing up.
#40 by detailed info on 05.01.2021 - 04:10
Quote
I have read a few just right stuff here. Certainly worth
bookmarking for revisiting. I wonder how so much effort you
set to create the sort of great informative
web site.
#41 by omegla sohbet on 05.01.2021 - 13:37
Quote
Omegla sohbet, omegla görüntülü chat seçenekleri, omegla chat sistemleri, omegle mobil, mobil omegla siteleri, omegla rastgele sohbet sistemi.
Sponsor site : https://www.aksohbet.net/omegla-sohbet — Sizde bağlantımızı ziyaret edin görüntülü sohbet seçeneklerinden faydalanın.
Bu site bir Aksohbet.NET Projesidir — #omegla #omeglasohbet
#42 by www.authorstream.com on 07.01.2021 - 20:44
Quote
Tarot makes use of a session past the platform also provides one hundred
assured satisfaction you. For true progress of our souls there is previous life reading aura chakra reading.
And i be aware there’s a follow which initiated as a type of submit-cognition. These old-fashioned of astrology
there may be stress on each symbolic and extremely. I woke up on the power of individuals have ascertained their faith in astrology.
Training your precognitive powers to at least one sort of studying the power of the reader.
No that is verified tarot reader can provide a relaxed setting where
they’ve. You will have no more kinds of tarot card readers personally at the moment
one can get. These readers usually are not being conducted
with idea artist Sue Nichols about. Firstly studying tarot
cards and tarot readers for his or her points
is important to make. She certainly knows the way to carry out
a psychic reading using established card meanings.
By using the download a tarot reading app on their site after approval.
#43 by tpdoll on 08.01.2021 - 10:27
Quote
Tpdoll has the best sex dolls sources in the world. There are a variety of dolls for any budget; you can buy any life-size love dolls, height from 100cm to 170cm.
https://www.tpdoll.com/200000-cost-real-love-doll-c-18_39.html
#44 by muslimloveastrologer.com on 11.01.2021 - 09:35
Quote
Hi, after reading this awesome paragraph i am as well happy
to share my experience here with colleagues.
#45 by pjinterior.com on 14.01.2021 - 11:33
Quote
When I initially left a comment I seem to have clicked
the -Notify me when new comments are added- checkbox and now whenever a
comment is added I recieve 4 emails with the same comment.
There has to be a way you can remove me from that service?
Thank you!
#46 by osmaniyehaberajansi.com on 14.01.2021 - 16:29
Quote
It’s difficult to find experienced people on this
subject, however, you sound like you know what you’re talking about!
Thanks
#47 by taooma.com on 15.01.2021 - 04:38
Quote
Really no matter if someone doesn’t understand afterward
its up to other people that they will help, so here it happens.
#48 by https://digital-reklama-kak-ona-est.blogspot.com/ on 19.01.2021 - 20:25
Quote
I believe that is among the most vital information for me.
And i’m happy reading your article. But want to statement on few basic things,
The site taste is wonderful, the articles is truly excellent : D.
Just right job, cheers