Displaying 20 results from an estimated 5000 matches similar to: "amavis-new and mysql"
2017 Apr 28
0
NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
Gordon,
Thank you for your help on this. Still not working...
On 04/26/2017 06:27 PM, Gordon Messmer wrote:
> On 04/26/2017 12:29 AM, Robert Moskowitz wrote:
>> But the policy generates errors. I will have to submit a bug report,
>> it seems
>
>
> A bug report would probably be helpful.
>
> I'm looking back at the message you wrote describing errors in
>
2014 Nov 19
2
New mailserver problems
Well, in part we will see if you get this and I get the return.
I JUST launched my new mail server after a few miscues. Actually the OS
is Redsleeve6, which is the arm port of Centos 6, and perhaps some of my
problems may come down to porting problems. But first, it may be that
despite my testing, I missed something in the configurations.
First clamd problems:
Nov 19 08:09:54 z9m9z
2014 Nov 20
1
CentOS Digest, Vol 118, Issue 20 - Email found in subject
Received
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of centos-request at centos.org
Sent: Thursday, November 20, 2014 6:00 AM
To: centos at centos.org
Subject: CentOS Digest, Vol 118, Issue 20 - Email found in subject
Send CentOS mailing list submissions to
centos at centos.org
To subscribe or unsubscribe via the World Wide
2008 Oct 13
1
/var/amavis
Hello all,
My /etc/group is not quite in order (a long story), and now I need to
correct privileges right here and there.
I would ask someone who has amavisd-new to show me the corresponding
listing as this:
[root at mail amavis]# ls -l /var/amavis
total 20
-rw-r----- 1 amavis 500 0 Oct 13 15:05 amavisd.lock
-rw-r--r-- 1 amavis mail 5 Oct 13 11:06 amavisd-milter.pid
srwxr-xr-x 1 amavis
2013 Jan 30
1
More on amavis/clam permission errors on Centos 6.3
I should probably find either the amavis or clam list(s) and take this
there?
Anyway, I have totally rebuilt my machine with clean installs. I have
spent time carefully (I hope!) studying the amavis and clamav conf files
before starting them and running the tests. Here is what I am getting:
Jan 30 14:14:10 test1 postfix/pickup[6682]: DA8082A099B: uid=0 from=<root>
Jan 30 14:14:10
2012 Oct 02
1
SELinux, Amavis, Clamav
Regarding the brilliant wiki site:
http://wiki.centos.org/HowTos/Amavisd?highlight=%28Amavis%29
I faced the following issue on CentOS 6.2:
"Spamassind" saves each message and its attached part in a folder in
clamd accesses the folder, creates itself a temporary folder and deletes
it afterwards. This was stopped by SELinux and caused the virus scan to
fail.
This action causes SE-Linux
2017 Jan 04
0
Amavis on Centosl help
I'm forwarding the answer from my colleague:
release notes:
- provide two new subroutines available for calling from config files:
include_config_files() and include_optional_config_files(), each take
a list of filenames as arguments, and reads & evaluates them just like
normal configuration files specified on a command line (option -c
or a default amavisd.conf). This provides a
2005 Jul 29
2
Amavis on centos
I already have installed, postfix, squirrelmail, dovecot, spamassassin and
clamav.
The only thinks that I missed up is some interface between clamav ,
spamassassing and postfix, I am trying with amavis-new but I gat this error
when I try to install amavis from the tar file.
ERROR: MISSING REQUIRED BASIC MODULES:
IO::Wrap
IO::Stringy
Unix::Syslog
Mail::Field
Mail::Address
2009 Apr 13
3
Clamd and Amavis
I'm trying to get amavis to play using clamd and tried to follow this:
# ### http://www.clamav.net/
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
# # NOTE: run clamd under the same user as amavisd, or run it under its own
# # uid such as clamav, add
2008 Sep 11
0
Bug#498659: logcheck-database: amavis filter a little too verbose?
Package: logcheck-database
Version: 1.2.68
Severity: normal
Hi,
I use postfix, amavisd-new and logcheck on a lenny server, and the mails I
receive seem a little to verbose. For example, I get in the report all mails
which are received, for example:
Sep 11 08:35:11 heracles amavis[19788]: (19788-02) Passed CLEAN, [xxx.xxx.xxx.xxx] [xxx.xxx.xxx.xxx] <user at domain> -> <user at
2008 Jul 08
3
antispam plugin, amavis and sa-learn
Hello,
I would like to use the Dovecot antispam plugin to train SpamAssassin via
sa-learn. I compiled the plugin and got it to work with the sendmail
backend, which I tested by having it send a message to me.
As I'm calling SpamAssassin with amavisd-new, I have a system-wide Bayes
db, maintained by the amavis user. As expected, the antispam plugin calls
the configured binary as the mail user
2005 Jun 02
0
amavis+nai+clamav
is it possible to parse an e-mail to 2 AV? when the server recieve an
e-mail with attachment it will run on both AV? in amavis' logs i can
only see one AV which is nai. And i also noticed that clamd
configuration in amavisd.conf is on the av_scanners_backup part.
2017 Apr 07
2
SELinux policy to allow Dovecot to connect to Mysql
As I have noted in previous messages, I been getting the following on my
new mailserver:
Apr 7 10:17:27 z9m9z dovecot: dict: Error: mysql(localhost): Connect
failed to database (postfix): Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (13) - waiting for 25 seconds
before retry
They go away when I setenforce 0. It is not a timing issue as I
2017 Apr 25
0
NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
On 04/25/2017 11:12 AM, Laurent Wandrebeck wrote:
> Le mardi 25 avril 2017 ? 11:07 +0200, Robert Moskowitz a ?crit :
>> On 04/25/2017 10:58 AM, Laurent Wandrebeck wrote:
>>> Le mardi 25 avril 2017 ? 10:39 +0200, Robert Moskowitz a ?crit :
>>>> Thanks Laurent. You obviously know a LOT more about SELinux than I. I
>>>> pretty much just use commands and not
2017 Jan 04
2
Amavis on Centosl help
I'm moving from Ubuntu to CentOS 7
Previously, on Ubuntu, installing amavisd would lead to
etc/amavis/conf.d that contained:
01-debian
05-domain_id
05-node_id
15-av_scanners
15-content_filter_mode
20-debian_defaults
21-ubuntu_defaults
25-amavis_helpers
30-template_localization
40-policy_banks
50-user
However installing amavisd on centos leads to a spaghetti config file
(i.e.
2017 Apr 07
3
SELinux policy to allow Dovecot to connect to Mysql
I have been getting the following on my new mailserver:
Apr 7 10:17:27 z9m9z dovecot: dict: Error: mysql(localhost): Connect
failed to database (postfix): Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (13) - waiting for 25 seconds
before retry
They go away when I setenforce 0.
So I googled dovecot mysql selinux and the only worthwhile hit was:
2017 Apr 06
2
sieve does not seem to be working
my local.conf has:
# 90-sieve.conf
plugin {
sieve_before = /home/sieve/globalfilter.sieve
}
and cat /home/sieve/globalfilter.sieve
require ["fileinto","mailbox"];
if anyof
(
header :contains "X-Spam-Flag" "YES",
header :contains "subject" "***SPAM***"
)
{
fileinto :create "Spam";
}
There IS a
2017 Apr 07
1
Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
I reread my sql.conf.ext files and realized they were actually
connecting to localhost. So I did some googling, and found how to
connect to the socket:
connect = host=/var/lib/mysql/mysql.sock dbname=postfix user=postfix
password=Postfix_Database_Password
And all fixed. No more failures. Plus probably securer.
On 04/07/2017 10:57 AM, Robert Moskowitz wrote:
> The strange thing is that
2017 Apr 25
0
NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
I thought I had this fixed, but I do not. I was away from this problem
working on other matters, and came back (after a reboot) and it is still
there, so I suspect when I thought I had it 'fixed' I was running with
setenforce 0 from another problem (that is fixed).
So anyone know how to get dovecot dict connecting to mysql when
enforcing? Googling is not finding any real help.
On
2017 Apr 07
0
SELinux policy to allow Dovecot to connect to Mysql
The strange thing is that dovecot auth has no problem connecting to
mysql, but the quota query is what is failing.
On 04/07/2017 10:43 AM, Robert Moskowitz wrote:
> As I have noted in previous messages, I been getting the following on
> my new mailserver:
>
> Apr 7 10:17:27 z9m9z dovecot: dict: Error: mysql(localhost): Connect
> failed to database (postfix): Can't connect