Re: spamassassin with gmail

2024-04-15 Thread Noel Butler
On 16/04/2024 08:24, Michael Grant via users wrote: I am not at all advocating people use gmail. Something like 68% of the planet already uses it and few people like I really wonder about that, or did they pull a trump... I ran this June last year, the results are somewhat surprising, of

Re: spamassassin with gmail

2024-04-15 Thread Benny Pedersen
Michael Grant via users skrev den 2024-04-15 12:55: Do any of you use spamassassin with a gmail account, and if so, how are people doing it? The reason to do this is gmail's spam filtering isn't perfect and you don't have the control you have with spamassassin. ...

Re: spamassassin with gmail

2024-04-15 Thread Matija Nalis
On Mon, Apr 15, 2024 at 01:48:53PM +, Michael Grant via users wrote: > > I don't like any daemon connecting to my mail storage. Can you imagine if > > your solution gets hacked, how much data would be compromised? I prefer > > messages being scanned/marked before stored. I wonder if this is

RE: spamassassin with gmail

2024-04-15 Thread Marc
> > Do any of you use spamassassin with a gmail account, and if so, how are > people doing it? The reason to do this is gmail's spam filtering isn't > perfect You can add to this, that gmail actually is also losing email and annoying is that you can't send zip files. I am constantly asking

Re: Spamassassin rule

2023-11-17 Thread Matus UHLAR - fantomas
On 17.11.23 11:19, natan wrote: E-mail was signed DKIM but why SA set "DMARC_REJECT" in this time ? W dniu 17.11.2023 o 12:31, Matus UHLAR - fantomas pisze: it's hard to see this without envelope and header from: On 17.11.23 12:42, natan wrote: Return-Path:

Re: Spamassassin rule

2023-11-17 Thread Matus UHLAR - fantomas
natan skrev den 2023-11-17 11:19: How it realy realy works in SA ? I ask beacuse warking not so cool: On 17.11.23 14:21, Benny Pedersen wrote: its a hack, and bad example on expect it hits unaligned mail aswell as aligned, we screwed there :) generally it could work, but it could be the

Re: Spamassassin rule

2023-11-17 Thread natan
Hi I had spamassassin-4.x dor ~1 day ;) And I had to downgrade to spamassasin-3.4.6 The Problem was in /var/lib/amavis/tmp/ where content of the catalog grow and grow more was rising than falling like 29 GB and more When dowgrade to stable spamassassin-3.4.6 problem fixed and size is ~100MB

Re: Spamassassin rule

2023-11-17 Thread Benny Pedersen
natan skrev den 2023-11-17 11:19: How it realy realy works in SA ? I ask beacuse warking not so cool: its a hack, and bad example on expect it hits unaligned mail aswell as aligned, we screwed there :) good news dmarc plugin in sa trunc does aswell work in spamasasssin 3.4.6 last time i

Re: Spamassassin rule

2023-11-17 Thread natan
W dniu 17.11.2023 o 12:31, Matus UHLAR - fantomas pisze: On 17.11.23 11:19, natan wrote: How it realy realy works in SA ? I ask beacuse warking not so cool: example: ifplugin Mail::SpamAssassin::Plugin::AskDNS askdns __DMARC_POLICY_NONE _dmarc._AUTHORDOMAIN_ TXT /^v=DMARC1;.*\bp=none;/

Re: Spamassassin rule

2023-11-17 Thread Matus UHLAR - fantomas
On 17.11.23 11:19, natan wrote: How it realy realy works in SA ? I ask beacuse warking not so cool: example: ifplugin Mail::SpamAssassin::Plugin::AskDNS askdns __DMARC_POLICY_NONE _dmarc._AUTHORDOMAIN_ TXT /^v=DMARC1;.*\bp=none;/ askdns __DMARC_POLICY_QUAR _dmarc._AUTHORDOMAIN_ TXT

Re: Spamassassin 4 and ClamAVMultipleScores.

2023-11-03 Thread Andrew Hearn
Thanks for the reply Jimmy. After playing some more - with priorities in clamav.cf, I got it working, and was just about to explain a fix, when I noticed Henrik has updated the ClamAVMultipleScores page to have a similar (actually better!) fix that I was going to suggest! # Run CLAMAV early so

Re: Spamassassin 4 and ClamAVMultipleScores.

