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

2016-03-03 Thread Indunil Jayasooriya
Hi list, i have a rule to block mails based on body in /etc/mail/spamassassin/ local.cf this is what i have written in /etc/mail/spamassassin/local.cf file body LOCAL_SEX /\b(sex)\b/i describe LOCAL_SEX Email contains the word sex. score LOCAL_SEX 7.0 I sent a mail from my gmail account by a

RE: help on bulkmail , offers - amavisd.conf file

2016-03-03 Thread Dino Edwards
It will match any of those keywords whether its’ part of the email, subject, body etc.. Take a look here: https://regex101.com/r/bQ1xB0/3 Try any of the possibilities you listed and you will get a match. From: amavis-users [mailto:amavis-users-bounces+dino.edwards=mydirectmail@amavis.or

RE: expressions clarification

2016-03-03 Thread Tone Kravanja
i = ignore case x = ignore (most) whitespace and permit comments in pattern Best Regards, Tone Kravanja -Original Message- From: Dino Edwards [mailto:dino.edwa...@mydirectmail.net] Sent: Wednesday, March 2, 2016 3:07 PM To: amavis-users@amavis.org Subject: expressions clarification I'm

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

2016-03-03 Thread Stanislas Leveau
Hi I create my rules in a file file.cf in /etc/mail/spamassassin/ directory and i reload amavis and it s ok normaly Amavis add local_sex in message header? What is score in message header? Regards Stan > Le 3 mars 2016 à 10:35, Indunil Jayasooriya a écrit : > > Hi list, > > > i have a

Re: js in zip attachment of e-mail

2016-03-03 Thread Thomas Spuhler
On Wednesday, March 02, 2016 04:34:39 PM @lbutlr wrote: > On Wed Mar 02 2016 07:32:48 Dino Edwards > said: > > Like this: > > > > [qr'.\.(js)$'ix => 1] > > And where would I put that? And what sort of config is that? I’ve never seen > any config file that put things inside square brackets…

Re: js in zip attachment of e-mail

2016-03-03 Thread @lbutlr
On Thu Mar 03 2016 08:19:21 Thomas Spuhler said: > > On Wednesday, March 02, 2016 04:34:39 PM @lbutlr wrote: >> On Wed Mar 02 2016 07:32:48 Dino Edwards >> said: >>> Like this: >>> >>> [qr'.\.(js)$'ix => 1] >> >> And where would I put that? And what sort of config is that? I’ve neve

Re: help on bulkmail , offers - amavisd.conf file

2016-03-03 Thread @lbutlr
On Wed Mar 02 2016 22:16:05 Indunil Jayasooriya said: > > [qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i => 5.0], > bulkm...@anydomain1.com > bulkm...@anydomain2.com Yes. This is the section that starts with the comment: # ENVELOPE SENDER SOFT-WHITELISTING / SOFT-BLACKLIS

How to configure multiple postfix content filters?

2016-03-03 Thread Mike Schleif
Centos: 7.2.1511 (Core) postfix: 2.10.1 amavisd-new: 2.10.1 This postfix server was designed to run as follows, which it has done for several months without incident: Original filter-only: master.cf: smtp inet n - n - - smtpd -o content_filter=filter:dummy filter unix - n n - 10

How to configure multiple postfix content filters?

2016-03-03 Thread Mike Schleif
Centos: 7.2.1511 (Core) postfix: 2.10.1 amavisd-new: 2.10.1 This postfix server was designed to run as follows, which it has done for several months without incident: Original filter-only: master.cf: smtp inet n - n - - smtpd -o content_filter=filter:dummy filter unix - n n - 10

Re: How to configure multiple postfix content filters?

2016-03-03 Thread Patrick Ben Koetter
Mike, * Mike Schleif : > Centos: 7.2.1511 (Core) > postfix: 2.10.1 > amavisd-new: 2.10.1 > > This postfix server was designed to run as follows, which it has done for > several months without incident: > > Original filter-only: > master.cf: > smtp inet n - n - - smtpd > -o content_filt

Re: How to configure multiple postfix content filters?

2016-03-03 Thread Patrick Ben Koetter
* Mike Schleif : > Centos: 7.2.1511 (Core) > postfix: 2.10.1 > amavisd-new: 2.10.1 > > This postfix server was designed to run as follows, which it has done for > several months without incident: > > Original filter-only: > master.cf: > smtp inet n - n - - smtpd > -o content_filter=filt

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

2016-03-03 Thread Indunil Jayasooriya
> I create my rules in a file file.cf in /etc/mail/spamassassin/ directory > and i reload amavis and it s ok normaly > > I have CentOS 6 X running. My location is different. I need files in /var/lib/spamassassin/3.003001/updates_spamassassin_org directory. I created a file like this . /var/li