On 2024-05-18 at 10:26:54 UTC-0400 (Sat, 18 May 2024 16:26:54 +0200)
Francis Augusto Medeiros-Logeay
is rumored to have said:
Is there any difference between using spamc -L and sa-learn ?
On 18.05.24 11:41, Bill Cole wrote:
Yes. The compiled-C spamc binary loads no Perl, it just talks over a
On 2024-05-18 at 10:26:54 UTC-0400 (Sat, 18 May 2024 16:26:54 +0200)
Francis Augusto Medeiros-Logeay
is rumored to have said:
Hi,
Is there any difference between using spamc -L and sa-learn ?
Yes. The compiled-C spamc binary loads no Perl, it just talks over a
socket to spamd, which is
Hi,
Is there any difference between using spamc -L and sa-learn ? I noticed that
the later is way slower. I don’t use a journal for local updating, so both
write directly to the database.
Best,
Francis
Bill Cole wrote on 22/03/24 8:36 am:
It seems to me that it would require extension of the spamc/spamd protocol and
cargo-culting some code from spamassassin to spamd.
Doesn't look like much cargo-culting to do. The spamassassin script just
calls a function in Mail::SpamAssassin.pm for
nalities of the spamassassin script when using the spamc/spamd
interface.
Does anyone see it hiding somewhere that I don't?
Does anyone have any rationale for this missing functionality?
I don't expect that it would be difficult to add. (Something I've
believed every ti
me]list functionalities of the
>> spamassassin script when using the spamc/spamd interface.
>>
>> Does anyone see it hiding somewhere that I don't?
>>
>> Does anyone have any rationale for this missing functionality?
>>
>> I don't expect that it would b
ck,welcome]list
functionalities of the spamassassin script when using the spamc/spamd
interface.
Does anyone see it hiding somewhere that I don't?
Does anyone have any rationale for this missing functionality?
I don't expect that it would be difficult to add. (Something I've
believed eve
he spamassassin script when using the spamc/spamd
interface.
Does anyone see it hiding somewhere that I don't?
Does anyone have any rationale for this missing functionality?
I don't expect that it would be difficult to add. (Something I've
believed every time I've taken on
On 3/20/24 21:58, Bill Cole wrote:
I'm not sure how I've not noticed before, but unless I'm missing something,
there is no way to replicate the [block,welcome]list functionalities of the
spamassassin script when using the spamc/spamd interface.
Does anyone see it hiding somewhe
On 20.03.24 16:58, Bill Cole wrote:
I'm not sure how I've not noticed before, but unless I'm missing
something, there is no way to replicate the [block,welcome]list
functionalities of the spamassassin script when using the spamc/spamd
interface.
Does anyone see it hiding s
Bill Cole wrote:
I'm not sure how I've not noticed before, but unless I'm missing
something, there is no way to replicate the [block,welcome]list
functionalities of the spamassassin script when using the spamc/spamd
interface.
Does anyone see it hiding somewhere that I don&
I'm not sure how I've not noticed before, but unless I'm missing
something, there is no way to replicate the [block,welcome]list
functionalities of the spamassassin script when using the spamc/spamd
interface.
Does anyone see it hiding somewhere that I don't?
Does anyon
In your message regarding Re: milter vs spamc dated 15/01/2024, Mike
Bostock said ...
> In your message regarding Re: milter vs spamc dated 15/01/2024, Benoit
> Panizzon said ...
> > Hi
> > > What are the pros and cons?
> > In my opinion, an email should eith
In your message regarding Re: milter vs spamc dated 15/01/2024, Benoit
Panizzon said ...
> Hi
> > What are the pros and cons?
> In my opinion, an email should either be received by a MTA and
> delivered to the recipient, or rejected during the SMTP phase.
Thanks everyone for
Hi
> The only con is that milter can't apply multiple SA settings when single
> mail has multiple destination users - it only has to use single setting for
> them.
We found a way around this, we use MIMEDefang as Milter and have
built database lookups in the config.
Usually, per user SA settin
On 14.01.24 22:22, Mike Bostock via users wrote:
I currently have users set up with spamc called in .procmailrc
However, I have quite a few aliases/redirects in sendmail virtusertable
who are not being protected by Spamassassin.
spamass-milter has setting for default user (-U username) that
Hi
> What are the pros and cons?
In my opinion, an email should either be received by a MTA and
delivered to the recipient, or rejected during the SMTP phase.
This eliminates:
* Emails 'disappearing' (false positives as example)
* Sending late bounces to fake sender when rejected by the LDA
So
Mike Bostock via users skrev den 2024-01-14 23:22:
I currently have users set up with spamc called in .procmailrc
virtual users is hard to support then
However, I have quite a few aliases/redirects in sendmail virtusertable
who are not being protected by Spamassassin.
good, move all system
I currently have users set up with spamc called in .procmailrc
However, I have quite a few aliases/redirects in sendmail virtusertable
who are not being protected by Spamassassin.
Would I be better using the milter?
What are the pros and cons?
How do I redirect spam to a mailbox if I use the
ys:
>>>>>> -L learn type
>>>>>> Send message to spamd for learning. The learn type can be
>>>>>> either spam, ham or forget. The exitcode for spamc will be set
>>>>>> to 5 if the message was learned,
On 2023-11-07 at 18:23:19 UTC-0500 (Wed, 8 Nov 2023 00:23:19 +0100)
is rumored to have said:
> On 11/7/23 18:38, Cecil Westerhof wrote:
>> Matus UHLAR - fantomas writes:
[...]
>>
>> They are imaps -> imap over ssh.
>> But that is not the problem. Spamc does what
either spam, ham or forget. The exitcode for spamc will be set
to 5 if the message was learned, or 6 if it was already
learned.
Note that the spamd must run with the --allow-tell option for
this to work.
"George A. Theall via users" writes:
How are y
n type can be
>>>> either spam, ham or forget. The exitcode for spamc will be set
>>>>to 5 if the message was learned, or 6 if it was already
>>>>learned.
>>>>
>>>>Note that the spamd must run with the --allow-te
On Tue, Nov 07, 2023 at 02:28:38AM +0100, Cecil Westerhof wrote:
https://spamassassin.apache.org/full/3.1.x/doc/spamc.html says:
-L learn type
Send message to spamd for learning. The learn type can be
either spam, ham or forget. The exitcode for spamc will be set
to 5 if
gt;either spam, ham or forget. The exitcode for spamc will be set
>>to 5 if the message was learned, or 6 if it was already
>>learned.
>>
>>Note that the spamd must run with the --allow-tell option for
>>this to work.
>
On Tue, Nov 07, 2023 at 02:28:38AM +0100, Cecil Westerhof wrote:
https://spamassassin.apache.org/full/3.1.x/doc/spamc.html says:
-L learn type
Send message to spamd for learning. The learn type can be
either spam, ham or forget. The exitcode for spamc will be set
to 5 if
https://spamassassin.apache.org/full/3.1.x/doc/spamc.html says:
-L learn type
Send message to spamd for learning. The learn type can be
either spam, ham or forget. The exitcode for spamc will be set
to 5 if the message was learned, or 6 if it was already
learned
On Tue, 2021-09-28 at 15:30 +0200, mau...@gmx.ch wrote:
> Hello
>
> never found the solutions for this..
>
The error messages aren't a lot of use without also knowing:
- what arguments are you using on the spamc command line?
- where is the spamd instance you're trying to
On 9/28/2021 9:30 AM, mau...@gmx.ch wrote:
Hello
never found the solutions for this….
Sep 28 15:11:22 nmail spamd[3826]: prefork: child states: II
*Sep 28 15:11:23 nmail spamc[4525]: connect to spamd on 127.0.0.1 failed, retrying
(#1 of 3): Connection refused*
*Sep 28 15:11:23 nmail spamc
On 9/28/2021 9:30 AM, mau...@gmx.ch wrote:
Hello
never found the solutions for this….
Sep 28 15:11:22 nmail spamd[3826]: prefork: child states: II
*Sep 28 15:11:23 nmail spamc[4525]: connect to spamd on 127.0.0.1
failed, retrying (#1 of 3): Connection refused*
*Sep 28 15:11:23 nmail spamc
Hello
never found the solutions for this..
Sep 28 15:11:22 nmail spamd[3826]: prefork: child states: II
Sep 28 15:11:23 nmail spamc[4525]: connect to spamd on 127.0.0.1 failed,
retrying (#1 of 3): Connection refused
Sep 28 15:11:23 nmail spamc[4525]: connect to spamd on 127.0.0.1 failed
s. Let me spell this out and help clear
up those who may be as confused as I was:
1) sa-learn *will* "unwrap" the original encapsulated spam emails when
they are encapsulated by SA:
https://cwiki.apache.org/confluence/display/SPAMASSASSIN/LearningMarkedUpMessages
2) However, the spama
On 6 Apr 2021, at 16:19, Steve Dondley wrote:
[...]
It can only do so if report_safe is set to 0. With non-zero
report_safe settings, the original mail is encapsulated as an
attachment inside a wrapper message also including the report. That
wrapper message containing the SA report is "safe" beca
On 2021-04-06 04:19 PM, Steve Dondley wrote:
It seems to have done so. Thank you.
Some MUAs have a "Reply to List" function that uses the List-Post
header (and sometimes heuristics when that header is missing) to send
replies only to a list itself.
I've recently switched to Roundcube from gmai
Some MUAs have a "Reply to List" function that uses the List-Post
header (and sometimes heuristics when that header is missing) to send
replies only to a list itself.
Ah! I see that option now under the little down arrow next to "Reply
all". My day is made. Thanks!
It seems to have done so. Thank you.
Some MUAs have a "Reply to List" function that uses the List-Post
header (and sometimes heuristics when that header is missing) to send
replies only to a list itself.
I've recently switched to Roundcube from gmail. I didn't see that option
but I think I'
On 6 Apr 2021, at 14:55, Steve Dondley wrote:
On 2021-04-06 02:32 PM, Bill Cole wrote:
PLEASE NOTE:
I read the mailing list obsessively and DO NOT NEED (or want) the
extra copies sent when you send both to me and to the list.
Sorry, I still haven't figured out how to properly respond. When I
On 2021-04-06 02:55 PM, Steve Dondley wrote:
On 2021-04-06 02:32 PM, Bill Cole wrote:
PLEASE NOTE:
I read the mailing list obsessively and DO NOT NEED (or want) the
extra copies sent when you send both to me and to the list.
Sorry, I still haven't figured out how to properly respond. When I h
On 2021-04-06 02:32 PM, Bill Cole wrote:
PLEASE NOTE:
I read the mailing list obsessively and DO NOT NEED (or want) the
extra copies sent when you send both to me and to the list.
Sorry, I still haven't figured out how to properly respond. When I hi
"reply all" it cc's the list and sends to y
finally dawned on me that the SA
scores that appeared above the message body and below the headers when
spamc was run without the -R option were SA scores embedded in the
message by the postfix software and were not getting generated by
spamc.
But that doesn't change the fact tha
Can you provide a working example message AND the operative user prefs?
OK, I was being very stupid. It finally dawned on me that the SA scores
that appeared above the message body and below the headers when spamc
was run without the -R option were SA scores embedded in the message by
the
On 6 Apr 2021, at 12:54, Steve Dondley wrote:
When I run spamc without -R option like this:
spamc -u some_user < some_email
I get the following output:
[...]
However, when I run this command on the same email with the -R command
to get the SA scores only like this:
spamc -R
When I run spamc without -R option like this:
spamc -u some_user < some_email
I get the following output:
This is a multi-part message in MIME format.
Content analysis details: (5.2 points, 5.0 requi
On Tue, 9 Jun 2020 19:55:24 -0700
PGNet Dev wrote:
> sorry, that's unclear
>
> spamc --help | egrep "config|socket|fallback|size|username|log-to"
> -U, --socket path Connect to spamd via UNIX domain sockets.
> -F, --config path Use this configuration fil
grep "\-u|\-g"
-u username, --username=username Run as username
-g groupname, --groupname=groupname Run as groupname
>
>> but, with this 'spamc' config,
>
>>
>
>>cat /usr/local/etc/spamassassin/spamc.conf
>
>&
n. There's not much there anymore, but the config
location used to be where the rules went when they were updated by
package rather than sa-update - it's for installed files.
Also, the last time I checked, you still need to pass '-u spamd' even
if you start spamd as that
rsion 26, subversion 1 (v5.26.1) built for
x86_64-linux-thread-multi
I've built/installed
ls -al `which spamassassin` `which spamd` `which spamc`
-r-xr-xr-x 1 root root 30K Jun 9 10:05 /usr/bin/spamassassin*
-r-xr-xr-x 1 root root 60K Jun 9 10:0
RW writes:
>> 2. I cannot pass -C report and -L spam at the same time. If I do, I
>> get this message:
>>
>> spamc: Learning excludes reporting to collaborative filtering
>> databases
>>
>> and an exit code 64, which is:
>>
>> EX_USAGE
;> multiple domains?
>
> It's been about 15 years, but I'd swear that I had full email address working
> like that. Though I was pulling the entries from an SQL database.
It does work, but you have to tell spamc/spamd about the database, otherwise
-u/--username is looking
On 5/16/20 8:16 AM, micah anderson wrote:
1. I cannot pass a full email address to -u, if I pass 'user' it works,
but if I pass 'u...@example.com' it fails. How do people handle this
with multiple domains?
It's been about 15 years, but I'd swear that I had full email address
working like that
On Sat, 16 May 2020 10:16:50 -0400
micah anderson wrote:
> Hi,
>
> I noticed a few oddities with 'spamc':
>
> 1. I cannot pass a full email address to -u, if I pass 'user' it
> works, but if I pass 'u...@example.com' it fails. How do people
> h
On 16.05.20 10:16, micah anderson wrote:
I noticed a few oddities with 'spamc':
1. I cannot pass a full email address to -u, if I pass 'user' it works,
but if I pass 'u...@example.com' it fails. How do people handle this
with multiple domains?
i guess this need
Hi,
I noticed a few oddities with 'spamc':
1. I cannot pass a full email address to -u, if I pass 'user' it works,
but if I pass 'u...@example.com' it fails. How do people handle this
with multiple domains?
2. I cannot pass -C report and -L spam at the same tim
On Sat, 02 Nov 2019 13:23:09 -0400
Dean C wrote:
> noticed was that the txrep last_hit field gets
> populated with the current date/time that the email is pushed through
> spamc.
...
> The last_hit field is when it was run through. I think this will
> mess up the expiratio
I am not sure I would call that script simple but thanks for sharing it. :-)
On Sat, Nov 2, 2019, 16:27 Reindl Harald wrote:
>
>
> Am 02.11.19 um 20:39 schrieb Kevin A. McGrail:
> > Yes, I think this will cause problems. I recommend you pick only about
> > 90 days worth of your corpora and use
Yes, I think this will cause problems. I recommend you pick only about
90 days worth of your corpora and use that. I don't think either
sa-learn or txrep handling was ever considered for relearning from the
corpora so it's a feature request.
On 11/2/2019 1:23 PM, Dean C wrote:
> I'm wondering if
am in various folders, with
email going back a long time. Once everything is moved to the new
systems, I'll train SA by running each email through :
cat /var/mail//Maildir/INBOX/cur/154....:2,S | spamc -4 -d localhost
-L ham
I can't just use sa-learn as the mailstore is encrypt
Bowie Bailey writes:
>> What I find a bit strange is that I see in the environment file:
>> PIDFILE="/var/run/spamd.pid"
>>
>> I see in the service file:
>> PIDFile=/var/run/spamd.pid
>>
>> And with the spamd call the pidfile is again set. Two could be removed
>> in my opinion, but that i
On 10/22/2018 5:39 PM, Cecil Westerhof wrote:
> Bowie Bailey writes:
>
>>
>> The OPTIONS variable in the service file usually comes from reading a file in
>> /etc/sysconfig. Normally, you would edit that file to adjust the options
>> used in the
>> service file.
> That is not on my system.
That
"Bill Cole" writes:
When I run it again I see in the logging:
Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: connection
from localhost [::1]:58764 to port 783, fd 5
Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: setuid to
imaps succeeded
Oct 22 16:47:15 munus.decebal.n
"Bill Cole" writes:
>> When I run it again I see in the logging:
>> Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: connection
>> from localhost [::1]:58764 to port 783, fd 5
>> Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: setuid to
>> imaps succeeded
>> Oct 22 16:47:15
On 22 Oct 2018, at 11:08, Cecil Westerhof wrote:
"Bill Cole" writes:
On 21 Oct 2018, at 21:14, Cecil Westerhof wrote:
When executing spamc I do not get output and the exit status is 74
(EX_IOERR: IO error).
This would be the result of spamc not being able to communicate with
Bowie Bailey writes:
> On 10/22/2018 11:08 AM, Cecil Westerhof wrote:
>>
>> I should have looked into the logs. :'-(
>>
>> When I run it again I see in the logging:
>> Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: connection from
>> localhost [::1]:58764 to port 783, fd 5
>> Oct
On 10/22/2018 11:08 AM, Cecil Westerhof wrote:
>
> I should have looked into the logs. :'-(
>
> When I run it again I see in the logging:
> Oct 22 16:47:15 munus.decebal.nl spamd[17102]: spamd: connection from
> localhost [::1]:58764 to port 783, fd 5
> Oct 22 16:47:15 munus.decebal.nl spa
"Bill Cole" writes:
> On 21 Oct 2018, at 21:14, Cecil Westerhof wrote:
>
>> When executing spamc I do not get output and the exit status is 74
>> (EX_IOERR: IO error).
>
> This would be the result of spamc not being able to communicate with
> spamd.
>
&g
On 21 Oct 2018, at 21:14, Cecil Westerhof wrote:
When executing spamc I do not get output and the exit status is 74
(EX_IOERR: IO error).
This would be the result of spamc not being able to communicate with
spamd.
Is spamd running?
Is spamd listening on the socket that spamc is trying to
When executing spamc I do not get output and the exit status is 74
(EX_IOERR: IO error).
For example:
$ spamc -L spam
1844399, parsed as 1844399
Oct 22 03:08:20.505 [21322] dbg: channel: current version is 1844399, new
version is 1844399, skipping channel
Oct 22 03:08:20.505 [21322
On 04/25/2018 01:19 PM, Amir Caspi wrote:
On Apr 25, 2018, at 11:08 AM, Matus UHLAR - fantomas wrote:
actually, no. it changes to users as needed. This way multiple users can use
spamd with per-user config files.
Sorry, let me be more clear: if spamc is invoked by root, such that spamd would
On Apr 25, 2018, at 11:08 AM, Matus UHLAR - fantomas wrote:
>
> actually, no. it changes to users as needed. This way multiple users can use
> spamd with per-user config files.
Sorry, let me be more clear: if spamc is invoked by root, such that spamd would
try to setuid root, then s
; can use spamd with per-user config files.
But if spamc is run as root, which it presumably was here, then spamd
drops to nobody which doesn't have a home directory.
On Apr 25, 2018, at 8:57 AM, Paul R. Ganci wrote:
Sorry I should have mentioned that. I was aware of that issue. As you can
see spamd is running as root in this case and the spamassassin tests were
also done as root.
do you hace any per-user rules in ~root/.spamassassin/ ?
spamassassin will ho
On Apr 25, 2018, at 8:57 AM, Paul R. Ganci wrote:
>
> Sorry I should have mentioned that. I was aware of that issue. As you can see
> spamd is running as root in this case and the spamassassin tests were also
> done as root.
spamd running as root doesn't run as root; it downgrades itself to "n
On 04/25/2018 04:24 AM, Matus UHLAR - fantomas wrote:
spamc connects to spamd, which may run under different user than
spamassassin. That way, different users' settings are used.
check how does your spamd run (which user, if any)
Sorry I should have mentioned that. I was aware of that
ion
--
--
5.2 TXREP TXREP: Score normalizing based on
sender's reputation
spamc -R
Content analysis details: (4.3 points, 5.0 required)
pts rule name des
REP TXREP: Score normalizing based on sender's
reputation
> spamc -R
Content analysis details: (4.3 points, 5.0 required)
pts rule name description
--
--
1.9 URIBL_ABUSE_SURBL Contains an URL li
t;
http://p.pm>
Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/RabinK
arpBody.pm
At first I tried removing all in MANIFEST.SKIP, but that seemed to
be too much for it. :)
Also there are a couple of warnings when building:
make -f spamc/Makefile spamc/spamc
make[1]
t; >Requires: perl(RabinKarpAccel)
>> > Error: Package: spamassassin-3.4.2-0.el7.centos.x86_64
>> (/spamassassin-3.4.2-0.el7.centos.x86_64)
>> >Requires: perl(Devel::Size)
>> >
>> > To get around those I had
://p.pm>
>
Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/RabinKarpBody.pm
>
> At first I tried removing all in MANIFEST.SKIP, but that
seemed to be too much for it. :)
>
> Also there are a couple of warnings when building:
>
hese (as I undersand they're
> experimental anyway):
> >
> > Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/NetCache.pm <
> http://e.pm>
> > Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Util/MemoryDump.pm <
> http://p.pm>
> > Mail-Spa
sand they're
> experimental anyway):
>
> Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/NetCache.pm
> <http://e.pm>
> Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Util/MemoryDump.pm
> <http://p.pm>
> Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassi
removing all in MANIFEST.SKIP, but that seemed to
be too much for it. :)
Also there are a couple of warnings when building:
make -f spamc/Makefile spamc/spamc
make[1]: Entering directory
`/home/reio/rpmbuild/BUILD/Mail-SpamAssassin-3.4.2'
make[1]: warning: jobs
x86_64)
>Requires: perl(Devel::Size)
>
> To get around those I had to remove these (as I undersand they're
> experimental anyway):
>
> Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/NetCache.pm
> Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Util/MemoryDump
gs when building:
make -f spamc/Makefile spamc/spamc
make[1]: Entering directory `/home/reio/rpmbuild/BUILD/Mail-SpamAssassin-3.4.2'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
gcc -DSPAMC_SSL -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
On 20.04.18 9:50, Giovanni Bechis wrote:
On 04/19/18 09:24, Reio Remma wrote:
[...]
*Update:* none of the --option= switches work.
handle_user (userdir) unable to find user: '' is caused because I have the
-username switch as --username=amavis instead of --username amavis
It worked in 3.4.1.
On 04/19/18 09:24, Reio Remma wrote:
[...]
> *Update:* none of the --option= switches work.
>
> handle_user (userdir) unable to find user: '' is caused because I have the
> -username switch as --username=amavis instead of --username amavis
>
> It worked in 3.4.1.
>
> Is it at all possible that
tually working nicely on our production system (after I removed
> the = from spamc options).
>
> This is all on CentOS 7.
>
Some tests fails on 3.4 because rulesrc directory has moved only to trunk,
restoring rulesrc dir fixes the broken test.
$ make test TEST_FILES=t/basic_lint_without_s
I ran make test now - not exactly a pass.
There were lots of complaints about: "Maybe you need to kill a running
spamd process?" There was no spamd running.
The RPM is actually working nicely on our production system (after I
removed the = from spamc options).
This is all o
rote:
> On 19.04.18 9:45, Reio Remma wrote:
>
> Hello!
>
> I'm trying to use this to report spam:
>
> spamc --reporttype=report --username=amavis < mail
>
> However all I get is:
>
> spamc[9632]: Please specify a legal report type
>
> It works if I o
On 19.04.18 9:45, Reio Remma wrote:
Hello!
I'm trying to use this to report spam:
spamc --reporttype=report --username=amavis < mail
However all I get is:
spamc[9632]: Please specify a legal report type
It works if I omit the = after --reporttype. This is with SA 3.4.2
from SVN,
Hello!
I'm trying to use this to report spam:
spamc --reporttype=report --username=amavis < mail
However all I get is:
spamc[9632]: Please specify a legal report type
It works if I omit the = after --reporttype. This is with SA 3.4.2 from
SVN, iirc it worked the other day with --re
On Fri, 10 Mar 2017, Rejaine Monteiro wrote:
I'm using spamassassin-3.4.0 in a spam gateway with qmail+simscan and using
always same account (qscand) to scan all msgs.
I performed a simple scan in a spam msg, like this:
# spamc -u qscand -R < /tmp/spammsg.eml
and... score are:
I'm using spamassassin-3.4.0 in a spam gateway with qmail+simscan and
using always same account (qscand) to scan all msgs.
I performed a simple scan in a spam msg, like this:
# spamc -u qscand -R < /tmp/spammsg.eml
and... score are: Content analysis details: (2.8 points, 5.0
On Dec 28, 2016, at 3:01 AM, Lukas Erlacher wrote:
> I'm calling "spamc --learntype=spam/ham" from a script, passing in emails
> fetched from imap (I'm using ISBG with --learnspambox / --learnhambox and
> --spamc actually).
Why are you calling spamc instead
ike to convince myself of that... I ran `sudo -u debian-spamd
> spamc -c < spamspam.eml` on a mail that has spamlevel 14.4 and is
> encapsulated in a spam report. It gave 2.7/7.0... which I suppose is
> ok because it's an assessment of the spamminess of the whole mail.
> But that does
On 12/28/2016 03:12 PM, RW wrote:
It's done in spamd. Don't attempt to remove X-Spam-* headers yourself
or it wont attempt to remove the mime encapsulation.
I'd like to convince myself of that... I ran `sudo -u debian-spamd spamc
-c < spamspam.eml` on a mail that has spa
assin headers,
> > and if the original email has been encapsulated into an attachment
> > it will decapsulate the email. In other words sa-learn will undo
> > any changes which Spamassassin has done before learning the
> > spam/ham character of the email.
>
> I haven
On Wed, 2016-12-28 at 11:01 +0100, Lukas Erlacher wrote:
> I haven't found any documentation that specifies this for
> spamc/spamd.
>
I don't think that passing an email to SA via spamc makes any attempt
to strip pre-existing SA headers, but there's an easy way to check
ulate the email.
In other words sa-learn will undo any changes which Spamassassin has done
before learning the spam/ham character of the email.
I haven't found any documentation that specifies this for spamc/spamd.
I'm calling "spamc --learntype=spam/ham" from a script, passin
glibc have default ipv6 before ipv4, so your error is just that spamd binds
to 127.0.0.1 and spamc use localhost with is ipv6 first, got it ?
to solve it is naerly a faq
On October 18, 2016 5:04:12 AM Chris wrote:
It goes on in my syslog to say
Oct 17 12:45:18 localhost spamc[5898
It goes on in my syslog to say
Oct 17 12:45:18 localhost spamc[5898]: connect to spamd on ::1 failed,
retrying (#1 of 3): Connection refused
Oct 17 12:45:18 localhost spamd[3255]: spamd: connection from localhost
[127.0.0.1]:36312 to port 783, fd 5
This just started this afternoon at 12:45. It
1 - 100 of 820 matches
Mail list logo