Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-27 Thread Paul Lenz
Lena wrote: Connect with your server using SSH, give the command: exim -bP acl_smtp_data In your case it must say: acl_smtp_data = check_message This is exactly the case. If it says something else then it's the reason why this in your config didn't work: Hmm...? An afterthought: better

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-17 Thread Lena--- via Exim-users
> From: Paul Lenz > The mentioned text "Loteria" was clearly visible in the body, because it > was attached as > Content-Type: text/plain; charset="Windows-1251" > Content-Transfer-Encoding: 7bit Connect with your server using SSH, give the command: exim -bP acl_smtp_data

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-16 Thread Paul Lenz
Sorry, this is the wrong place in the thread structure, but I did not receive Lena'S message in my mailbox. Hello Lena, sorry for the delay, I was busy with other things. No I want to come back to you. The mentioned text "Loteria" was clearly visible in the body, because it was attached

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-03 Thread Lena--- via Exim-users
> From: Paul Lenz > Today I received again an 1,3 MB message with Lottery spam. > In the body is clearly to be seen "ONLINE LOTTERY DEPARTMENT". What you see as message body is not the same as what Exim considers as message body. You see a text/html or text/plain part, for Exim message body is

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-02 Thread Jeremy Harris
On 02/09/17 17:34, Ian Zimmerman wrote: >>deny senders = /etc/exim4/blockeddoms > > I don't think you can give a straight filename here. You can: http://exim.org/exim-html-current/doc/html/spec_html/ch-domain_host_address_and_local_part_lists.html Section 3 -- Cheers, Jeremy -- ##

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-02 Thread Ian Zimmerman
On 2017-09-02 15:02, Paul Lenz wrote: > #!!# ACL that is used after the DATA command > check_message: >deny senders = /etc/exim4/blockeddoms I don't think you can give a straight filename here. You need a lookup: deny senders = lsearch;/etc/exim4/blockeddoms spec reference: section 10.19

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-02 Thread Evgeniy Berdnikov
On Sat, Sep 02, 2017 at 03:02:43PM +0200, Paul Lenz wrote: > I would be already glad, if my Exim rules would work. > > Today I received again an 1,3 MB message with Lottery spam. > In the body is clearly to be seen "ONLINE LOTTERY DEPARTMENT". > > I am unsing this rule: > > #!!# ACL that is

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-02 Thread Paul Lenz
I would be already glad, if my Exim rules would work. Today I received again an 1,3 MB message with Lottery spam. In the body is clearly to be seen "ONLINE LOTTERY DEPARTMENT". I am unsing this rule: #!!# ACL that is used after the DATA command check_message: deny senders =

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-02 Thread Dennis Davis via Exim-users
On Fri, 1 Sep 2017, Paul Lenz wrote: > From: Paul Lenz <p...@lenz-online.de> > To: exim-users@exim.org > Date: Fri, 1 Sep 2017 20:49:24 > Subject: Re: [exim] Exim4 skips SpamAssassin if attachments are too big ... > It seems to me, that using SpamAssassin is like shootin

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-01 Thread Ian Zimmerman
On 2017-09-01 21:49, Paul Lenz wrote: > It seems to me, that using SpamAssassin is like shooting with guns > against flies. I wrote my own SpamAssassin plugin which detects a big > lot of spam, but actually I would be glad if I would not need > SpamAssassin to run my plugin. I would say, 80% of

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-01 Thread Paul Lenz
Hi Patrick (and all others) thanks for your reply. I understand now: Exim does not skip Spamassassin, but SpamAssassin returns big e-mails to Exim without touching them at all. Indeed, I should consider, not to increase the limit of SpamAssassin. My server runs out of memory often enough :(

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-01 Thread Patrick von der Hagen
Hi Paul, SpamAssassin has some VERY expensive regular expressions, which result in extreme memory usage. If the limit is completely disabled, you shouldn't be surprised if a couple of spamd-children consume all your memory, which can render your server pretty much useless. Therefore, such a

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-01 Thread Max Kostikov via Exim-users
You may change maximum message scanning size using -s max_size or --max-size=max_size option in spamc call. Default value 500 kBytes. Paul Lenz писал 2017-08-29 23:03: - Is there a size limit which I can change? -- With best regards, Max Kostikov BBM: 24CA5DF8 | W: https://kostikov.co

Re: [exim] Exim4 skips SpamAssassin if attachments are too big

2017-09-01 Thread Jeremy Harris
On 29/08/17 22:03, Paul Lenz wrote: > Received: from mail by [[MY_SERVER]] with spam-scanned (Exim 4.80 #2 > (Debian)) > id 1dknc6-0006nP-BB > for <[[MY_ADDRESS]]>; Thu, 24 Aug 2017 10:35:42 +0200 > > but they are not scanned and there are no entries made by SpamAssassin. > > I tried to

[exim] Exim4 skips SpamAssassin if attachments are too big

2017-08-31 Thread Paul Lenz
Hello everybody, I am using Exim4 (version: 4.80-7+deb7u5) on a Debian system with SpamAssassin. Everything works very fine except the case if an e-mail has big attachments. Unfortunately it is quite common that lottery spammers attach a pdf file which has 700 kB or even 1200 kB. Those