PDA

View Full Version : Exim 4.44 is out.



vandal
01-14-2005, 09:18 AM
http://www.exim.org

interfasys
01-14-2005, 09:37 AM
Did someone ever diff an official package with the one from DA to see what's different?

Chrysalis
01-14-2005, 12:15 PM
Have already emailed john hopefully he will do the packages quickly.

Chrysalis
01-16-2005, 05:21 PM
no response from john yet, will remind him incase he missed my email.

vandal
01-16-2005, 05:23 PM
he responded to me and said he is working on it.

interfasys
01-17-2005, 11:00 AM
Packages are ready.

mattbates
01-17-2005, 01:59 PM
I've noticed the RPMs available and packages for FreeBSD 5.1 but there doesn't seem to packages available for FreeBSD 4.x.

vandal
01-17-2005, 02:34 PM
redhat 7.3 rpm working just fine so far for me.

werwin01
01-17-2005, 04:11 PM
Works fine on FreeBSD 5.3

box# fetch http://files.directadmin.com/services/freebsd5.1/da_exim-4.44-1.tgz
box# pkg_delete exim-4.43-1
box# pkg_add da_exim-4.44-1.tgz

Chrysalis
01-17-2005, 05:48 PM
yeah john originally just did the rpm's so had to reply to him again and now we got FreeBSD 5.x, I dont know why he didnt do 4.x. But someone else will have to bug him now heh since I only use 5.x :)

dec
01-17-2005, 06:32 PM
Ok.. I see there is a rpm file on DA server with the last version of Exim, but i am not honestly sure if i should use it.. I am running fedora core 1 and also, i remeber last time i used the patched version with exiscan.. will it be available again?

Dec

DirectAdmin Support
01-17-2005, 07:36 PM
Hello,

The source rpm there does have exiscan built in (all exims we release now include it).

I've also built the packages for freebsd 5.x and 4.x.

http://files.directadmin.com/services/da_exim-4.44-1.src.rpm
http://files.directadmin.com/services/freebsd4.8/da_exim-4.44-1.tgz
http://files.directadmin.com/services/freebsd5.1/da_exim-4.44-1.tgz

As for the "diff".. the source code isn't really different other than exiscan. I did however create a different ./Local/Makefile to use for compiling, as well as our exim.conf and exim.pl.

John

dec
01-17-2005, 08:11 PM
:(

jmstacey
01-17-2005, 08:13 PM
Upgraded without a hitch on FreeBSD 4.10 :)

vandal
01-17-2005, 08:14 PM
move it to /usr/src/redhat/SRPMS

rpm --rebuild da_exim-4.44-1.src.rpm

then check /usr/src/redhat/rpms/i386

rpm -Uvh da_exim-4.44-1.i386.rpm

dec
01-17-2005, 08:24 PM
Originally posted by vandal
move it to /usr/src/redhat/SRPMS

rpm --rebuild da_exim-4.44-1.src.rpm

then check /usr/src/redhat/rpms/i386

rpm -Uvh da_exim-4.44-1.i386.rpm

the rebuild option is unknown.. and i have the db4-devel installed

vandal
01-17-2005, 08:31 PM
what redhat version? you should probably update your version of rpm.

rpm -q rpm

if you have up2date or yum please use those.

dec
01-17-2005, 08:34 PM
Originally posted by vandal
what redhat version? you should probably update your version of rpm.

rpm -q rpm

if you have up2date or yum please use those.

rpm-4.2.1-0.30

Fedora core 1

vandal
01-17-2005, 08:38 PM
hrmm i don't use fedora, however assuming it usese up2date

up2date rpmbuild

then try the long way

rpm -ivh da_exim-4.44-1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -ba exim.spec
cd ../RPMS/i386
rpm -Uvh da_exim-4.34-1.i386.rpm

dec
01-17-2005, 08:46 PM
Originally posted by vandal

rpm -Uvh da_exim-4.34-1.i386.rpm

you mean 4.44-1.i386.rpm
:cool:

Thanks!

vandal
01-17-2005, 08:47 PM
sorry type-o

rpm -Uvh da_exim-4.44-1.i386.rpm


sorry about that

dec
01-17-2005, 08:50 PM
Originally posted by vandal
sorry type-o