2023-11-02 Thread Henrik K via users
That page had it all wrong from the beginning. Adjusting priority only for subrules but not the metas (yes metas don't use priorities in 4.0 but relative priorities are still adjusted for backwards compatibility, __CLAMAV* end up as priority 0 like everything else). The logical way to handle

Re: Spamassassin 4 and ClamAVMultipleScores.

2023-11-02 Thread Jimmy
The X-Spam-Virus could be absent from the email header. You can consider adding the following line: add_header spam Virus _VIRUSRESULT_ If this doesn't work, the ClamAV plugin might need to include "put_metadata('X-Spam-Virus')" when it detects a virus. Jimmy On Fri, Nov 3, 2023 at 4:06 AM

Re: SpamAssassin repeatedly fails to start

2023-07-12 Thread Wingfully Team via users
Hi David, Thank you so much for your reply! I had seen the pid file error line and actually tried to create the file manually (just to see if it was a permissions issue and couldn’t create it or something) but I didn’t try updating /etc/systemd/system/spamassassin.service.d/override.conf. I

Re: SpamAssassin repeatedly fails to start

2023-07-12 Thread David B Funk
On Wed, 12 Jul 2023, Wingfully Team via users wrote: Hi, I’m using SpamAssassin 3.4.0 on a VPS hosted by Hostinger with CentOS 7. CyberPanel was installed by Hostinger. I am constantly (every 90 seconds) seeing spamassassin fail to start, seemingly because it can’t find the PID file. I’m

Re: spamassassin milter auto ip address update

2023-03-07 Thread Henrik K
On Mon, Mar 06, 2023 at 11:04:09PM +0100, Benny Pedersen wrote: > Henrik K skrev den 2023-03-06 17:12: > > > It's clamav-milter doing dumb things. Looking at the source code it > > just > > resolves the address at startup and keeps using the IP indefinitely. > > That's > > not how a software is

Re: spamassassin milter auto ip address update

2023-03-07 Thread Bill Cole
On 2023-03-07 at 08:38:42 UTC-0500 (Tue, 7 Mar 2023 13:38:42 +) Marc is rumored to have said: [...] If the spamc constantly gets spawned on the milter side, it does not look very efficient. But at least this resolving of ip's is not an issue. I don't get also the logics behind spawning a

RE: spamassassin milter auto ip address update

2023-03-07 Thread Marc
> > > I recently had an issue where mail was temporarily rejected because > > clamav-milter/spamass-milter could not connect to clamd/spamd. > > Clamd/Spamd are a tasks that can automatically change hosts and thus > > their ips. A simple restart of the milter fixes this (resolves the new > >

Re: spamassassin milter auto ip address update

2023-03-06 Thread Benny Pedersen
Henrik K skrev den 2023-03-06 17:12: It's clamav-milter doing dumb things. Looking at the source code it just resolves the address at startup and keeps using the IP indefinitely. That's not how a software is supposed to work. File a bug report to ClamAV, and good luck since the milter code

Re: spamassassin milter auto ip address update

2023-03-06 Thread Henrik K
On Mon, Mar 06, 2023 at 11:59:03AM +, Marc wrote: > > > I recently had an issue where mail was temporarily rejected because > clamav-milter/spamass-milter could not connect to clamd/spamd. Clamd/Spamd > are a tasks that can automatically change hosts and thus their ips. A simple > restart

Re: spamassassin milter auto ip address update

2023-03-06 Thread Bill Cole
On 2023-03-06 at 06:59:03 UTC-0500 (Mon, 6 Mar 2023 11:59:03 +) Marc is rumored to have said: I recently had an issue where mail was temporarily rejected because clamav-milter/spamass-milter could not connect to clamd/spamd. Clamd/Spamd are a tasks that can automatically change hosts and

Re: spamassassin milter auto ip address update

2023-03-06 Thread David Bürgin
Marc: > > > I recently had an issue where mail was temporarily rejected because > clamav-milter/spamass-milter could not connect to clamd/spamd. Clamd/Spamd > are a tasks that can automatically change hosts and thus their ips. A simple > restart of the milter fixes this (resolves the new ip).

Re: spamassassin sometimes suddenly ends scanning

2022-11-30 Thread Henrik K
On Tue, Nov 29, 2022 at 09:40:14AM -0500, Greg Troxel wrote: > > I am pretty sure the hardware is OK, but I can't really run memtest86 as > it is a VPS. Memtester is userland, should be on most distributions: apt install memtester You can give it parameter of how much memory you have free, and

Re: spamassassin sometimes suddenly ends scanning

2022-11-30 Thread Pedro David Marco via users
Is it very very common to find VPSs running on PC Motherboards, not server Mobos... so no ECC  It is also very common in VPSs  to overclock RAM, so stability is not its main virtue.. Ask them Greg, and demand details and proofs of real hw being used. Pedro. On Tuesday, November 29, 2022 at

Re: spamassassin sometimes suddenly ends scanning

2022-11-29 Thread Greg Troxel
Henrik K writes: >> I see occasional coredumps (as in perl.core). It is often enough to be >> annoying (beyond worrisome that it happens at all), but not reproducible >> and no apparent pattern. > > Try memtester/memtest86, atleast if it's not a proper server with ECC > memory.. I am pretty

Re: spamassassin sometimes suddenly ends scanning

2022-11-29 Thread Adam Nielsen
> It doesn't finish any other rules and doesn't display final results at all. > > And then I start it simply again and everything is fine. > > Has anybody else seen this odd behavior? I've seen it a few times when running in a VM that didn't have enough memory available. The clue for me was

Re: spamassassin sometimes suddenly ends scanning

2022-11-29 Thread Kevin A. McGrail
Henrik's ideas are very good. I would also question the hardware too. KAM On Tue, Nov 29, 2022, 08:28 Henrik K wrote: > On Tue, Nov 29, 2022 at 07:34:51AM -0500, Greg Troxel wrote: > > > > Wolfgang Breyha writes: > > > > > It doesn't finish any other rules and doesn't display final results

Re: spamassassin sometimes suddenly ends scanning

2022-11-29 Thread Henrik K
On Tue, Nov 29, 2022 at 07:34:51AM -0500, Greg Troxel wrote: > > Wolfgang Breyha writes: > > > It doesn't finish any other rules and doesn't display final results at all. > > > > And then I start it simply again and everything is fine. > > > > Has anybody else seen this odd behavior? > > I see

Re: spamassassin sometimes suddenly ends scanning

2022-11-29 Thread Greg Troxel
Wolfgang Breyha writes: > It doesn't finish any other rules and doesn't display final results at all. > > And then I start it simply again and everything is fine. > > Has anybody else seen this odd behavior? I see occasional coredumps (as in perl.core). It is often enough to be annoying

Re: Spamassassin spamming in log

2022-06-02 Thread Timo Brandt
Thanks, Bert :-) Am 2022-06-02 20:49, schrieb Bert Van de Poel: If you are using systemd, you can "systemctl disable spamd". Otherwise you can indeed use the enabled=0. I would probably do both just in case ;) On 2/06/2022 20:36, Timo Brandt wrote: Maybe one of you has a hint for me how

