Blocked BAD-HEADER-0 in amavisd-new

2016-06-06 Thread Indunil Jayasooriya
i have set $final_bad_header_destiny = D_DISCARD How can I solve this issue? is this below line for per recipient? @bypass_header_checks_maps = ( [qw( u...@example.com )] ); How can bypass_header_checks based on per sender? waiting your answer. -- cat /etc/motd Thank you Indunil

Block mails coming from my own domain in amavisd-new

2016-05-28 Thread Indunil Jayasooriya
?hl=en> )* I just want to do it with* amavisd-new. * Waiting for your ideas -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Fwd: bypass_header_checks_maps based on sender in amavisd-new

2016-06-23 Thread Indunil Jayasooriya
recipients . @bypass_header_checks_maps = ( [qw( u...@example.com )] ); You can also use read_hash like this: @bypass_header_checks_maps = ( read_hash("/var/amavis/badheader"), ); Then insert your recipient email adresses in this file (line by line). -- cat /etc/motd Thank you

Re: regex to block emails while having word bounce before @ sign.

2016-03-10 Thread Indunil Jayasooriya
=~ */(bounce.*@)/i* describe FROM_BOUNCE From address contain the word bounce score FROM_BOUNCE 3.1 Can anyone out there agree with this? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: Whitelisting by IP address

2016-03-09 Thread Indunil Jayasooriya
>' => -3.0}], 'us...@example.com <us...@example.com>' => [{'cleargr...@cleargreen.com <cleargr...@cleargreen.com>' => -7.0, '.cleargreen.com <http://cleargreen.com>' => -5.0}],* -- cat /etc/motd Thank you Indunil Jayasoori

regex to block emails while having word bounce before @ sign.

2016-03-10 Thread Indunil Jayasooriya
bounce and bounces score FROM_BOUNCE 3.1 I go to below site and see whether it matches. https://regex101.com/ it does NOT matches. Can you guys make any comments on this? - cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_instal

block a particular double extension files in amavisd.conf

2016-03-19 Thread Indunil Jayasooriya
such as filenames *.tmp.exe* format. I think below regex is OK to insert in to amavisd.conf file. *qr'.\.(tmp)\.exe$'i, * # block this double extension any comment? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html

Re: block a particular double extension files in amavisd.conf

2016-03-19 Thread Indunil Jayasooriya
ail filer to block it. I want to take an action for it in the future comments? , > *From:* amavis-users [mailto:amavis-users-bounces+dino.edwards= > mydirectmail@amavis.org] *On Behalf Of *Indunil Jayasooriya > *Sent:* Thursday, March 17, 2016 1:10 AM > *To:* amavis-users

Re: intergrade /etc/mail/spamassassin/local.cf in to amavisd-new

2016-03-03 Thread Indunil Jayasooriya
s 9.0 i.e - score LOCAL_SEXTOYS 9.0 Any idea on this. > Amavis add local_sex in message header? > When Can I find this in amavisd? Hope to hear from you > > > > > > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas

intergrade /etc/mail/spamassassin/local.cf in to amavisd-new

2016-03-03 Thread Indunil Jayasooriya
p:[127.0.0.1]:10025'; # set to undef with milter! $final_virus_destiny = D_DISCARD; $final_banned_destiny = D_BOUNCE; $final_spam_destiny = D_DISCARD; $final_bad_header_destiny = D_PASS; $bad_header_quarantine_method = undef; Where have I gone wrong? -- cat /

block a mail based on Subject or body

2016-03-02 Thread Indunil Jayasooriya
Hi, How to block a mail based on Subject or body with amavisd-new ? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: display the Subject of the mail with amavisd-new

2016-05-16 Thread Indunil Jayasooriya
> > I do it with: > $log_templ = $log_verbose_templ; > Added. It works. Great. I achieved my goal. > -- > Before enlightenment - chop wood, draw water. > After enlightenment - chop wood, draw water. > > Marko Cupać > https://www.mimar.rs/ > --