rpm -Uvh da_exim-4.44-1.i386.rpm


sorry about that

It worked!

Hey.. i am the one not using the brain.. :D

Thanks

vandal
01-17-2005, 08:53 PM
sorry doing 2 million things at once :P

glad you got it in. make sure you restart exim as well.

service exim restart


:)

markus
01-17-2005, 08:54 PM
I'm running RHLE 3 (up2dated) I had to use:

rpmbuild --rebuild da_exim-4.44-1.src.rpm

instead of:

rpm --rebuild da_exim-4.44-1.src.rpm


And now I'm getting an error when installing the RPM:


[root@server i386]# rpm -Uvh da_exim-4.44-1.i386.rpm
error: Failed dependencies:
libcrypto.so.0.9.7 is needed by da_exim-4.44-1
libssl.so.0.9.7 is needed by da_exim-4.44-1

[root@server i386]# ls -l /usr/lib/*0.9.7
-r-xr-xr-x 1 root root 1157496 Dec 10 11:15 /usr/lib/libcrypto.so.0.9.7
-r-xr-xr-x 1 root root 213122 Dec 10 11:15 /usr/lib/libssl.so.0.9.7
:confused:

vandal
01-17-2005, 08:56 PM
sounds like you are missing some required files.

what version of exim do you currenlty have in installed?

rpm -q da_exim

or rpm -q exim

thanks.

markus
01-17-2005, 08:58 PM
[root@server i386]# rpm -q da_exim
da_exim-4.43-1
I updated my previous post. I have installed openssl 0.9.7e

[root@server i386]# openssl version
OpenSSL 0.9.7e 25 Oct 2004

vandal
01-17-2005, 09:09 PM
you might have to set up a symlink.

try

ln -s /lib/libcrypto.so.0.9.7 /usr/lib/libcrypto.so.0.9.7

and
ln -s /lib/libssl.so.0.9.7 /usr/lib/libssl.so.0.9.7

that might work.

markus
01-17-2005, 09:14 PM
It doesn't work. :( I checked and I already have symbolic links for both libraries in the /lib directory pointing to the 0.9.7 versions located in /usr/lib



BTW, thanks for your help

markus
01-17-2005, 09:23 PM
If that helps, looking at the pid of my running exim I get 8315, then I run lsof to see what is being used, I get:


[root@server i386]# lsof -p 8315
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
exim 8315 mail cwd DIR 8,3 4096 7536676 /var/spool/exim
exim 8315 mail rtd DIR 8,3 4096 2 /
exim 8315 mail txt REG 8,3 705852 540932 /usr/sbin/exim
exim 8315 mail mem REG 8,3 12544 524341 /lib/libutil-2.3.2.so
exim 8315 mail mem REG 8,3 91040 524307 /lib/libnsl-2.3.2.so
exim 8315 mail mem REG 8,3 793716 524345 /lib/libdb-4.1.so
exim 8315 mail mem REG 8,3 1157496 1212907 /usr/lib/libcrypto.so.0.9.7 <---- ***
exim 8315 mail mem REG 8,3 213484 1228808 /lib/tls/libm-2.3.2.so
exim 8315 mail mem REG 8,3 23388 524301 /lib/libcrypt-2.3.2.so
exim 8315 mail mem REG 8,3 1571692 1228804 /lib/tls/libc-2.3.2.so
exim 8315 mail mem REG 8,3 1190612 7700507 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so
exim 8315 mail mem REG 8,3 76540 524335 /lib/libresolv-2.3.2.so
exim 8315 mail mem REG 8,3 106912 524343 /lib/ld-2.3.2.so
exim 8315 mail mem REG 8,3 21303 524290 /lib/libsafe.so.2.0.16
exim 8315 mail mem REG 8,3 14868 524370 /lib/libdl-2.3.2.so
exim 8315 mail mem REG 8,3 213122 1213081 /usr/lib/libssl.so.0.9.7 <---- ***
exim 8315 mail mem REG 8,3 97712 1228813 /lib/tls/libpthread-0.60.so
exim 8315 mail mem REG 8,3 51936 524323 /lib/libnss_files-2.3.2.so
exim 8315 mail 0u IPv4 82391990 TCP *:smtp (LISTEN)
When I upgraded to da_exim-4.43 I just did this:

