Re: Allow User Rules problem

2016-02-18 Thread Matus UHLAR - fantomas
On 17.02.16 11:08, Amanda Giarla wrote: Please note that I am working on Training Server not a working server. My mission is to learn how all of the packages work together. There are many - spamassassin, exim, dovecot, clamav, roundcube to name a few It was suggested that I set up a spamassassin

Re: Allow User Rules problem

2016-02-17 Thread Amanda Giarla
Bowie that was an excellent and definitive explanation of unix user and virtual user. My google searches did not come close to presenting that information. I can set up a few more more domains and associated "virtual" users along with multiples of users associated with any one domain. Also I

Re: Allow User Rules problem

2016-02-17 Thread Bowie Bailey
On 2/17/2016 2:08 PM, Amanda Giarla wrote: Please note that I am working on Training Server not a working server. My mission is to learn how all of the packages work together. There are many - spamassassin, exim, dovecot, clamav, roundcube to name a few It was suggested that I set up a

Re: Allow User Rules problem

2016-02-17 Thread Amanda Giarla
Please note that I am working on Training Server not a working server. My mission is to learn how all of the packages work together. There are many - spamassassin, exim, dovecot, clamav, roundcube to name a few It was suggested that I set up a spamassassin user_prefs file. AND so I have been

Re: Allow User Rules problem

2016-02-17 Thread RW
On Tue, 16 Feb 2016 15:47:33 -0800 Amanda Giarla wrote: > > On Tue, Feb 16, 2016 at 3:39 PM, RW > wrote: > > > On Tue, 16 Feb 2016 14:17:02 -0800 > > Amanda Giarla wrote: > > > > > > > I looked at the permission of the user_prefs file and for > > > ownership and

Re: Allow User Rules problem

2016-02-17 Thread Matus UHLAR - fantomas
On 16.02.16 15:36, Amanda Giarla wrote: THEN I took the rule:*"blacklist_from *@gmail.com "* out and placed in the rule: *"allow_user_rules 1"* I feel you have missed this: "blacklist_from" is not a rule, it's configuration directive. You do NOT need "allow_user_rules 1" to

Re: Allow User Rules problem

2016-02-17 Thread Bowie Bailey
You should put all of your changes in /etc/spamassassin/local.cf. All of the files under /var/lib/spamassassin are subject to being replaced when you update the rules. You probably have either a freshclam process running that does periodic updates, or there may be a cron job that calls it on

Re: Allow User Rules problem

2016-02-16 Thread John Hardin
On Tue, 16 Feb 2016, Amanda Giarla wrote: Nope - Sorry forgot to mention /etc/spamassassin/local.cf OK, good. Just for completeness, please try your basic blacklist test on *that* config file. In the debugging out put the following line appeared first Feb 16 20:16:25.968 [17171] dbg:

Re: Allow User Rules problem

2016-02-16 Thread Amanda Giarla
Nope - Sorry forgot to mention /etc/spamassassin/local.cf In the debugging out put the following line appeared first Feb 16 20:16:25.968 [17171] dbg: config: read file /etc/spamassassin/ local.cf followed by Feb 16 20:16:26.745 [17171] dbg: config: fixed relative path:

Re: Allow User Rules problem

2016-02-16 Thread John Hardin
On Tue, 16 Feb 2016, Amanda Giarla wrote: I would like to confirm your suggestion regarding the cmd $ spamassassin -D --lint 2>&1 | grep local.cf It did work ( after I realized there was a space in the line) and presented an interesting set of lines that lead me to the site wide config file

Re: Allow User Rules problem

2016-02-16 Thread Reindl Harald
Am 17.02.2016 um 00:47 schrieb Amanda Giarla: I don't think I was trying to make a global user_prefs file BUT in my confusion I may accidentally have implied such. The user_prefs file is located at /home/clientAccount/.spamassassin/user_prefs. Is that considered global? no, but then there

Re: Allow User Rules problem