display the Subject of the mail with amavisd-new

2016-05-16 Thread Indunil Jayasooriya
Hi, I have integrated amavisd-new to postfix. Amavisd-new does NOT display subject. I really want to display the Subject of the mail with amavisd-new. How can I do it? Is anybody who has done it out there? any comment? -- cat /etc/motd Thank you Indunil Jayasooriya http

Re: amavisd-new cpu always 100%

2017-02-23 Thread Indunil Jayasooriya
ks for your help > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: bypass spam check for local system mail

2016-09-23 Thread Indunil Jayasooriya
-o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 and also , pls check your /etc/hosts file what is the output of hostname command? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: bypass spam check for local system mail

2016-09-21 Thread Indunil Jayasooriya
=> 1, # is true in MYNETS by default, but let's make it explicit * bypass_header_checks_maps => [1]*, # don't header-check internal mail os_fingerprint_method => undef, # don't query p0f for internal clients Pls check *@local_domains_maps* in amavisd.conf file as well > >

Fwd: Can Amavisd block based on Message-ID ?

2016-09-15 Thread Indunil Jayasooriya
-new? * *hope to hear from you.* -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http

Re: bypass spam check for local system mail

2016-09-21 Thread Indunil Jayasooriya
aps => ['@whitelist_sender_maps'], # don't header-check this mail }; > >> >> >> >> >> -- >> cat /etc/motd >> >> Thank you >> Indunil Jayasooriya >> http://www.theravadanet.net/ >> http://www.siyabas.lk/sinhala_how_to_

Re: bypass spam check for local system mail

2016-09-22 Thread Indunil Jayasooriya
u have below line in postfix's main.cf file. pls check... mynetworks = 127.0.0.0/8 > another IP like 213.133.108.221 DOES > work! GLAD TO HEAR. my setup is the same. another good source to look at http://www.stenoweb.it/en/node/229#toc5 > greetings from germany greetings from Sri Lanka i

Fwd: Fwd: Can Amavisd block based on Message-ID ?

2016-09-22 Thread Indunil Jayasooriya
Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: [FINALLY SOLVED] Re: bypass spam check for local system mail

2016-09-25 Thread Indunil Jayasooriya
t; thanks a lot for all you time & help > > Glad to hear. U r welcome > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: spam assassin rule to block a From address

2016-10-14 Thread Indunil Jayasooriya
On Fri, Oct 14, 2016 at 2:21 AM, Tom Hendrikx <t...@whyscream.net> wrote: > > > > On 13-10-16 10:12, Indunil Jayasooriya wrote: >>> >>> You should probably also match only the address, not the full From line, >>> especially when you're anchoring

Re: spam assassin rule to block a From address

2016-10-14 Thread Indunil Jayasooriya
kai.ri...@arrak.fi GSM +358-40-767 8282 > Oy Arrak Software Ab http://www.arrak.fi > > > > > From: amavis-users > [mailto:amavis-users-bounces+kai.risku=arrak...@amavis.org] On Behalf Of > @lbutlr > Sent: Thursday, October 13, 2016 11:43 AM > To: ama

Re: spam assassin rule to block a From address

2016-10-14 Thread Indunil Jayasooriya
y day. what a meritorious deed. > > -- > kai.ri...@arrak.fi GSM +358-40-767 8282 > Oy Arrak Software Ab http://www.arrak.fi > > > > -Original Message- > From: Indunil Jayasooriya [mailto:induni...@gmail.com] > Sent: Friday, October 14, 2016 11:56 AM > T

Allow a particular sender to bypass scanning with policy_bank

2016-10-20 Thread Indunil Jayasooriya
@bypass_spam_checks_maps = ( ['.sampledomain.org'] ); Waiting for your views. -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: Spam tagging g in subject doubled up?