Re: Spamassassin spamming in log

2022-06-02 Thread Bert Van de Poel
If you are using systemd, you can "systemctl disable spamd". Otherwise you can indeed use the enabled=0. I would probably do both just in case ;) On 2/06/2022 20:36, Timo Brandt wrote: Maybe one of you has a hint for me how to disable the automatic startup of spamd? Its been a long time

Re: Spamassassin spamming in log

2022-06-02 Thread Timo Brandt
Maybe one of you has a hint for me how to disable the automatic startup of spamd? Its been a long time ago that I setup a Debian from scratch :-( It seems that spamd doesnt need to start at system boot so I will disable it. Will this be done when I add ENABLED=0 into the file

Re: Spamassassin spamming in log

2022-06-02 Thread Timo Brandt
Hi all, indeed - sorry. I wasnt aware of that I do not need to run spamd beside amavis 若 Thanks for all your help. Timo Am 2022-06-02 20:18, schrieb Matija Nalis: On Thu, Jun 02, 2022 at 02:47:28PM +0200, Bert Van de Poel wrote: For the errors about nonexistent uses you will want to

Re: Spamassassin spamming in log

2022-06-02 Thread Matija Nalis
On Thu, Jun 02, 2022 at 02:47:28PM +0200, Bert Van de Poel wrote: > For the errors about nonexistent uses you will want to have a look at > /etc/default/spamassassin I'm guessing. > For the info messages: this has just got to do with your logging level. You > will want to decrease it in local.cf

Re: Spamassassin spamming in log

2022-06-02 Thread Matus UHLAR - fantomas
On 02.06.22 14:33, Timo Brandt wrote: I have a running debian 11 with postfix/dovecot and Amavis with clamav / spamassassin. I saw that the spamassassin logfile is growing very fast and found the following entries occuring many times per second. Can you maybe help me to get this fixed? I

Re: Spamassassin spamming in log

2022-06-02 Thread Benny Pedersen
On 2022-06-02 15:17, Timo Brandt wrote: Hi Bert, I checked the user table: debian-spamd:x:114:120::/var/lib/spamassassin:/usr/sbin/nologin And also adjusted the config file: OPTIONS="-u debian-spamd --create-prefs --max-children 5 --helper-home-dir -s /var/log/spamassassin/spamd.log why

Re: Spamassassin spamming in log

2022-06-02 Thread Benny Pedersen
On 2022-06-02 15:13, Bert Van de Poel wrote: For the error: does the spamd user actually exist? that's a requirement of course. to check in shell id spamd I've always controlled SA loglevels through amavis, but from the spamd man page I would expect that it's related to -D. I'm not

Re: Spamassassin spamming in log

2022-06-02 Thread Bert Van de Poel
Did you restart the unit after changing the configuration? It does seem like debian-spamd is indeed the correct user. I'm not sure how exactly the spawning of children works within SA. Has your CPU usage decreased now? PS: you can just reply to the list, no need to email me personally every

Re: Spamassassin spamming in log

2022-06-02 Thread Timo Brandt
Hi Bert, I checked the user table: debian-spamd:x:114:120::/var/lib/spamassassin:/usr/sbin/nologin And also adjusted the config file: OPTIONS="-u debian-spamd --create-prefs --max-children 5 --helper-home-dir -s /var/log/spamassassin/spamd.log But process is already running under root:

Re: Spamassassin spamming in log

2022-06-02 Thread Bert Van de Poel
For the error: does the spamd user actually exist? that's a requirement of course. I've always controlled SA loglevels through amavis, but from the spamd man page I would expect that it's related to -D. I'm not completely sure what the default is.

Re: Spamassassin spamming in log

2022-06-02 Thread Timo Brandt
Hi Bert, many thanks for your answer. Please find the spamassassin config below. I already checked it but do not find anything to change which is stopping the flooding. Also, spamassassin is consuming mostly all of my CPU power. When its running, the CPU is nearly the whole time at 99%.

Re: Spamassassin spamming in log

2022-06-02 Thread Bert Van de Poel
For the errors about nonexistent uses you will want to have a look at /etc/default/spamassassin I'm guessing. For the info messages: this has just got to do with your logging level. You will want to decrease it in local.cf or maybe also in the default file. On 2/06/2022 14:33, Timo Brandt

Re: Spamassassin with Galera as SQL-Backend?

2022-05-07 Thread deano-spamassassin
On 2022-05-06 6:56 am, Henrik K wrote: > On Fri, May 06, 2022 at 12:31:47PM +0200, giovanni@paclan.itwrote: > On 5/6/22 11:08, Niels Kobschätzki wrote: Hi, I have a setup where the > spamassassin-servers have actually no access to the data of the mail-servers. > Now I was looking into

Re: Spamassassin with Galera as SQL-Backend?

2022-05-06 Thread Darrell Budic
I’ve had it running against a mariadb galera setup for a few years now. Have not experienced any issues here. Did not have to take any special actions on SpamAssassins side, just pointed it at a dns round robin entry for the backend servers and setup appropriate access perms for them.

Re: Spamassassin with Galera as SQL-Backend?

2022-05-06 Thread Benny Pedersen
On 2022-05-06 12:21, Niels Kobschätzki wrote: But I read that redis doesn’t have per-user databases? nope, pr user bayes needs one database in redis, not multiple pr user And I probably would need new machines with lots of RAM for it, because I have no idea how much RAM is needed per user.

Re: Spamassassin with Galera as SQL-Backend?

2022-05-06 Thread Henrik K
On Fri, May 06, 2022 at 12:31:47PM +0200, giova...@paclan.it wrote: > On 5/6/22 11:08, Niels Kobschätzki wrote: > > Hi, > > > > I have a setup where the spamassassin-servers have actually no access to > > the data of the mail-servers. Now I was looking into having per user > > bayes-databases

Re: Spamassassin with Galera as SQL-Backend?

2022-05-06 Thread giovanni
On 5/6/22 11:08, Niels Kobschätzki wrote: > Hi, > > I have a setup where the spamassassin-servers have actually no access to the > data of the mail-servers. Now I was looking into having per user > bayes-databases and saw that I can do that with a SQL-database. I have > already a small

Re: Spamassassin with Galera as SQL-Backend?

2022-05-06 Thread Niels Kobschätzki
On 6 May 2022, at 11:31, Benny Pedersen wrote: > On 2022-05-06 11:25, Henrik K wrote: >> On Fri, May 06, 2022 at 11:08:21AM +0200, Niels Kobschätzki wrote: >>> Hi, >>> >>> I have a setup where the spamassassin-servers have actually no access to the >>> data of the mail-servers. Now I was

Re: Spamassassin with Galera as SQL-Backend?

2022-05-06 Thread Benny Pedersen
On 2022-05-06 11:25, Henrik K wrote: On Fri, May 06, 2022 at 11:08:21AM +0200, Niels Kobschätzki wrote: Hi, I have a setup where the spamassassin-servers have actually no access to the data of the mail-servers. Now I was looking into having per user bayes-databases and saw that I can do that

Re: Spamassassin with Galera as SQL-Backend?

2022-05-06 Thread Henrik K
On Fri, May 06, 2022 at 11:08:21AM +0200, Niels Kobschätzki wrote: > Hi, > > I have a setup where the spamassassin-servers have actually no access to the > data of the mail-servers. Now I was looking into having per user > bayes-databases and saw that I can do that with a SQL-database. I have

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-27 Thread Cyrille Bollu
Hi,   That was the problem, thanks David!   Apparently I hadn't restarted spamassassin properly when making this change because it dates from September the 13th while spamassassin stopped tagging my messages since November 11th only.   Thanks all,    Cyrille    "David Bürgin"

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-26 Thread David Bürgin
Cyrille Bollu: > spamass+   673     1  0 13:06 ?        00:00:00 /usr/sbin/spamass-milter -P > /var/run/spamass/spamass.pid -f -p /var/spool/postfix/spamass/spamass.sock -u > spamass-milter -d func,misc,net,poll,rcpt,spamc,str,uori -i 127.0.0.1 -- -s > 10485760 -r 10 -r 10 is in the wrong

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-26 Thread Cyrille Bollu
No no:   root@bollu:/home/debian# ps -eaf | grep spamass-milter spamass+   673     1  0 13:06 ?        00:00:00 /usr/sbin/spamass-milter -P /var/run/spamass/spamass.pid -f -p /var/spool/postfix/spamass/spamass.sock -u spamass-milter -d func,misc,net,poll,rcpt,spamc,str,uori -i 127.0.0.1 -- -s

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-26 Thread Matus UHLAR - fantomas
On 26.11.21 12:53, Cyrille Bollu wrote: postfix communicates with spamassassin via a milter:   # milter settings (for DKIM, spam filters,...) smtpd_milters = unix:/opendkim/opendkim.sock,local:spamass/spamass.sock non_smtpd_milters = $smtpd_milters   As said, I can see logs in mail.log that

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-26 Thread Cyrille Bollu
Hello,   postfix communicates with spamassassin via a milter:   # milter settings (for DKIM, spam filters,...) smtpd_milters = unix:/opendkim/opendkim.sock,local:spamass/spamass.sock non_smtpd_milters = $smtpd_milters   As said, I can see logs in mail.log that show messages being processed

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-26 Thread David Bürgin
> What should happen technically is that Postfix connects to the milter, > the milter uses spamc to communicate with SpamAssassin/spamd, and > finally the milter will add the new headers it receives from > SpamAssassin. To expand a little bit on this, the crucial thing is that all components can

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-26 Thread David Bürgin
And does Postfix connect via the milter and spamc, or does it call spamassassin directly? For example, I have this in /etc/postfix/main.cf: smtpd_milters = ... unix:spamassassin/spamassassin-milter.sock Another thing to try is enable more logging in spamass-milter to see what it’s doing.

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-26 Thread Cyrille Bollu
Hi,   Here's my config. It's quite a default one: I didn't change much (I show you below what I've changed)   Best regards,   Cyrille   = CONFIG == root@bollu:/etc# grep -v '^#' default/spamassassin | grep -v '^$' OPTIONS="-D --create-prefs --max-children 5

