Search found 282 matches

by nicola.piazzi
06 Aug 2019 09:36
Forum: 3.x How-to
Topic: Block Spam for certain domains
Replies: 2
Views: 678

Re: Block Spam for certain domains

vi /etc/postfix/sender_access
qq.com REJECT Your domain is not allowed
icu REJECT Your tld is not allowed

postmap /etc/postfix/sender_access
service postfix restart
by nicola.piazzi
29 Jul 2019 07:16
Forum: 3.x Feature Requests
Topic: SQLGREY spf support
Replies: 2
Views: 1767

Re: SQLGREY spf support

I know fqdn but is not what is needed

doing so you authoryze all microfost servers for all domains that they have

I need a way to do a greylist process that authoryze all spf and not only c class, domain by domain
by nicola.piazzi
18 Jul 2019 10:23
Forum: 3.x Feature Requests
Topic: SQLGREY spf support
Replies: 2
Views: 1767

SQLGREY spf support

There are large providers that can send same email from a lot of servers, like microsoft or google So a domain that use this service can retry lot of times because it try from different server every time and these servers can be on different c classes Is possible to exclude these servers suffix from...
by nicola.piazzi
11 Jul 2019 07:15
Forum: Discussion
Topic: qq.com and icu domains
Replies: 1
Views: 1149

qq.com and icu domains

I receive tons of spam from
2nd level domain qq.com
top level domain icu

None of these messages are valid
Is a good idea to do this in postfix sender_access ?
qq.com REJECT Your domain is not allowed
icu REJECT Your tld is not allowed
by nicola.piazzi
10 Jul 2019 07:58
Forum: Discussion
Topic: http://www.backscatterer.org
Replies: 5
Views: 1188

PRECISATION

Hi When i create an AD CONTACT there is a creation rule that create also an address with principal domain 4 example suppose that i need to crete a contact named John Red that belong to motoroil.com I create a contact that have SMTP:john.red@motoroil.com But Exchange rule add also smtp:john.red@mycom...
by nicola.piazzi
09 Jul 2019 14:40
Forum: Discussion
Topic: http://www.backscatterer.org
Replies: 5
Views: 1188

Re: http://www.backscatterer.org SOLVED

Hi Shawn & henk I found problem efa query ldap and reject at conversation level so is impossible that it accept for other domains impossible ? yes but ldap query returns also AD contacts recipients !!! So if you have some contacts defined in ad that have other domains ldap query consider it valid an...
by nicola.piazzi
05 Jul 2019 07:11
Forum: Discussion
Topic: http://www.backscatterer.org
Replies: 5
Views: 1188

Re: http://www.backscatterer.org

Hi henk
only efa can send mail using that ip address, it have its dedicate ip with nat 1 to 1
by nicola.piazzi
04 Jul 2019 15:00
Forum: Discussion
Topic: http://www.backscatterer.org
Replies: 5
Views: 1188

http://www.backscatterer.org

My mailserver ip is blacklisted by this site, They ask me money for immediate delisting and there is no way to contact them I have efa configured to accept our domain only and it check in ldap for recipent at smtp level when is not present it give reject immediately and have no bounces I watch log a...
by nicola.piazzi
20 Jun 2019 09:45
Forum: 3.x How-to
Topic: Uriskip, software
Replies: 6
Views: 586

Re: Uriskip, software

thank you,
by nicola.piazzi
19 Jun 2019 15:49
Forum: 3.x How-to
Topic: Uriskip, software
Replies: 6
Views: 586

Re: Uriskip, software

Yes, but what you have at line ./uriskip.sh: line 10:
: command not found
?
by nicola.piazzi
19 Jun 2019 13:07
Forum: 3.x How-to
Topic: Uriskip, software
Replies: 6
Views: 586

Re: Uriskip, software

You ran script as is or you modified it ?
by nicola.piazzi
14 Jun 2019 14:41
Forum: 3.x How-to
Topic: new Plugin [sadwl]
Replies: 3
Views: 373

Re: new Plugin [sadwl]

New release correct a bug that doenst update after user assigning score
then added table maintanence that delete older record with low hiots and no score assigned
by nicola.piazzi
13 Jun 2019 10:32
Forum: 3.x How-to
Topic: new Plugin [sadwl]
Replies: 3
Views: 373

Re: new Plugin [sadwl]

yes
by nicola.piazzi
13 Jun 2019 09:05
Forum: 3.x How-to
Topic: new Plugin [sadwl]
Replies: 3
Views: 373

new Plugin [sadwl]