2016-11-02 Thread Indunil Jayasooriya
spamassassin, but these > files do not get updated). The user vscan that runs amavis has a home > folder at /var/maiad/ but that .spamassassin folder is empty. > > … > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: Spam tagging g in subject doubled up?

2016-11-02 Thread Indunil Jayasooriya
>>> I also cannot find where amavisd’s bayes files are. >>> >>> (I’ve been told they are in /var/spool/amavis/.spamassassin, but these >>> files do not get updated). The user vscan that runs amavis has a home >>> folder at /var/maiad/ but that .spamassassin folder is empty. >>> >> … >> >> >> >> > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: How can I disable Amavis bounce messages?

2016-11-02 Thread Indunil Jayasooriya
; banned name: .asc,credit_card_details_2E0B4_PDF.vbs > > in email presumably from you <sender@somedomain> > -------- > -- > > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: Formatting of SA score in Subject?

2016-11-02 Thread Indunil Jayasooriya
re, it was suggested that I change "_SCORE_" to > "_SCORE(0)_", however that did not work, it caused the literal string > "_SCORE(0)_" to be inserted into my subject lines, rather than the > formatted score being substituted. > > Is t

Re: Formatting of SA score in Subject?

2016-11-03 Thread Indunil Jayasooriya
tag directly to > Spamassassin? If so, I would think I would be able to put "_SCORE(0)_" and > have it work, since the Spamassassin docs say that's supported, yet it > doesn't work. Perhaps my version of Spamassassin doesn't support that? I'm > running Spamassassin 3.4.0-2. > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

spam assassin rule to block a From address

2016-10-11 Thread Indunil Jayasooriya
) matches. Then, Why I still get these? any idea? hope to hear from you. -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: spam assassin rule to block a From address

2016-10-12 Thread Indunil Jayasooriya
liate > cortesemente darcene notizia a mezzo telefax o e-mail e distruggere il > messaggio ricevuto erroneamente. Quanto precede ai fini del rispetto del > D.Lgs 196/03 sulla tutela dei dati personali. > ******** > -- cat /etc/motd Th

Re: spam assassin rule to block a From address

2016-10-13 Thread Indunil Jayasooriya
ata, per maggiori informazioni consulta la nostra news qui >>>> >>>> >>>> ******** >>>> Qualora questo messaggio fosse da Voi ricevuto per errore vogliate >>>> cortesemente darcene notizia a mezzo telefax o e-mail e

Re: Increase spamassassin bayes99 score

2016-10-16 Thread Indunil Jayasooriya
t; #override bayes default scores >> >> score BAYES_99 5 >> >> But, in the grand scheme of things, your spamfilter is your very last line >> of defense against spam. Are you doing all you can to prevent spam from ever >> reaching your spam filter? Things like RBL blocking on the MTA level, >> graylisting etc? >> > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: spam assassin rule to block a From address

2016-10-12 Thread Indunil Jayasooriya
> Received: by 10.194.122.104 with HTTP; Tue, 11 Oct 2016 22:29:51 -0700 (PDT) > From: Indunil Jayasooriya <induni...@gmail.com> > Date: Wed, 12 Oct 2016 10:59:51 +0530 > Message-ID: >

Re: mynetworks not triggering spam check bypass via policy bank

2017-08-07 Thread Indunil Jayasooriya
.03/0.01/0.02/0.61, > dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 > 2.0.0 Ok: queued as 44DA69E8) > Aug 7 19:56:13 mail2 postfix/qmgr[7199]: A1C431373: removed > Aug 7 19:56:13 mail2 postfix/local[25881]: 44DA69E8: to=< > localu...@mail2.myserver.com>, relay=local, delay=0.07, > delays=0.02/0.04/0/0, dsn=2.0.0, status=sent (delivered to mailbox) > Aug 7 19:56:13 mail2 postfix/qmgr[7199]: 44DA69E8: removed > > > Scott > > > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: White listing a specific remote IP address