2016-02-16 Thread Amanda Giarla
I don't think I was trying to make a global user_prefs file BUT in my confusion I may accidentally have implied such. The user_prefs file is located at /home/clientAccount/.spamassassin/user_prefs. Is that considered global? On Tue, Feb 16, 2016 at 3:39 PM, RW

Re: Allow User Rules problem

2016-02-16 Thread RW
On Tue, 16 Feb 2016 14:17:02 -0800 Amanda Giarla wrote: > I looked at the permission of the user_prefs file and for ownership > and group-ownership it is root root. should it be debian-spamd > debian-spamd? I did change one of the conf files from nobody to > debian-spamd for ownership. Having

Re: Allow User Rules problem

2016-02-16 Thread Amanda Giarla
I would like to confirm your suggestion regarding the cmd $ spamassassin -D --lint 2>&1 | grep local.cf It did work ( after I realized there was a space in the line) and presented an interesting set of lines that lead me to the site wide config file that was actually read. I went to directory

Re: Allow User Rules problem

2016-02-16 Thread Reindl Harald
Am 16.02.2016 um 23:22 schrieb Amanda Giarla: Why should anybody know? Well - I'm just learning that the configuration that I am running is very different than yours. How would I know that you have no knowledge of spamassassin as installed under VestaCP? the main problem is that you did not

Re: Allow User Rules problem

2016-02-16 Thread Amanda Giarla
Thanks On Tue, Feb 16, 2016 at 2:21 PM, Reindl Harald wrote: > > > Am 16.02.2016 um 23:17 schrieb Amanda Giarla: > >> Hey Bowie >> >> spamassassin is working - I've sent the GTUBE email through the system >> from my gmail account and it was marked and delivered into

Re: Allow User Rules problem

2016-02-16 Thread Amanda Giarla
Why should anybody know? Well - I'm just learning that the configuration that I am running is very different than yours. How would I know that you have no knowledge of spamassassin as installed under VestaCP? On Tue, Feb 16, 2016 at 2:06 PM, Reindl Harald wrote: > keep

Re: Allow User Rules problem

2016-02-16 Thread Reindl Harald
Am 16.02.2016 um 23:17 schrieb Amanda Giarla: Hey Bowie spamassassin is working - I've sent the GTUBE email through the system from my gmail account and it was marked and delivered into junk box. Was not sure which of the site wide local.cf files I should put the

Re: Allow User Rules problem

2016-02-16 Thread Amanda Giarla
Hey Bowie spamassassin is working - I've sent the GTUBE email through the system from my gmail account and it was marked and delivered into junk box. Was not sure which of the site wide local.cf files I should put the all_user_rules flag in so I put it in both. I did run your suggested cmd $

Re: Allow User Rules problem

2016-02-16 Thread Reindl Harald
keep on list! since VestaCP is something wrapping all sort of tools just ask there - you don't have a normal SA setup and don't know anything about your real configuration setup - how should anybody else know? Am 16.02.2016 um 23:02 schrieb Amanda Giarla: Hey Reindl This is my first time

Re: Allow User Rules problem

2016-02-16 Thread Bowie Bailey
On 2/16/2016 2:44 PM, Amanda Giarla wrote: First this is on a training server running Ubuntu 14, VestaCP, Exim4 etc. In doc https://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html Under RULE DEFINITIONS AND PRIVILEGED SETTINGS It it my understanding that to use the a

Re: Allow User Rules problem

2016-02-16 Thread Reindl Harald
Am 16.02.2016 um 20:44 schrieb Amanda Giarla: THEN placed in the user_prefs file the following rule *blacklist_from *@gmail.com * and restarted spamassassin Thinking this will mark mail from my gmail account as SPAM. When I look in the logs I do not see the test emails

Allow User Rules problem

2016-02-16 Thread Amanda Giarla
First this is on a training server running Ubuntu 14, VestaCP, Exim4 etc. In doc https://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html Under RULE DEFINITIONS AND PRIVILEGED SETTINGS It it my understanding that to use the a user_prefs file I have to place in some config file