Re: Spamassassin detects spam but don't add X-Spam headers

2021-11-25 Thread David Bürgin
First we would need to see the spamd config, SpamAssassin config, spamass-milter config to see how it is all wired up.

Re: spamassassin 3.4.5 wide chars

2021-09-03 Thread Benny Pedersen
On 2021-08-12 04:03, Benny Pedersen wrote: https://bugs.gentoo.org/807781 is it solved in 3.4.6 ? reply to myself if its matters, rule sets from current sa-update today is now showing this wide charters warning step to reproduce in gentoo: sa-update sa-compile before sa-compile call re2c

RE: spamassassin 3.4.5 wide chars

2021-08-13 Thread Lukasz Maik
Thank you all for your best help. I will investigate. Kind Regards Lukas Ricoh Europe Holdings PLC is a company registered in England, under company number 06273215, with a registered office at 20 Triton Street, London, NW1 3BF. The UK business of Ricoh Europe Holdings PLC is operated by: (i)

Re: spamassassin 3.4.5 wide chars

2021-08-12 Thread Benny Pedersen
On 2021-08-12 04:55, Bill Cole wrote: On 2021-08-11 at 22:03:24 UTC-0400 (Thu, 12 Aug 2021 04:03:24 +0200) Benny Pedersen is rumored to have said: https://bugs.gentoo.org/807781 is it solved in 3.4.6 ? That's not a SA bug report. It's a Gentoo bug report. Fix your rules. thanks for