wget http://files.directadmin.com/services/es_3.0/da_exim-4.43-1.i386.rpm
rpm -Uvh --force da_exim-4.43-1.i386.rpm
I used --force to avoid conflict with /etc/aliases. I believe I read this tip here in these forums.

vandal
01-17-2005, 09:25 PM
you could try to force it...not sure how that will turn out though.

rpm -Uvh --force da_exim-4.44-1.i386.rpm

I will keep looking around for solutions for you.

vandal
01-17-2005, 09:25 PM
haha beat me too that one...

vandal
01-17-2005, 09:27 PM
the file you just wget'd was the old rpm fyi.

markus
01-17-2005, 09:27 PM
[root@server i386]# rpm -Uvh --force da_exim-4.44-1.i386.rpm
error: Failed dependencies:
libcrypto.so.0.9.7 is needed by da_exim-4.44-1
libssl.so.0.9.7 is needed by da_exim-4.44-1
:(

I'll try to search as well...

Thanks again

vandal
01-17-2005, 09:29 PM
and ls -al /lib/libcryp*

and ls -al /lib/libssl*

are there?

markus
01-17-2005, 09:29 PM
Originally posted by vandal
the file you just wget'd was the old rpm fyi.
I'm trying to install da_exim-4.44 from this file:

http://files.directadmin.com/services/da_exim-4.44-1.src.rpm

Posted by John in the previous page of this topic.

markus
01-17-2005, 09:31 PM
Originally posted by vandal
and ls -al /lib/libcryp*

and ls -al /lib/libssl*

are there?

[root@server i386]# ls -al /lib/libssl*
lrwxrwxrwx 1 root root 11 Dec 10 12:12 /lib/libssl.so.0.9.7 -> libssl.so.4
lrwxrwxrwx 1 root root 24 Dec 10 11:21 /lib/libssl.so.4 -> /usr/lib/libssl.so.0.9.7
[root@server i386]# ls -al /lib/libcrypto*
lrwxrwxrwx 1 root root 14 Dec 10 12:12 /lib/libcrypto.so.0.9.7 -> libcrypto.so.4
lrwxrwxrwx 1 root root 27 Dec 10 11:28 /lib/libcrypto.so.4 -> /usr/lib/libcrypto.so.0.9.7

vandal
01-17-2005, 09:39 PM
i'm not sure :(

did you email directadmin support?

vandal
01-17-2005, 09:40 PM
you could try

rpm -Uvh --nodeps da_exim......

markus
01-17-2005, 09:41 PM
Not yet. I'll try to search why looking at the Makefile or something first. I'll post any news about this if that may help others.


Thanks

markus
01-17-2005, 09:50 PM
Originally posted by vandal
you could try

rpm -Uvh --nodeps da_exim......
Bingo!!! :)

This is it!


[root@server etc]# rpm -q da_exim
da_exim-4.44-1

Thank you, Thank you, Thank you :) :) :)

edited:
Summary: I'm running RHLE 3, this is what I did to upgrade exim:

# Upgrade to 4.44
cd /usr/src/redhat/SRPMS
wget http://files.directadmin.com/services/da_exim-4.44-1.src.rpm
rpmbuild --rebuild da_exim-4.44-1.src.rpm
cd /usr/src/redhat/RPMS/i386
rpm -Uvh --force --nodeps da_exim-4.44-1.i386.rpm
note 1: --force used to avoid conflict related to /etc/aliases
note 2: --nodeps used to avoid conflict related to libcrypto.so.0.9.7 and libssl.so.0.9.7

vandal
01-17-2005, 09:51 PM
service exim restart

and make sure everything is working correctly.

i would do a bunch of email tests make sure everything is working as normal.

vandal
01-17-2005, 09:54 PM
do the --nodeps

and just make sure mail is coming and going as before. that will just intall with no dependencies.

markus
01-17-2005, 09:57 PM
do the --nodeps
Yes, this is it. I edited my previous post with all the command I used to upgrade on RHEL 3, if that helps. :)

knoxhosting
01-17-2005, 10:15 PM
>>headache<<

So many commands here, hard to piece together.

