Auto Update script for Exim

hello,

for fedora core 2;

you should change this line in exim.sh via pico editor:

Code:
wget [url]http://files.directadmin.com/services/da_exim-[/url]${INSTALL_VER}.src.rpm;

to

Code:
wget "http://files.directadmin.com/services/da_exim-${INSTALL_VER}.src.rpm";
 
GNeRaL said:
hello,

for fedora core 2;

you should change this line in exim.sh via pico editor:

Code:
wget [url]http://files.directadmin.com/services/da_exim-[/url]${INSTALL_VER}.src.rpm;

to

Code:
wget "http://files.directadmin.com/services/da_exim-${INSTALL_VER}.src.rpm";
I changed it thx
 
Hi
get these error , please help

gcc -c -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o exim_dbmbuild.o exim_dbmbuild.c
In file included from exim.h:391,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:391,
from exim_dbmbuild.c:33:
dbstuff.h:529: error: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: error: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:395,
from exim_dbmbuild.c:33:
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: error: syntax error before '*' token
dbfunctions.h:17: error: syntax error before '*' token
dbfunctions.h:18: error: syntax error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:144: error: `DB' undeclared (first use in this function)
exim_dbmbuild.c:144: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:144: error: for each function it appears in.)
exim_dbmbuild.c:144: error: `d' undeclared (first use in this function)
exim_dbmbuild.c:145: error: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:145: error: syntax error before "key"
exim_dbmbuild.c:198: error: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:278: error: `content' undeclared (first use in this function)
exim_dbmbuild.c:281: error: `key' undeclared (first use in this function)
exim_dbmbuild.c:281: error: `R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/da_exim-4.51/build-Linux-i386'
make: *** [go] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.92494 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.92494 (%build)
error: open of da_exim-.i386.rpm failed: No such file or directory
Shutting down exim:
Starting exim:


Successfully upgraded to Exim
 
How about the exim.conf. Will it upgrade, because things are change as off 4.5x
 
hi
sh exim.sh
Preparing... ########################################### [100%]
1:da_exim ########################################### [100%]
Preparing... ########################################### [100%]
package da_vm-pop3d-1.1.7f-1 is already installed
Substitution replacement not terminated at -e line 1.
make: `wrapper' is up to date.
Testing for perl (/usr/bin/perl)...
Configuring scripts...
./install.sh -m 751 -O 103 -g 2 . /etc/virtual/majordomo
./install.sh -m 755 -O 103 -g 2 . /etc/virtual/majordomo/bin
Copying tools to /etc/virtual/majordomo/bin
Copying Majordomo files to /etc/virtual/majordomo
Copying archiving and other tools to /etc/virtual/majordomo/Tools
./install.sh -m 755 -O 103 -g 2 . /etc/virtual/majordomo/Tools
Using installed majordomo.cf
Installing manual pages in /etc/virtual/majordomo/man

To finish the installation, 'su' to root and type:

make install-wrapper

If not installing the wrapper, type

cd /etc/virtual/majordomo; ./wrapper config-test

(no 'su' necessary) to verify the installation.
./install.sh -o root -g 2 \
-m 4755 wrapper /etc/virtual/majordomo/wrapper

To verify that all the permissions and etc are correct,
run the command

cd /etc/virtual/majordomo; ./wrapper config-test
Starting DA-PopB4Smtp:
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
--16:41:43-- http://files.directadmin.com/services/9.0/squirrelmail-1.4.4.tar.gz
=> `/usr/local/directadmin/scripts/packages/squirrelmail-1.4.4.tar.gz'
Resolving files.directadmin.com... 199.237.54.170
Connecting to files.directadmin.com[199.237.54.170]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 575,871 [application/x-tar]

100%[========================================================================================>] 575,871 149.76K/s ETA 00:00

16:41:47 (149.40 KB/s) - `/usr/local/directadmin/scripts/packages/squirrelmail-1.4.4.tar.gz' saved [575,871/575,871]

and try :
cd /etc/virtual/majordomo/man
[root@xxx man]# make install-wrapper
make: *** No rule to make target `install-wrapper'. Stop.
[root@xxx man]# ls -al
total 16
drwxr-xr-x 2 majordomo daemon 4096 Apr 23 21:26 man1
drwxr-xr-x 2 majordomo daemon 4096 Apr 23 21:26 man8
cd /etc/virtual/majordomo; ./wrapper config-test
an d get :
------------------------------------------------------------
---------------- Config-test for Majordomo ----------------
------------------------------------------------------------


--------------------- Obvious things: ---------------------
------------------ environment variables ------------------
HOME=/etc/virtual/majordomo
LOGNAME=root
MAJORDOMO_CF=/etc/virtual/majordomo/majordomo.cf
PATH=/bin:/usr/bin:/usr/ucb
SHELL=/bin/sh
USER=root
--------------------- euid/egid checks ---------------------
effective user = majordomo (uid 103)
effective group = daemon wheel disk adm sys daemon bin root (gid 2 10 6 4 3 2 1 0 )
---------------------- uid/gid checks ----------------------
real user = majordomo (uid 103)
real group = daemon wheel disk adm sys daemon bin root (gid 2 10 6 4 3 2 1 0 )
------------------------------------------------------------

Non obvious things that cause headaches:

------------------------------------------------------------
Good: 'require'd /etc/virtual/majordomo/majordomo.cf okay.
Good: found ctime.pl okay.
Good: found majordomo_version.pl okay.
Good: found majordomo.pl okay.
Good: found shlock.pl okay.
Good: found config_parse.pl okay.

You're running Majordomo Version 1.94.5.

--==> Majordomo home directory is /etc/virtual/majordomo.
------------------- Include directories -------------------
/etc/virtual/majordomo
/usr/lib/perl5/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.
--------------------------- Home ---------------------------
Good: changedir to /etc/virtual/majordomo succeeded.
Good: Created a mock lock file.
---------------------- temp directory ----------------------
Good: Created a temp file in $TMPDIR (/usr/tmp).
---------------------- list directory ----------------------
Hmmm, list directory /etc/virtual/majordomo/lists doesn't exist
or isn't a directory.
Let me try to make it for you...
Good: list directory /etc/virtual/majordomo/lists created.

--------------------------- log ---------------------------
Logfile /etc/virtual/majordomo/Log didn't exist, trying to create...
okay, now chmod'ing..
Good: logfile /etc/virtual/majordomo/Log exists and is writeable.
------------------------- Mailers -------------------------
You have defined a mailer for delivery.
Attempting to verify that this is a valid mailer...looks okay.
You have defined a mailer for delivering administrative messages.
Attempting to verify that this is a valid mailer...looks okay.
------------------ Checking majordomo.cf ------------------
Checking to see if there are new variables that should be in
your majordomo.cf file...Nope, none that I see.

Have you configured where Majordomo is?
$whereami is example.com
BAD: $whereami hasn't been changed yet!
----------------------- end of tests -----------------------


1 bad thing was found.
Please fix before attempting to run Majordomo.

NOW
service exim restart
Shutting down exim:
Starting exim:
i dont no its faild or ok, but cant recive email via outlook and from webmail get this error :
.: There were errors :.

There were errors in the process

Please login again

System message: Error connecting to the server

Logout

please help .
 
Last edited:
Back
Top