Re: spamassassin 3.4.5 wide chars

2021-08-12 Thread Benny Pedersen
On 2021-08-12 15:56, Jared Hall wrote: It occurs to me that I had a weird sa-compile problem a couple of weeks ago that produced a similar error.  I ended up blowing out everything under the /var/lib/spamassassin/compiled/ folder to fix it.  Worked fine after that. i have tryed this aswell

Re: spamassassin 3.4.5 wide chars

2021-08-12 Thread Jared Hall
Benny Pedersen wrote: https://bugs.gentoo.org/807781 is it solved in 3.4.6 ? It occurs to me that I had a weird sa-compile problem a couple of weeks ago that produced a similar error.  I ended up blowing out everything under the /var/lib/spamassassin/compiled/ folder to fix it.  Worked fine

Re: spamassassin 3.4.5 wide chars

2021-08-12 Thread Jared Hall
Benny Pedersen wrote: https://bugs.gentoo.org/807781 is it solved in 3.4.6 ? Don't know.  I took a look at the Gentoo SA package and it's pretty basic.  RE2C is pretty mature as is PERL.  Hard to believe Gentoo would mess that up.  But... I got this a few months back when I copied what I

Re: spamassassin 3.4.5 wide chars

2021-08-11 Thread Bill Cole
On 2021-08-11 at 22:03:24 UTC-0400 (Thu, 12 Aug 2021 04:03:24 +0200) Benny Pedersen is rumored to have said: > https://bugs.gentoo.org/807781 > > is it solved in 3.4.6 ? That's not a SA bug report. It's a Gentoo bug report. Fix your rules. -- Bill Cole b...@scconsult.com or

