Re: Problem with massive log files

2017-04-05 Thread Jim McLachlan
d examine the contents of any temporary files that is it using. Kind regards, Tom On 04-04-17 23:09, Jim McLachlan wrote: Hi, I have a problem with the huge amount of messages being logged by spamassassin. I have around 10 active e-mail users on the system, none of whom have any u

Re: Problem with massive log files

2017-04-05 Thread Jim McLachlan
log. Thus for each single delivery the logging for all messages in the past half year (Oct 15 -> Apr x) is sent to syslog. Please post the full contents of the spamfilter.sh, and examine the contents of any temporary files that is it using. Kind regards, Tom On 04-04-17 23:09, Jim McLac

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
Hi KAM, Thanks. I tried them both with the same results, several e-mail details, then the summary: 61 Kbytes in 8 Requests. They all look like valid e-mails. Kind regards. Jim. On 05/04/17 01:46, Kevin A. McGrail wrote: On 4/4/2017 8:39 PM, Jim McLachlan wrote

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
Hi John, That sounds like a good move. I don't have a lot of experience using tcpdump. Could you help prevent me from fumbling around like a wit with it and let me know what I need to do with it to identify the source of the spamd traffic? Thanks. Kind regards.

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
lease accept my apologies for breaking off this conversation at this stage. Kind regards. Jim. On 05/04/17 01:29, Kevin A. McGrail wrote: On 4/4/2017 6:42 PM, Jim McLachlan wrote: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-do

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
Hi ap-ml, This sounds interesting. Could you let me know where I should look for the temporary files you mentioned? I'm on the edges of my knowledge of e-mail and networking here :-) Kind regards. Jim. On 05/04/17 01:11, ap-ml wrote: Its almost as though there is

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
syslog adm 2766939968 Apr 3 06:45 /var/log/syslog.2.gz -rw-r- 1 syslog adm 7074131258 Apr 2 09:20 /var/log/syslog.3.gz Kind regards. Jim. On 05/04/17 01:04, John Hardin wrote: On Wed, 5 Apr 2017, Jim McLachlan wrote: The text "info: spamd: processing message&q

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
uniq -c 7 postfix/cleanup 3 postfix/pickup 6 postfix/pipe 16 postfix/qmgr 3 postfix/smtp 293 postfix/smtpd Port 783 isn't open to the outside world. Kind regards. Jim. On 05/04/17 00:48, Kevin A. McGrail wrote: On 4/4/2017 7:35

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
ick check. The messages cover the 6 minute period: Apr 4 23:24:26 to 23:30:40 The text "info: spamd: processing message" appears in that 162,761 times. Kind regards. Jim. On 05/04/17 00:24, Kevin A. McGrail wrote: On 4/4/2017 7:06 PM, Jim McLachlan w

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
mail.* logs are rotated weekly. I'll change that so they're rotated daily. That will certainly help, but I'm sure it would be good for the disk and CPU if I can reduce the amount of data being logged. Kind regards. Jim. On 04/04/17 23:55, Kevin A. McGrail wrote: On 4

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
. Jim. On 04/04/17 23:19, Kevin A. McGrail wrote: On 4/4/2017 6:08 PM, Jim McLachlan wrote: I thought spamfilter was spamassassin. No, it's not. It's what we would call the glue. It's a content filter script that is reaching out to a spamassassin daemon called spamd

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
Hi Dave, I used the following instructions to set up the system, but they weren't followed verbatim because I already had some things in place. https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin More recently,

Re: Problem with massive log files

2017-04-04 Thread Jim McLachlan
Hi Dave, Thanks for the quick response. The OS is Ubuntu 16.04. I thought spamfilter was spamassassin. Looking through my config files, the postfix master.cf file contains the line: flags=Rq user=spamd argv=/usr/bin/spamfilter.sh -oi -f ${sender} ${recipient}

Problem with massive log files

2017-04-04 Thread Jim McLachlan
Hi, I have a problem with the huge amount of messages being logged by spamassassin. I have around 10 active e-mail users on the system, none of whom have any unusual e-mail usage. This is what I've seen in the last 2 hours: $ date Mon 3 Apr 08:00:50 UTC 2017 $ ls -l /var/log/mail.log -r