* sasa [EMAIL PROTECTED]:
Ralf Hildebrandt wrote:
And is it running now?
please show your postconf -n output
..yes, the configuration is:
[EMAIL PROTECTED] ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
sasa wrote:
..yes, the configuration is:
[EMAIL PROTECTED] ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
Ralf Hildebrandt wrote:
Run amavisd-new in debug mode:
% amavisd-new debug
#amavisd debug
...
Jan 4 13:23:46 mail /usr/sbin/amavisd[3788]: SpamControl: initializing
Mail::SpamAssassin
bayes: cannot open bayes databases /var/amavis/.spamassassin/bayes_* R/O:
tie failed: Permission denied
Patrick Ben Koetter wrote:
There's a user 'amavis' that wants to read a file
/var/amavis/.spamassassin/bayes_toks that is owned by 'root' and may only
be
read by 'root'.
When you start amavisd, which user does it run as? Does it run as
'amavis'? Is
'amavis' allowed to read
sasa wrote:
..now amavisd is run with root user but also with:
[EMAIL PROTECTED] ~]# ls -l /var/amavis/.spamassassin/
totale 8300
-rwxr-x--- 1 amavis amavis 45056 4 gen 11:52 auto-whitelist
-rwxr-x--- 1 amavis amavis 5214208 2 gen 11:01 bayes_seen
-rw--- 1 amavis amavis
Micke Andersson wrote:
Which version of SpamAssassin are you on?
Might be some version compatibility problem.
You should be on 3.1.7 or newer (if there is a newer one)
Try to run amavisd as su - amavis and see if you get any further
errors.
There are not any strange loggings in your
[EMAIL PROTECTED] ~]# su - amavis /usr/sbin/amavisd
/usr/sbin/amavisd: line 105: package: command not found
/usr/sbin/amavisd: line 106: use: command not found
/usr/sbin/amavisd: line 107: use: command not found
/usr/sbin/amavisd: line 114: syntax error near unexpected token `('
Mark Martinec wrote:
Your Perl is not at the location specified on the first line
of file /usr/sbin/amavisd. A soft link makes a quick fix.
..now in /usr/sbin/amavisd, on first line I have:
#!/usr/bin/perl -T
..and my Perl is in:
[EMAIL PROTECTED] ~]#ls /usr/bin
/usr/bin/perl
..the Perl
# su - amavis /usr/sbin/amavisd
Should be:
# su - amavis -c /usr/sbin/amavisd
Mark
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
Mark Martinec wrote:
Should be:
# su - amavis -c /usr/sbin/amavisd
..with:
# su - amavis -c /usr/sbin/amavisd
#
I haven't anybody error message but in log file I have always:
(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection
refused)
..and after a few seconds:
Salvatore,
# su - amavis -c /usr/sbin/amavisd
I haven't anybody error message but in log file I have always:
(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:
Connection refused)
..and after a few seconds:
[EMAIL PROTECTED] ~]# ps -ax|grep amavisd
# su - amavis -c
- Original Message -
From: Mark Martinec [EMAIL PROTECTED]
To: amavis-user@lists.sourceforge.net
Sent: Thursday, January 04, 2007 4:21 PM
Subject: Re: [AMaViS-user] Connection refused (no pid problem)
Salvatore,
# su - amavis -c /usr/sbin/amavisd
I haven't anybody error message
..this is output:
[EMAIL PROTECTED] ~]# su - amavis -c '/usr/sbin/amavisd debug'
Jan 4 16:29:21 mail /usr/sbin/amavisd[5336]: starting. /usr/sbin/amavisd
at mail amavisd-new-2.3.1 (20050509), Unicode aware, LANG=it_IT.UTF-8
Jan 4 16:29:21 mail /usr/sbin/amavisd[5336]: user=100, EUID: 100
Salvatore,
..this is output:
[EMAIL PROTECTED] ~]# su - amavis -c '/usr/sbin/amavisd debug'
Jan 4 16:29:21 mail /usr/sbin/amavisd[5336]: starting. /usr/sbin/amavisd
at mail amavisd-new-2.3.1 (20050509), Unicode aware, LANG=it_IT.UTF-8
...
Jan 4 16:29:22 mail /usr/sbin/amavisd[5336]:
Mark Martinec wrote:
So far so good. What happens next when a message arrives?
..when arrived a message in log file I have:
Jan 4 17:05:46 mail postfix/qmgr[3380]: 947E52F0B05:
from=[EMAIL PROTECTED], size=5548, nrcpt=2 (queue active)
Jan 4 17:05:46 mail postfix/smtpd[5884]: disconnect from
* sasa [EMAIL PROTECTED]:
Mark Martinec wrote:
So far so good. What happens next when a message arrives?
..when arrived a message in log file I have:
Jan 4 17:05:46 mail postfix/qmgr[3380]: 947E52F0B05:
from=[EMAIL PROTECTED], size=5548, nrcpt=2 (queue active)
Jan 4 17:05:46 mail
Ralf Hildebrandt wrote:
You need to keep amavisd-new running in debug mode.
..but now I have amavisd-new running in debug mode, now I must started
amavisd-new in this mode:
[EMAIL PROTECTED] ~]# su - amavis -c '/usr/sbin/amavisd debug'
--
Salvatore.
sasa wrote:
I have this problem with Amavisd-new after SA upgrade from 3.0.4 to 3.1.7, a
solution can be to install SA 3.0.4 again ?
thanks.
--
Salvatore.
Might be so that you'll need to upgrade dependent Perl modules as well!
Check the INSTALL file from source tar, and try to
Micke Andersson wrote:
Might be so that you'll need to upgrade dependent Perl modules as well!
Check the INSTALL file from source tar, and try to re-install/upgrade
all dependent Perl modules as for AmavisD-new,
and check if there is any problems with running spammassassin --lint -D
as
su -
sasa wrote:
Micke Andersson wrote:
Might be so that you'll need to upgrade dependent Perl modules as well!
Check the INSTALL file from source tar, and try to re-install/upgrade
all dependent Perl modules as for AmavisD-new,
and check if there is any problems with running spammassassin --lint
Gary V wrote:
You very much need to get rid of (never ever use):
/etc/mail/spamassassin/sa-blacklist.current.cf
/etc/mail/spamassassin/sa-blacklist.current.uri.cf
..
If you get rid of those two rule sets it's possible you will be Ok.
..yes, this is problem !, I have deleted:
sasa wrote:
Gary V wrote:
You very much need to get rid of (never ever use):
/etc/mail/spamassassin/sa-blacklist.current.cf
/etc/mail/spamassassin/sa-blacklist.current.uri.cf
..
If you get rid of those two rule sets it's possible you will be Ok.
..yes, this is problem !, I have deleted:
* sasa [EMAIL PROTECTED]:
Hi, I have a problema with amavisd-new (my version is
amavisd-new-2.3.1-1.1), in log file I have:
..
(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection
refused)
I have tried:
#rm /var/amavis/amavisd.pid
..but the problem isn't
Ralf Hildebrandt wrote:
Have you restarted amavisd-new?
..yes.
--
Salvatore.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions
* sasa [EMAIL PROTECTED]:
Ralf Hildebrandt wrote:
Have you restarted amavisd-new?
..yes.
And is it running now?
please show your postconf -n output.
--
Ralf Hildebrandt (i.A. des IT-Zentrums) [EMAIL PROTECTED]
Charite - Universitätsmedizin BerlinTel. +49 (0)30-450
25 matches
Mail list logo