Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-18 Thread Marco Carcano
Hi Gary, I solved the trouble: we were on the wrong way. As last resort I tried to strace amavisd process. Well, it seems there were problem related to permission with /etc/ldap.conf and /etc/openlda/ldap.conf. Changed them to less restrictive permissions and amavis started to work properly.

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-15 Thread Gary V
Marco wrote: > Hi Gary, > here we are :O) >> Provide results from these: > ls -l /etc/amavisd/amavisd.conf > 28 /etc/amavisd/amavisd.conf > ls -l /etc/amavisd.conf > 0 /etc/amavisd.conf > it's a symlink > grep amavisd.conf /etc/init.d/amavisd > prog_config_file="/etc/amavisd/amavisd.conf" > I g

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-15 Thread Marco Carcano
Hi Gary, here we are :O) > Provide results from these: ls -l /etc/amavisd/amavisd.conf 28 /etc/amavisd/amavisd.conf ls -l /etc/amavisd.conf 0 /etc/amavisd.conf it's a symlink grep amavisd.conf /etc/init.d/amavisd prog_config_file="/etc/amavisd/amavisd.conf" I guess they are right. Here is the l

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-14 Thread Gary V
Provide results from these: ls -l /etc/amavisd/amavisd.conf ls -l /etc/amavisd.conf grep amavisd.conf /etc/init.d/amavisd How do you start amavisd? Gary V - Using Tomcat but need to do more? Need to support web services,

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-14 Thread Gary V
Marco wrote: > It produces lots of output :O), but I don't know how to log it: I tried amavisd debug-sa >> mylog.log and > and amavisd debug-sa | echo > mylog.log: both produces an empty files and > all log go to console :( > I tried to guess where is the error reading this output, but I've not

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-14 Thread Marco Carcano
> Gary wrote: > The next two lines I get when I do this are related to BerkeleyDB. > Try setting: > > $enable_db = 0; Nothing changed :( > > Are you running amavisd-new chrooted? No >If so, comment out Is already commented > what 'amavisd debug-sa' produces. It produces lots of output :O), but I d

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-13 Thread Gary V
Gary wrote: > The next two lines I get when I do this are related to BerkeleyDB. > Try setting: > $enable_db = 0; > Are you running amavisd-new chrooted? If so, comment out > $daemon_chroot_dir and try again. Other than that, I didn't see > anything in particular that gave any more clues. You sa

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-13 Thread Gary V
Marco wrote: > Jul 13 16:36:15 virgilio amavis[18179]: Creating db in > /var/spool/amavisd/db/; BerkeleyDB 0.26, libdb 4.3 > Jul 13 16:36:16 virgilio amavis[18179]: SpamControl: initializing > Mail::SpamAssassin > Jul 13 16:36:17 virgilio amavis[18179]: SpamControl: init_pre_fork done The next t

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-13 Thread Marco Carcano
> >> Have you any other suggestions? >> Thanks >> Marco >> > > What are the last few lines of output before it dies? Is SELinux > enabled? If it is, you may wish to try disabling it. > No other ideas at the moment. > > Gary V > /etc/init.d/amavisd start produces the following output (with loglevel

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-12 Thread Gary V
Marco wrote: >> But for your suggestions: you have put me on the right way: the 2 servers >> (one cluster) have to replace our existing server. >> I tried to unplug :O) the cable that connected the cluster to our switch. >> Amavis started to work properly. >> It seems that amavis have been tricked

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-12 Thread Marco Carcano
> But for your suggestions: you have put me on the right way: the 2 servers > (one cluster) have to replace our existing server. > I tried to unplug :O) the cable that connected the cluster to our switch. > Amavis started to work properly. > It seems that amavis have been tricked by our "official"

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-10 Thread Gary V
Marco wrote: > Gary V >> Was there absolutely no output? If there was it may help to see it. >> There have been cases of a corrupt perl module Net::DNS exhibiting >> somewhat similar behavior. > it is up to date >> See if your copy is up to date. Also make sure your resolver works: > it works pro

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-10 Thread Marco Carcano
Gary V > Was there absolutely no output? If there was it may help to see it. > There have been cases of a corrupt perl module Net::DNS exhibiting > somewhat similar behavior. it is up to date > See if your copy is up to date. Also make sure your resolver works: it works properly: Russ Ochsner > .

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-07 Thread Gary V
Marco wrote: > Hi Gary, thanks to your reply > I tried both amavisd stop and amavisd -u amavis debug or amavisd debug. > I think it may be something related to DNS settings (due to cluster > redundancy), but I can't figure how to discover the trouble Was there absolutely no output? If there was

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-07 Thread Marco Carcano
t;[EMAIL PROTECTED]> To: Sent: Thursday, July 06, 2006 7:55 PM Subject: Re: [AMaViS-user] Really strange trouble with amavisd-new > Marco wrote: > >> I enabled debug level 5, >> but got nothing: the strange thing is that that also if I try to telnet >> to >> 127.0.0

Re: [AMaViS-user] Really strange trouble with amavisd-new

2006-07-06 Thread Gary V
Marco wrote: > I enabled debug level 5, > but got nothing: the strange thing is that that also if I try to telnet to > 127.0.0.1:10024 I get a connection, but with no prompt and amavisd seems to > hang. It seems to start and kill 2 process rapidly and continue to infinite. > If I give ps -aux I

[AMaViS-user] Really strange trouble with amavisd-new

2006-07-06 Thread Marco Carcano
Hi, This trouble is driving me crazy: I'm working on a system (fedora Core 4) where I installed everything is possible for an ISP: (postfix, courier-imap, sqwebmail, apache, pureFtpd, .. and so on) I tested for 2 weeks and everything went fine (also with postfix & amavisd.new). Now I'm doing a