How do I upgrade on Fedora Core 2? Step by step please, this is my first DA server, and cPanel always handled this for me in the past.

vandal
01-17-2005, 11:18 PM
Originally posted by knoxhosting
>>headache<<

So many commands here, hard to piece together.

How do I upgrade on Fedora Core 2? Step by step please, this is my first DA server, and cPanel always handled this for me in the past.


step by step follows:

1st try the following as root



cd /usr/src/redhat/SRPMS/

wget http://files.directadmin.com/services/da_exim-4.44-1.src.rpm

rpm --rebuild da_exim-4.44-1.src.rpm

cd ../RPMS/i386/

rpm -Uvh da_exim-4.44-1.i386.rpm



if you get errors try the following



cd /usr/src/redhat/SRPMS/

wget http://files.directadmin.com/services/da_exim-4.44-1.src.rpm

rpm -ivh da_exim-4.44-1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -ba exim.spec
cd ../RPMS/i386
rpm -Uvh da_exim-4.44-1.i386.rpm


if you get errors running rpm -Uvh da_exim... command

try


rpm -Uvh --force --nodeps da_exim-4.44-1.i386.rpm

Chrysalis
01-18-2005, 12:50 PM
upgraded fine on freebsd 5.3

knoxhosting
01-18-2005, 02:35 PM
vandal, your step-by-step helped me greatly! I'm now upgraded!

xgeek
01-18-2005, 02:36 PM
Does the exim.conf 1.2da work with this release? or is an updated one included.

Note:- I use spamassassin + ClamAV + Spamblocker and I don't want to break my current install.

Many thanks

Chrysalis
01-18-2005, 04:07 PM
backup your exim.conf first, it overwrites whats there.

choon
01-18-2005, 07:38 PM
Originally posted by Chrysalis
backup your exim.conf first, it overwrites whats there.
hmm... from the exim.spec file:

%config(noreplace) /etc/exim.conf
%config(noreplace) /etc/aliases
%config(noreplace) /etc/rc.d/init.d/exim
%config(noreplace) /etc/sysconfig/exim
%config(noreplace) /etc/logrotate.d/exim
%config(noreplace) /etc/exim.cert
It shouldn't overwrite the above listed files ... :rolleyes:

choon
01-18-2005, 07:48 PM
I did as a normal user with its own rpmbuild directory:

wget http://files.directadmin.com/services/da_exim-4.44-1.src.rpm
rpmbuild --rebuild da_exim-4.44-1.src.rpm
And the result as below:

