exim.conf deleted after upgrade to latest CURRENT

Stream

Well-Known Member
Feb 7, 2004
64
0
156
I've upgraded two of my servers to the latest CURRENT build today (9.9.9-CURRENT_156).

On both servers /etc/exim.conf got deleted so I had to copy /etc/exim.conf.buildtest to /etc/exim.conf to get exim running fine again.

Anyone else experienced this?
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
Haven't had that problem here, then again, exim didn't upgrade though its in the changelog.

What does rpm -q exim print ? Assuming your on a rpm based OS.
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
Stream said:
I've upgraded two of my servers to the latest CURRENT build today (9.9.9-CURRENT_156).

On both servers /etc/exim.conf got deleted so I had to copy /etc/exim.conf.buildtest to /etc/exim.conf to get exim running fine again.

Anyone else experienced this?
this happened to me on one box ..here is what I tried to fix it:

/scripts/exim4

but it would fail at the download part. So then I copied the link from the error and tried to "wget link here" and got permission denied and then remembered that I chmoded -x /usr/bin/wget ..so then I changed it back to 700 and ran /scripts/exim4 again and it worked great.
 

Stream

Well-Known Member
Feb 7, 2004
64
0
156
I had chmodded wget too I remember now.

Anyway, on one server everything seems to run fine now, while SpamAssasin refuses to start up on the other one (sending me tons of SMS'es from service monitor).

Tried to force a reinstall of spamassasin but it's only giving me errors :(
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
If you're having problems with spamassassin, try:

rpm -e spamassassin
rm -Rf /usr/share/spamassassin/*
/scripts/perlinstaller --force Mail::SpamAssassin


Problems with exim (and to upgrade to the security fixed v4.44) do:

chmod 700 /usr/bin/wget
/scripts/exim4 --latest
 

Stream

Well-Known Member
Feb 7, 2004
64
0
156
Thanks, but when I run:

/scripts/perlinstaller --force Mail::SpamAssassin

I get:

Testing connection speed...(this could take a while)....Done
Ran out of working CPAN mirrors. Please contact cPanel Support at /scripts/cPanelPerl.pm line 209.
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
That's OK, it was just incase you had an OS install of it. Did you try the other two lines (the delete and force install?)
 

dezignguy

Well-Known Member
Sep 26, 2004
533
0
166
sheesh, what tutorial is recommending that people chmod their wget binary to 600 or lower?
 

Stream

Well-Known Member
Feb 7, 2004
64
0
156
This just keeps getting worse. Apparently since SPAMD didn't work last night all emails have bounced.

Now they get into the mailqueue, but they are not delivered.
This is the error message when I try delivering them manually in WHM:

Code:
LOG: MAIN
  <[email protected]>: virtual_sa_userdelivery transport output: An error was detected while processing a file of BSMTP input.
LOG: MAIN PANIC
  == [email protected] R=virtual_sa_user T=virtual_sa_userdelivery defer (-24): Transport filter process failed (127): unable to execute command
Anyone knows how to fix this?
 

Blackcat

Member
Sep 13, 2004
15
0
151
Same here. Updated to Version 9.9.9 S15 , exim.conf file is gone. :eek:
 
Last edited:

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
have you guys tried this script?
/scripts/fixspamassassinfailedupdate

Also if anyone if wondering why I chmodded my wget to 000 is becuase this box got the santy worm and it was a temp thing and I forget to 700 it.
 

Stream

Well-Known Member
Feb 7, 2004
64
0
156
Running that command gives me this:

Code:
open2: exec of /usr/bin/spamc failed at /scripts/RestartSrv.pm line 347
        ...propagated at /scripts/RestartSrv.pm line 397.
Spamassassin Update Failed, reinstalling!
Testing connection speed...(this could take a while)....Done
Ran out of working CPAN mirrors.  Please contact cPanel Support at /scripts/cPanelPerl.pm line 209.
Seems my box can't find any CPAN mirrors. How can that be fixed?

Tried googling it but seems i'm the only one with that problem.
 

Blackcat

Member
Sep 13, 2004
15
0
151
rpmws said:
have you guys tried this script?
/scripts/fixspamassassinfailedupdate

Also if anyone if wondering why I chmodded my wget to 000 is becuase this box got the santy worm and it was a temp thing and I forget to 700 it.
I got more then 1 Server so I just made a copy of the exim.conf from another one. :cool:
 

Ancile

Member
Jun 26, 2003
9
0
151
I found doing the following fixed the Spam Assassin and Exim4 issue....

1) perl -MCPAN -e '$ENV{FTP_PASSIVE} = 1; install CPAN'
2) /scripts/exim4
3) export LANG=en_US
4) perl -MCPAN -e shell
5) force install Mail::SpamAssassin

Note that this was with the latest 'Current' build of cPanel.

ANUK.
 

plake

Active Member
Apr 22, 2003
43
0
156
ancile:

did your fix on release build and it works as well... that was one screwy issue...
 

phpman

Well-Known Member
Sep 3, 2003
50
0
156
Rio de Janeiro - Brazil
That error is because spamd is not installed.

The installation is hanging due to a CPAN error.

Follow the steps

1 - perl -MCPAN -e 'install HTML::Tagset;'
2 - /scripts/installspam
3 - /scripts/restartsrv_spamd
4 - /etc/init.d/exim restart
5 - /etc/init.d/cpanel restart

Done

Regard´s

Flávio