2017-08-18 Thread Indunil Jayasooriya
aße 26/MG,80333 München > > Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 > Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief > Aufsichtsratsvorsitzender: Florian Kirstein > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Amavis 100%

2017-06-13 Thread Indunil Jayasooriya
t;> disable_dns_lookups=yes -o max_use=20 > >> 11566 ?S 0:04 /usr/sbin/amavisd-new (ch13-avail) > >> 11697 ?S 0:00 smtp -n smtp-amavis -t unix -u -c -o > >> smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o > >> disable_dns_lookups

different message_size_limit_maps for outgoing and incoming mails

2017-09-08 Thread Indunil Jayasooriya
for incoming and another size limit for outgoing mails. I need it for domain wise and user wise. Any ideas? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

different message sizes for outgoing mail and incoming mail per use

2017-09-07 Thread Indunil Jayasooriya
Hi, Is there a way to have different message sizes for outgoing mail and incoming per user? let's say user x...@domain.com should have 20 MB for outgoing and 10 MB for incoming. Is it possible with amavisd-new? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Wrong format of Subject with raw: =?utf-8 for NON ASCII characters

2018-07-06 Thread Indunil Jayasooriya
on-ASCII characters my $subject_decoded = decode("MIME-Header", $subject); #my $subject_decoded = decode("MIME-B", $subject); #my $subject_decoded = decode("MIME-Q", $subject); print "\n"; print ""; print "subject: $subject \n\n"; print ""; print "subject_decoded: $subject_decoded \n\n"; -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Is amavisd-new still being maintained?

2018-10-09 Thread Indunil Jayasooriya
> > > >> > >>>I hope Amavis could still be maintained. DSPAM is already gone. If > >>>also Amavis dies, Spamassassin will follow... > > on October 9, 2018, amavisd-new-2.11.1 was released https://amavis.org/release-notes.txt > > --

Re: ANNOUNCE: amavisd-new-2.11.1 released

2018-10-10 Thread Indunil Jayasooriya
to the default >list @virus_name_to_spam_score_maps; > > - updated some comments; > > > > This is the last release of Amavis from me personally. > The project is moving to gitlab.com, details to be announced separately. > >Mark > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Is amavisd-new still being maintained?

2018-10-07 Thread Indunil Jayasooriya
Zimbra also comes with it. What will be zimbra's future? What about spamtitan? On Oct 7, 2018 4:46 AM, "Ralph Seichter" wrote: > On 07.10.18 00:26, Giovanni Bechis wrote: > > > I think that if Mark Martinek is not maintaining any more the > > community should step up and fork the project. > >

Re: Amavis IP and ports required for correct operation.