sadwl is a simple plugin that i made now It create a sql table that have a list of combination fromdomain + reverse sender host domain You can see this table using a table browser in Windows connected to efa MySQL and give a bonus or penality to each domain ! This plugin is very simple to install, u...
by nicola.piazzi
22 May 2019 13:28
Forum: 3.x How-to
Topic: Refining your Scores
Replies: 0
Views: 1667

Refining your Scores

efa.automasscheck.zip There is a great way to have more accurate scores ! You can partecipate in spamassassin community (https://ruleqa.spamassassin.org/) to have scores that consider also your samples and are more accurate also for you when you update official spamassassin channel. I wrote a littl...
by nicola.piazzi
21 May 2019 07:53
Forum: 3.x How-to
Topic: Training Bayes Script
Replies: 1
Views: 302

Training Bayes Script

Bayesian database is very useful to fight spam if correctly trained http://artinvoice.hu/spams/ mantain daily archive of spam This script can be put in cron and train our bayes system # bayeslearn.sh # ------------- # # Download daily spam samples from http://artinvoice.hu/spam and learn bayes # Scr...
by nicola.piazzi
17 May 2019 12:25
Forum: 3.x How-to
Topic: Uriskip, software
Replies: 6
Views: 586

Uriskip, software

Hi, I devepoped a piece of software, a sample script that create a list of most used 2nd level domains based on latest headers received most used domains are checked for URIBL one time only and saved into a .cf that is used to skip URIBL check so these domains most used are skipped and save tons of ...
by nicola.piazzi
15 May 2019 10:05
Forum: 3.x How-to
Topic: How to skip rbl check locally ?
Replies: 4
Views: 588

Re: How to skip rbl check locally ?

this cannot be done because i wrote a lot of rules / plugins that get data from outgoing emails to analyze incoming emails
i know that i can use same database for all mailservers but it will be too complex
by nicola.piazzi
15 May 2019 08:30
Forum: 3.x How-to
Topic: How to skip rbl check locally ?
Replies: 4
Views: 588

Re: How to skip rbl check locally ?

I found this solution
select count(from_domain) as a, from_domain from maillog group by from_domain order by a;
Then i take all most count domains and put into

uridnsbl_skip_domain gmail.com mrsend.com
etc etc

someone know if writing msend.com include also mail.mrsend.com
?
by nicola.piazzi
15 May 2019 08:07
Forum: 3.x How-to
Topic: How to skip rbl check locally ?
Replies: 4
Views: 588

Re: How to skip rbl check locally ?

In effect seems that RBL are skipped when come from internal network but all URIBL are done in all domains found in the email
is possible to stop uribl check when email come from internal network ?
by nicola.piazzi
14 May 2019 12:34
Forum: 3.x How-to
Topic: How to skip rbl check locally ?
Replies: 4
Views: 588

How to skip rbl check locally ?

Hi My efa receive emails from External and from internal addresses I want to skip RBL check for internal address, i put these in local.cf internal_networks 127.0.0.1 internal_networks 10.1.0.0/16 internal_networks 192.168.2.0/24 trusted_networks 127.0.0.1 trusted_networks 10.1.0.0/16 trusted_network...
by nicola.piazzi
09 May 2019 15:42
Forum: 3.x How-to
Topic: [vsender] PLUGIN
Replies: 0
Views: 1505

[vsender] PLUGIN

Here vsender.zip a plugin that i made now Unzip under spamassassin dir and use instructions in init file customize vsender.pm with your banner this plugin detect if FROM email that write you is ready to accept mail on destination server sometimes is not ready because destination is greylisted and it...
by nicola.piazzi
06 May 2019 16:06
Forum: 3.x How-to
Topic: schuCheckMX, an useful plugin
Replies: 0
Views: 1059

schuCheckMX, an useful plugin

This plugin uses sqlite that is included in efa so is simple to install (the only thing is to give permission so postfix user can write db file and folder that contains it) Plugin scans received emails for FROM field and have 2 scores : SCHUCHECKMX_MXRECORD give a penality if email received have a F...
by nicola.piazzi
02 May 2019 12:34
Forum: 3.x How-to
Topic: Envelope From & Spamassassin
Replies: 1
Views: 389

(solved by myself)Re: Envelope From & Spamassassin

I was writing a plugin but i found that there is already this
HEADER_FROM_DIFFERENT_DOMAINS

!!
by nicola.piazzi
30 Apr 2019 10:25
Forum: 3.x How-to
Topic: Envelope From & Spamassassin
Replies: 1
Views: 389

Envelope From & Spamassassin

sometimes happens that we receive mails that have a different FROM field in header and in envelope I make a check for spoofing my domain using header from because i cant find a way to use envelope from So when is different they came problems Is there a way to test envelope prom or a rule that tell w...