+ ln -sf exim /usr/sbin/sendmail
ln: cannot remove `/usr/sbin/sendmail': Permission denied
error: Bad exit status from /var/tmp/rpm-tmp.43549 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.43549 (%install)
Looks like their spec file need some correction... ...

DirectAdmin Support
01-18-2005, 10:41 PM
Permission denied as root? Strange... are you doing the install/compile as root?

John

choon
01-18-2005, 10:54 PM
Originally posted by DirectAdmin Support
Permission denied as root? Strange... are you doing the install/compile as root?

John
I do it via non-root user thus if i rebuild that as root then during the rebuild phrase it will actually replace my sendmail isn't it which is not suppose to be...

choon
01-18-2005, 11:19 PM
Just did a quick look in the exim.spec file and in the %install part I can see it is actually doing actual writing to system files:

ln -sf exim /usr/sbin/sendmail
....
....
for i in blacklist_domains whitelist_from use_rbl_domains; do
touch /etc/virtual/$i;
chown mail:mail /etc/virtual/$i;
chmod 644 /etc/virtual/$i;
done
mkdir -p /etc/virtual/usage
chown mail:mail /etc/virtual/usage
chmod 600 /etc/virtual/usage
if [ ! -e /etc/virtual/limit ]; then
echo "0" > /etc/virtual/limit
chmod 644 /etc/virtual/limit
chown mail:mail /etc/virtual/limit
fi

Dennis
01-19-2005, 01:19 PM
Installed on Fedora Core 2 with no problems. Restarted exim and ClamAV and it works!

Tnx guys!

vandal
01-19-2005, 03:35 PM
Originally posted by knoxhosting
vandal, your step-by-step helped me greatly! I'm now upgraded!

You're welcome :) which commands worked for you so i know for the future

werwin01
01-19-2005, 04:21 PM
Originally posted by choon
hmm... from the exim.spec file:

%config(noreplace) /etc/exim.conf
%config(noreplace) /etc/aliases
%config(noreplace) /etc/rc.d/init.d/exim
%config(noreplace) /etc/sysconfig/exim
%config(noreplace) /etc/logrotate.d/exim
%config(noreplace) /etc/exim.cert
It shouldn't overwrite the above listed files ... :rolleyes:

It overwrote my exim.conf file on FreeBSD 5.3. So, I have to uncomment out the line to turn SpamAssassin on

choon
01-19-2005, 07:55 PM
Originally posted by werwin01
It overwrote my exim.conf file on FreeBSD 5.3. So, I have to uncomment out the line to turn SpamAssassin on
That is for RPM based not FreeBSD :p

Chrysalis
01-19-2005, 11:29 PM
Originally posted by choon
hmm... from the exim.spec file:

%config(noreplace) /etc/exim.conf
%config(noreplace) /etc/aliases
%config(noreplace) /etc/rc.d/init.d/exim
%config(noreplace) /etc/sysconfig/exim
%config(noreplace) /etc/logrotate.d/exim
%config(noreplace) /etc/exim.cert
It shouldn't overwrite the above listed files ... :rolleyes:

It does overwrite it on FreeBSD I cannot comment for linux.

MagnuM
01-25-2005, 06:45 AM
I had just receive a warning:

1:da_exim warning: /etc/exim.conf created as /etc/exim.conf.rpmnew

What sould I do with this file?

I just compare them, and /etc/exim.conf.rpmnew has some new lines added, mainly spam related.

Should I uncomment the SpamAssassin code from exim.conf.rpmnew and replace the exim.conf with the new one.

nobaloney
01-25-2005, 09:34 AM
By default RPM updates from properly written RPMs will not replace an old config file but instead will isntall the new one as .rpmnew.

Though a DirectAdmin supplied RPM should deliver a file that will just "work" (after, for example, uncommenting the SpamAssassin code), I'd recommending comparing the two files to see what changes have been made before making any assumptions as to what will work for you.

Jeff

hostpc.com
01-25-2005, 02:45 PM
Originally posted by vandal
step by step follows:

1st try the following as root



cd /usr/src/redhat/SRPMS/

wget http://files.directadmin.com/services/da_exim-4.44-1.src.rpm

rpm --rebuild da_exim-4.44-1.src.rpm

cd ../RPMS/i386/

rpm -Uvh da_exim-4.44-1.i386.rpm



if you get errors try the following



cd /usr/src/redhat/SRPMS/

wget http://files.directadmin.com/services/da_exim-4.44-1.src.rpm

rpm -ivh da_exim-4.44-1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -ba exim.spec
cd ../RPMS/i386
rpm -Uvh da_exim-4.44-1.i386.rpm


if you get errors running rpm -Uvh da_exim... command

try


rpm -Uvh --force --nodeps da_exim-4.44-1.i386.rpm



On our fedora core2 boxes, we're seeing errors:

file /etc/aliases from install of da_exim-4.44-1 conflicts with file from package setup-2.5.33-1


RH9 upgraded without a hitch. Suggestions?

hostpc.com
01-25-2005, 08:16 PM
No, I didn't - that was the only thing I didn't try - forcing a potential issue with /aliases scared me.

Has anyone tried it on FC2 and it worked ok??

MagnuM
01-26-2005, 01:46 AM
Comparison between the old exim.conf and the new one exim.conf.newrpm. It seems that only a few lines were changed, so I have replaced the old file with the new one, and everything seems to work fine :)

exim.conf:
spamcheck_director:
driver = accept
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} } {1}{0}}"
retry_use_local_part
transport = spamcheck
no_verify

exim.conf.newrpm
spamcheck_director:
driver = accept
condition = "${if and { \
{!def:h_X-Spam-Flag:} \
{!eq {$received_protocol}{spam-scanned}} \
{!eq {$received_protocol}{local}} \
{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
} {1}{0}}"
retry_use_local_part
transport = spamcheck
no_verify
__________________________________________

exim.conf:
condition = "${if eq {$received_protocol} {local} {true} {false} }"

exim.conf.newrpm
condition = "${if or { {eq {$received_protocol} {local}} \
{eq {$received_protocol} {spam-scanned}} } {true} {false} }"

Dennis
01-26-2005, 03:05 AM
Hi Joe (from hostpc.com),

I have a FC2 box and I forced the update.....because I also got the error....

But it is ok......It works! Nodamage done to any of my accounts or linux config. I also have ClamAV working....no problems here!

Dennis

interfasys
01-26-2005, 06:10 AM
You'll still have to manually upgrade your exim.conf to the new and improved Spamblocker. The one in da_exim-4.44-1.tgz is pretty old.

MagnuM
01-26-2005, 06:18 AM
Originally posted by interfasys
You'll still have to manually upgrade your exim.conf to the new and improved Spamblocker. The one in da_exim-4.44-1.tgz is pretty old.
What do you mean it's old ... do you have a new one?
Isn't 4.44 the latest version with the new lines added ... like I posted before in this thread?

hostpc.com
01-26-2005, 06:25 AM
Originally posted by Dennis
Hi Joe (from hostpc.com),

I have a FC2 box and I forced the update.....because I also got the error....

But it is ok......It works! Nodamage done to any of my accounts or linux config. I also have ClamAV working....no problems here!

Dennis

Thanks for the info Dennis - 'preciate it.

Joe

interfasys
01-26-2005, 06:39 AM
Originally posted by MagnuM
What do you mean it's old ... do you have a new one?
Isn't 4.44 the latest version with the new lines added ... like I posted before in this thread?

The exim.conf is still old....Check the Spamblocker thread.

MagnuM
01-26-2005, 07:19 AM
OK, can you post your exim.conf file here somehow, or give me a link to that thread?

nobaloney
01-26-2005, 10:24 PM
DA still uses the original SpamBlocker; I'm now up a revision or two.

But my revision isn't up-to-date yet on the SpamAssassin lines.

I'll try to get it done this week.

Then I'll post the URL for it again.

Jeff

Icheb
01-27-2005, 07:46 AM
What I wonder about it this:
My main mailserver uses the old solution of MailScanner & ClamAV & Spamassassin.
No longer entirely up2date, but it's working great.
I'm considering adding at least MailScanner and ClamAV to all new servers, spamassassin should already be handled by the new config, so I'm not going to play with that.

But the Exim version that server is running is really ancient, I want to upgrade, but want to avoid downtime, due to the fact the particular server is handeling 90% of the e-mail to and from our customers.
Will upgrading from Exim 4.32 to 4.44 work WITH the existing configuration that uses MailScanner, ClamAV & Spamassassin ?
And can it be upgraded without more than 2 min of mail downtime ? :D

interfasys
01-27-2005, 08:40 AM
If you patch your updated exim.conf to be compatible with Mailscanner, there is no reason why it wouldn't work.
Mailscanner is using a temp dir to scan mail, so it doesn't interfere with your mailing system.

You could even get less load on your server since much of the spams would be blocked by Spamblocker if you add domains to the rbl list.

Icheb
01-27-2005, 08:50 AM
Originally posted by interfasys
If you patch your updated exim.conf to be compatible with Mailscanner, there is no reason why it wouldn't work.
Mailscanner is using a temp dir to scan mail, so it doesn't interfere with your mailing system.

You could even get less load on your server since much of the spams would be blocked by Spamblocker if you add domains to the rbl list.
So patch the new exim.conf.rpmnew with the mods to work with mailscanner ?

Well, at the moment, spam is already blocked for some parts by mailscanners rbl checks, but due to the fact mailscanner, in combination with the others suck up CPU time, I wouldn't mind less load on that server :).

I'll try to create my current config on a test server (the server in question runs on rh 8.0, testserver 9.0), but that way I can test the MailScanner & Spamblocker system with the upgrades :)
All I have to do is downgrade Exim on the testserver :(

interfasys
01-27-2005, 09:44 AM
Here is a config file for FreeBSD.

The only difference with a Linux system is the paths to some applications.

Also, if you don't use ClamAV, you need to comment the first line.

vincenzobar
01-27-2005, 10:40 AM
how do i install thjis on Cent OS?

Is there a page with a TXT of the new exim.copnf file that i could just copy/paste.

or is there a whole update to the service that needs to take place?

if so can i RPM in CentOS?

I notice i have Yum on there but didn't see RPM

help please my mail server is all kinds of screwey. I have an error on line 653 which is the majordomo part and is freezing all my mail!!!!

Chrysalis
01-27-2005, 11:37 PM
Originally posted by interfasys
Here is a config file for FreeBSD.

The only difference with a Linux system is the paths to some applications.

The config that comes as default is bad for FreeBSD systems?

interfasys
01-28-2005, 03:58 AM
Not bad, outdated.

dan35
01-31-2005, 03:41 AM
Originally posted by interfasys
Here is a config file for FreeBSD.

The only difference with a Linux system is the paths to some applications.

Also, if you don't use ClamAV, you need to comment the first line.

I'm running SpamAssassin with the instruction here: http://help.directadmin.com/item.php?id=36

I use your exim.conf, spamblocker workin', but SpamAssassin doesn't show in any email headers.

ps
root 620 0.0 3.9 20760 19680 ?? Is 2:14AM 0:00.61 /usr/bin/spamd -d -c -m 5 (perl)
root 686 0.0 3.9 20760 19680 ?? I 2:14AM 0:00.00 spamd child (perl)
root 706 0.0 3.9 20760 19680 ?? I 2:14AM 0:00.00 spamd child (perl)
root 707 0.0 3.9 20760 19680 ?? I 2:14AM 0:00.00 spamd child (perl)
root 708 0.0 3.9 20760 19680 ?? I 2:14AM 0:00.00 spamd child (perl)
root 709 0.0 3.9 20760 19680 ?? I 2:14AM 0:00.00 spamd child (perl)





I comment out these lines:
#av_scanner = clamd:/var/run/clamav/clamd

# ACL that is used after the DATA command
check_message:
######## EXISCAN ACL #########
#deny message = Hiding of file extensions(CLSID hidden) is not allowed
#condition = ${if match {$mime_filename}\
# {\N\{[a-hA-H0-9-]{25,}\}\N}{1}{0}}
#deny message = This message contains malformed MIME ($demime_reason)
#demime = *
#condition = ${if >{$demime_errorlevel}{2}{1}{0}}
#deny message = This message contains a virus or other harmful content ($malware_name)
#demime = *
#malware = *
#deny message = This message contains an attachment of a type which wedo not accept (.$found_ext$
#condition = ${if match \
# {${lc:$mime_filename}} \
# {\N(\.bat|\.com|\.exe|\.pif|\.prf|\.scr|\.vbs)$\N} \
# {1}{0}}
#warn message = X-Antivirus-Scanner: Scanned with Exiscan. You should still use an antivirus.
######## EXISCAN ACL #########
accept
===================
change this line
# transport_filter = /usr/local/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners$

to
transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$val$

SupermanInNY
02-05-2005, 12:34 AM
I get errors when running:

# rpmbuild --rebuild da_exim-4.44-1.src.rpm

It ends with:

dbfunctions.h:16: syntax error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:142: `DB' undeclared (first use in this function)
exim_dbmbuild.c:142: (Each undeclared identifier is reported only once
exim_dbmbuild.c:142: for each function it appears in.)
exim_dbmbuild.c:142: `d' undeclared (first use in this function)
exim_dbmbuild.c:143: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:143: syntax error before "key"
exim_dbmbuild.c:196: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:276: `content' undeclared (first use in this function)
exim_dbmbuild.c:279: `key' undeclared (first use in this function)
exim_dbmbuild.c:279: `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.44/build-Linux-i386'
make: *** [go] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.56449 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.56449 (%build)

How do I fix this?

-Alon.

ballyn
02-07-2005, 08:07 PM
You need the db headers from the db devel package:

yum install db4-devel

(or your package manager of choice).

SupermanInNY
02-08-2005, 01:03 AM
Originally posted by ballyn
You need the db headers from the db devel package:

yum install db4-devel

(or your package manager of choice).

Finally!!!
# rpm -q --all |grep exim
da_exim-4.44-1

Thanks for your help!
Small stuff,.. big changes!

-Alon