2020-11-03 Thread Indunil Jayasooriya
MYSERVERIP:53418208.83.137.118:2703 SYN_SENT > 7620/amavisd (ch7-0 > > > > > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

one mysql database per domain with amavisd-new while having multiple domains

2020-10-30 Thread Indunil Jayasooriya
changed INSERT INTO users VALUES ( NULL, 5, 5, '@example.com', NULL, 'Y'); mysql> USE db_client1; Database changed INSERT INTO users VALUES ( NULL, 5, 5, '@client1.com', NULL, 'Y'); Your ideas are welcome. Pls insert your INPUTS. -- cat /etc/motd Thank you Induni

Re: one mysql database per domain with amavisd-new while having multiple domains

2020-10-30 Thread Indunil Jayasooriya
that responds will be used as long as it works, then search is retried > Additionally @*_sql_dsn are global confvars, so one cannot use different > values in different policy banks. > > So, no. > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Amavis on Alma Linux 8 with Quarantined issue.

2023-09-25 Thread Indunil Jayasooriya
instead of `DBI::mysql` in > @lookup_sql_dsn. However it seems that perl-DBD-MariaDB is not shipped > with AlmaLinux 8. You could try [2] instead. > > [1] https://gitlab.com/amavis/amavis/-/issues/7 > [2] https://gitlab.com/amavis/amavis/-/issues/7#note_967007752 > > -- cat /etc

Amavis on Alma Linux 8 with Quarantined issue.

2023-09-25 Thread Indunil Jayasooriya
M {DiscardedInbound,Quarantined}, [127.0.0.1] /ESMTP -> , (), quarantine: KHruPy38ggLj, Message-ID: < 20230925053311.2a54...@mailgw.mydomain.net>, mail_id: KHruPy38ggLj, b: _cfhJXAG_, Hits: 2.144, size: 862, -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Spam assassin custom rule to block PDF files having Urls.

2022-07-01 Thread Indunil Jayasooriya
that can detect urls inside a PDF file. Can you guide me? Hope to hear from you. On Fri, Jul 1, 2022 at 6:17 PM Indunil Jayasooriya wrote: > Dear List, > > We get some PDF files. When we open them there is a link inside the PDF > file. We don't need these since these urls ma

Spam assassin custom rule to block PDF files having Urls.

2022-07-01 Thread Indunil Jayasooriya
Url has some instructions. https://cwiki.apache.org/confluence/display/SPAMASSASSIN/writingrules -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Spam assassin custom rule to block PDF files having Urls.

2022-07-04 Thread Indunil Jayasooriya
>If so, Could you please give me an example to catch a URL > inside PDF attachment? I googled it. But could not find a way for spamassassin to use it. Please be kind enough to guide me since this is very useful. Hope to hear from you. -- cat /etc/motd

Re: Remove clickable hyperlinks in the email body

2022-12-22 Thread Indunil Jayasooriya
malicious, the URL will be blocked; if the URL is clean, the URL is rewritten to point to the FortiIsolator, and the user will browse through FortiIsolator. - *Neutralize*: Modify the URL to make it ineffective. cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Remove clickable hyperlinks in the email body

2022-12-20 Thread Indunil Jayasooriya
Dear Amavis team, I have the below requirement. When a mail body has a link, it is clickable. It is normal. Is it possible to remove clickable hyperlinks in the email body and just appear texts? Hope to hear from you. cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Kaspersky Security amavis

2023-05-22 Thread Indunil Jayasooriya
/klms/rds_av srwxrwxrwx 1 kluser klusers 0 May 17 01:35 /var/run/klms/rds_av any update in regard to this error? Anyway, Has anyone integrated any other commercial antivirus guard such as sophos or whatever with amavis? -- cat /etc/motd Thank you Indunil Jayasooriya http

Re: Kaspersky Security amavis

2023-06-05 Thread Indunil Jayasooriya
Matus UHLAR - fantomas wrote: > On 22.05.23 08:33, Indunil Jayasooriya wrote: > >Has anyone integrated Kaspersky Security with amavis? > > > >This is the url I followed. > > > >https://support.kaspersky.com/KLMS/8.2/en-US/62460.htm > > > >I did it. Bu

Re: Kaspersky Security amavis

2023-06-06 Thread Indunil Jayasooriya
sage > returned by Kaspersky. > > Best regards, > > Olivier > > > > > Hope to hear from you. > > > > On Tue, May 23, 2023 at 12:58 PM Matus UHLAR - fantomas > > wrote: > > > > On 22.05.23 08:33, Indunil Jayasooriya wrote: > > >Has anyone in

Re: DBD::MySQL upstream change

2024-03-29 Thread Indunil Jayasooriya
> > Is is safe to replace DBD::MySQL with DBD::MariaDB ? > I am.using it in production on Alma Linux 9. > > > >

Re: Amavis doesn't get the right spam score values from policy table in MySQL

2024-03-28 Thread Indunil Jayasooriya
ad you can try with perl-DBD-MariaDB and DBI:MariaDB as *sql_dsn. > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/