Re: spamassassin and *compressed* Maildir

2021-05-21 Thread RW
On Fri, 21 May 2021 15:41:22 -0400 Clive Jacques wrote: > I have a mail folder that I put false negatives in (i.e., spam which > ends up in my inbox) and another for false negatives (ham that ends > up in my spam folder). Each night I run sa-learn on each folder > (sa-learn will munch on entire

Re: spamassassin and *compressed* Maildir

2021-05-21 Thread Lucas Rolff
$ cat RMScaa8wVRnMfwqlQ0RxAzDjYGmIumlp1wlA8QNr8z.eml | sa-learn --spam Learned tokens from 0 message(s) (1 message(s) examined) Indeed does work from stdin - Lucas From: Clive Jacques Date: Friday, 21 May 2021 at 21.41 To: "users@spamassassin.apache.org" Subject: Re: sp

Re: spamassassin and *compressed* Maildir

2021-05-21 Thread Clive Jacques
ay you can skip the rename step > > > > Best Regards, > > Lucas Rolff > > > > *From: *Clive Jacques > *Date: *Friday, 21 May 2021 at 21.04 > *To: *"users@spamassassin.apache.org" > *Subject: *Re: spamassassin and *compressed* Maildir > > >

Re: spamassassin and *compressed* Maildir

2021-05-21 Thread Lucas Rolff
You can do `zcat -f` or `gunzip -c -f` and avoid having to have .gz extension, that way you can skip the rename step Best Regards, Lucas Rolff From: Clive Jacques Date: Friday, 21 May 2021 at 21.04 To: "users@spamassassin.apache.org" Subject: Re: spamassassin and *compressed* Maild

Re: spamassassin and *compressed* Maildir

2021-05-21 Thread Clive Jacques
That's confirmed. sa-learn doesn't like compressed files. I don't know if it will dine on compressed files with the correct extension (i.e., .gz). Unfortunately, when using compression with Maildir format, Dovecot doesn't seem to like to use extensions. So, I copied the directory to a temporary

Re: spamassassin and *compressed* Maildir

2021-05-21 Thread Henrik K
On Fri, May 21, 2021 at 10:54:54AM -0400, Clive Jacques wrote: > Do spamassassin or sa-learn understand compressed files or compressed Maildir? I believe sa-learn will automatically decompress if the files have .gz or .bz2 extension, but yes Maildir files without extension will not work. Should

Re: Spamassassin goes to folder spam

2021-04-21 Thread mauric
>> Hello >> >> Asking for litle help.. Doevecot and sieve are running fine.. One >> thing now, if receiving mail from Users-spamassassin >> >> This mail will by forwarding from sieve to folder spam. I didn't see >> why this will transfer there. >You have two conflicting X-Spam-flag

Re: Spamassassin goes to folder spam

2021-04-20 Thread RW
On Tue, 20 Apr 2021 01:12:18 +0200 mau...@gmx.ch wrote: > Hello > > Asking for litle help.. Doevecot and sieve are running fine.. One > thing now, if receiving mail from Users-spamassassin > > This mail will by forwarding from sieve to folder spam. I didn't see > why this will transfer there.

Re: Spamassassin goes to folder spam

2021-04-19 Thread John Hardin
On Tue, 20 Apr 2021, mau...@gmx.ch wrote: if header :contains "To" users@spamassassin.apache.org { This header might be a better check: List-Id: -- John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ jhar...@impsec.org

Re: Spamassassin goes to folder spam

2021-04-19 Thread Benny Pedersen
On 2021-04-20 01:12, mau...@gmx.ch wrote: Hello Asking for litle help…. Doevecot and sieve are running fine…. One thing now, if receiving mail from Users-spamassassin This mail will by forwarding from sieve to folder spam. I didn't see why this will transfer there. Dovecot 2.3.4.1 (f79e8e7e4)

Re: Spamassassin goes to folder spam

2021-04-19 Thread Arne Jensen
Den 20-04-2021 kl. 01:12 skrev mau...@gmx.ch: > > Hello > > Asking for litle help…. Doevecot and sieve are running fine…. One > thing now, if receiving mail from Users-spamassassin > > This mail will by forwarding from sieve to folder spam. I didn’t see > why this will transfer there. > Your

Re: Spamassassin reporting IP address is whitelisted by DNSWL.org but DNSWL.org reports it is not

2021-04-10 Thread Steve Dondley
On 2021-04-10 03:20 PM, Bill Cole wrote: On 10 Apr 2021, at 14:53, Steve Dondley wrote: I'm very, very sorry to beat a dead horse, but I'm deeply confused by the "RCVD_IN_DNSWL_HI" rule which appears to be reporting incorrectly on my system. STOP USING ANY PUBLIC DNS RESOLVERS WITH ANY MAIL

Re: Spamassassin reporting IP address is whitelisted by DNSWL.org but DNSWL.org reports it is not

2021-04-10 Thread Bill Cole
On 10 Apr 2021, at 14:53, Steve Dondley wrote: I'm very, very sorry to beat a dead horse, but I'm deeply confused by the "RCVD_IN_DNSWL_HI" rule which appears to be reporting incorrectly on my system. STOP USING ANY PUBLIC DNS RESOLVERS WITH ANY MAIL SERVERS! Some of these will return bogus

Re: Spamassassin 3.4.4 on centos7

2020-12-11 Thread Sidney Markowitz
Niamh Holding wrote on 11/12/20 11:10 pm: Hello Sidney, Thursday, December 10, 2020, 11:45:34 PM, you wrote: SM> If you got this rpm from an unofficial source who perhaps built it from the source rpm for Spamassassin 3.4.4 in the Fedora repo, talk to whoever did that about how they built

Re: Spamassassin 3.4.4 on centos7

2020-12-11 Thread Niamh Holding
Hello Sidney, Thursday, December 10, 2020, 11:45:34 PM, you wrote: SM> If you got this rpm from an unofficial source who perhaps built it from the source rpm for Spamassassin 3.4.4 in the Fedora repo, talk to whoever did that about how they built the package and how they install it on

Re: Spamassassin 3.4.4 on centos7

2020-12-10 Thread Martin Gregorie
On Fri, 2020-12-11 at 12:45 +1300, Sidney Markowitz wrote: > 2. Using the rpm command to install a local rpm file does not > automatically install dependencies from a repo. Always use yum (or dnf > in newer CentOS or in Fedora) instead of the now old rpm program. > Minor correction: the rpm

Re: Spamassassin 3.4.4 on centos7

2020-12-10 Thread Sidney Markowitz
Niamh Holding wrote on 10/12/20 12:01 am: rpm -ivh spamassassin-3.4.4-1.el7.centos.x86_64.rpm error: Failed dependencies: perl(BSD::Resource) is needed by spamassassin-3.4.4-1.el7.centos.x86_64 perl(Net::CIDR::Lite) is needed by spamassassin-3.4.4-1.el7.centos.x86_64 1. The

Re: Spamassassin 3.4.4 on centos7

2020-12-10 Thread Bill Cole
On 10 Dec 2020, at 1:18, Andrew Colin Kissa wrote: >> On 09 Dec 2020, at 21:13, Benny Pedersen wrote: >> >> thanks for reporting, but this should be added to centos bug tracker since >> its a centos problem, not a spamassassin problem to solve, this 2 modules is >> only optional > > There is

Re: Spamassassin 3.4.4 on centos7

2020-12-10 Thread Benny Pedersen
Andrew Colin Kissa skrev den 2020-12-10 07:18: There is no bug here to be reported, those packages do exist in CentOS7 yum whatprovides "perl(BSD::Resource)" yum whatprovides "perl(Net::CIDR::Lite)" maintainer on centos could force install them as hard dependice, but as i say its optional

Re: Spamassassin 3.4.4 on centos7

2020-12-10 Thread Andrew Colin Kissa
> On 09 Dec 2020, at 21:13, Benny Pedersen wrote: > > thanks for reporting, but this should be added to centos bug tracker since > its a centos problem, not a spamassassin problem to solve, this 2 modules is > only optional There is no bug here to be reported, those packages do exist in

Re: [SA-Users] Re: Spamassassin 3.4.4 on centos7

2020-12-09 Thread John R. Dennison
On Thu, Dec 10, 2020 at 08:18:15AM +0200, Andrew Colin Kissa wrote: > > There is no bug here to be reported, those packages do exist in CentOS7 No bug but a correction. The named packages are not provided by CentOS but rather EPEL. yum --enablerepo=extras install epel-release will enable EPEL

Re: Spamassassin 3.4.4 on centos7

2020-12-09 Thread Benny Pedersen
Niamh Holding skrev den 2020-12-09 12:01: Hello Late to the party but I'm seeing Failed dependencies- rpm -ivh spamassassin-3.4.4-1.el7.centos.x86_64.rpm error: Failed dependencies: perl(BSD::Resource) is needed by spamassassin-3.4.4-1.el7.centos.x86_64 perl(Net::CIDR::Lite)

Re: Spamassassin 3.4.4 on centos7

2020-12-09 Thread Andrew Colin Kissa
Use yum local install spamassassin-3.4.4-1.el7.centos.x86_64.rpm That will pull in the dependencies for you. > On 09 Dec 2020, at 13:01, Niamh Holding wrote: > > rpm -ivh spamassassin-3.4.4-1.el7.centos.x86_64.rpm signature.asc Description: Message signed with OpenPGP

Re: SpamAssassin DKIM with Virtual Hosting

2020-09-25 Thread Jerry Malcolm
Bob... wow.  I really appreciate the analysis.  This is (or will be as soon as dig into everything you've explained) incredibly useful.  Thank you so much. Jerry On 9/24/2020 8:23 PM, Bob Proulx wrote: Jerry Malcolm wrote: I have a question about how SA's DKIM rules apply to virtual

Re: SpamAssassin DKIM with Virtual Hosting

2020-09-25 Thread Matus UHLAR - fantomas
> Or is there some criteria to determine which domain name > should have the DKIM signature? Is there a penalty score if one or > the other is missing? It's doesn't make much difference, unless there's a whitelist involved. On 24.09.20 08:54, Alan Hodgson wrote: If you publish a DMARC

Re: SpamAssassin DKIM with Virtual Hosting

2020-09-24 Thread Bob Proulx
Jerry Malcolm wrote: > I have a question about how SA's DKIM rules apply to virtual hosting. If > "myhosting.com" hosts and sends mail for "JoesFlowers.com", does SA check > the signature for "myHosting.com", for "JoesFlowers.com", or both? Or is > there some criteria to determine which domain

Re: SpamAssassin DKIM with Virtual Hosting

2020-09-24 Thread Jerry Malcolm
On 9/24/2020 10:54 AM, Alan Hodgson wrote: Or is there some criteria to determine which domain name should have the DKIM signature?  Is there a penalty score if one or the other is missing? It's doesn't make much difference, unless there's a whitelist involved. If you publish a DMARC record,

Re: SpamAssassin DKIM with Virtual Hosting

2020-09-24 Thread Alan Hodgson
> > > Or is there some criteria to determine which domain name > > should have the DKIM signature? Is there a penalty score if one or > > the other is missing? > > It's doesn't make much difference, unless there's a whitelist involved. If you publish a DMARC record, DMARC requires that the

Re: SpamAssassin DKIM with Virtual Hosting

2020-09-24 Thread RW
On Wed, 23 Sep 2020 23:20:26 -0500 Jerry Malcolm wrote: > I have a question about how SA's DKIM rules apply to virtual hosting. > If "myhosting.com" hosts and sends mail for "JoesFlowers.com", does > SA check the signature for "myHosting.com", for "JoesFlowers.com", or > both?  Both > Or is

Re: SpamAssassin DKIM with Virtual Hosting

2020-09-23 Thread Kevin A. McGrail
Really depends on how ywhat technology you are using for the.dkim signatures. Hard to predict without knowing more about your setup. Recommend you send an email as each to cpanell...@pccc.com if you want to see how it looks to a well configured SA setup. Regards, KAM On Thu, Sep 24, 2020,

Re: Spamassassin Email Alert

2020-09-02 Thread Martin Gregorie
On Wed, 2020-09-02 at 15:44 +0530, KADAM, SIDDHESH wrote: > Hi Folks, > > Using spamassassin is there any way of trigger email notification to > specific ID, if email body matches with list of pattern. > You can put anything you care write or install to downstream from SA to scan messages and

Re: Spamassassin Email Alert

2020-09-02 Thread Antony Stone
On Wednesday 02 September 2020 at 12:35:15, KADAM, SIDDHESH wrote: > Hi, > > I want to send a mail to local admin If any mail body matches a content > of a specific words. Have you considered https://www.mailscanner.info/ ? Regards, Antony. -- Pavlov is in the pub enjoying a pint. The

Re: Spamassassin Email Alert

2020-09-02 Thread Matus UHLAR - fantomas
On 02.09.20 16:05, KADAM, SIDDHESH wrote: I want to send a mail to local admin If any mail body matches a content of a specific words. it it's only about simple regex, postfix has body_checks directive that could be used for this. On 9/2/2020 4:01 PM, Matus UHLAR - fantomas wrote: On

Re: Spamassassin Email Alert

2020-09-02 Thread KADAM, SIDDHESH
Hi, I want to send a mail to local admin If any mail body matches a content of a specific words. On 9/2/2020 4:01 PM, Matus UHLAR - fantomas wrote: On 02.09.20 15:44, KADAM, SIDDHESH wrote:   Using spamassassin is there any way of trigger email notification to   specific ID, if email body

  1   2   3   4   5   6   7   8   9   10   >