HowTo: MailScanner+Exim for FreeBSD

Hello,

When i installed the whole set, my mail delivery costs about 5 secs a message.

Jun 9 11:35:32 dom MailScanner[71941]: User's home directory /home/mail does not exist
Jun 9 11:35:32 dom MailScanner[71941]: User's home directory /home/mail is not writable

I created this directory and gave mail:mail permissions on it. By doing this spamassassin could write it's logs en statistics in:

.razor .spamassassin

Now my delivery takes < 1 sc ;)
 
All work with line

spool_directory = /var/spool/exim.in

in /etc/exim.conf.

How to update antivirus databases?
 
Many spam-messages I receive marked with {Spam?} in the subject. Why? How to fix this?
 
I have been trying to get it to work on a 5.x box and it does not appear to be working properly. Anyone having success?
 
existenz said:
I have been trying to get it to work on a 5.x box and it does not appear to be working properly. Anyone having success?

Yes I have, and I have installed it on other boxes too with success.
 
RosT said:
Many spam-messages I receive marked with {Spam?} in the subject. Why? How to fix this?

This is standard behaviour. If you want that the messages get deleted, check your /usr/local/etc/MailScanner/MailScanner.conf file.
 
In maillog i get:

Aug 19 23:43:44 free1 MailScanner[655]: MailScanner E-Mail Virus Scanner version 4.28.6 starting...
Aug 19 23:43:44 free1 MailScanner[655]: Cannot open ruleset file /usr/local/etc/MailScanner/rules/bounce.rules, No such file or directory

Where can i find these rules so i can place them there?

Many thanx,
Marcel.
 
Yep that's ok. Or just disable the lookup to the rules file in the MailScanner config.
 
I need Mailscanner don't scan outgoing messages! Only inbound. How to?
 
All works, but this software (exim+mailscanner+..) make high load to processor. How to fix this?
 
You can use the linux nice command:

(see "man nice")

But if you do, your email processing will be delayed.

Might I recommend using RBLs (see the SpamBlocker exim.conf file here, as it may help by eliminating a lot of the email before MailScanner has to deal with it.

Jeff
 
How to disable spamassasin support, and leave only virus checks and RBLs using?
 
Error

I receive this error. Any suggestions?

===> p5-Net-DNS-0.48 depends on file: /usr/local/bin/perl5.8.0 - found
===> Patching for p5-Net-DNS-0.48
===> p5-Net-DNS-0.48 depends on file: /usr/local/bin/perl5.8.0 - found
===> Applying FreeBSD patches for p5-Net-DNS-0.48
1 out of 1 hunks failed--saving rejects to Makefile.PL.rej
>> Patch patch-Makefile.Pl failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
server# make install
===> p5-Mail-SpamAssassin-2.64 depends on file: /usr/local/lib/perl5/site_perl/5.8.0/mach/Net/DNS.pm - not found
===> Verifying install for /usr/local/lib/perl5/site_perl/5.8.0/mach/Net/DNS.pm in /usr/ports/dns/p5-Net-DNS
===> Patching for p5-Net-DNS-0.48
===> p5-Net-DNS-0.48 depends on file: /usr/local/bin/perl5.8.0 - found
===> Applying FreeBSD patches for p5-Net-DNS-0.48
1 out of 1 hunks failed--saving rejects to Makefile.PL.rej
>> Patch patch-Makefile.Pl failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
 
RosT said:
How to disable spamassasin support, and leave only virus checks and RBLs using?

Check the MailScanner config file. Set 'Use SpamAssassin' to 'no'.
 
Re: Re: HowTo: MailScanner+Exim for FreeBSD

pcoeman said:
Error

I receive this error. Any suggestions?

*error*

I suggest cvsupping the ports tomorrow and try it again, probably a little glitch which will be fixed soon.
 
Hey,

i don't get anymore mails but mails sending works

i got the following error when restarting exim:

server1# /usr/local/etc/rc.d/exim restart
Shutting down exim: [ OK ]
Starting exim: 2005-03-23 02:34:34 Exim configuration error in line 934 of /etc/exim.conf:
unknown retry error name "="
[ OK ]

gonne past the last lines of my config including that 934line :

log_file_path = /var/spool/exim/msglog/%slog
process_log_path = /var/spool/exim/exim-process.info
queue_only = true
queue_only_override = false
spool_directory = /var/spool/exim.in

if i do ps aux |grep exim i see something wrong:

server1# ps aux |grep exim
mail 93005 0.0 0.4 2304 944 ?? Is 2:34AM 0:00.00 /usr/sbin/exim -q15m -C /etc/exim_out
root 93044 0.0 0.3 1304 708 p2 RV 2:35AM 0:00.00 grep exim (csh)

it has to be something like this:

mail 30463 0.0 0.0 3568 0 ?? IWs - 0:00.00 /usr/sbin/exim -bd -q1h -oP /var/run/exim.pid
mail 30465 0.0 0.3 3568 308 ?? Is Mon06PM 0:00.15 /usr/sbin/exim -q15m -C /etc/exim_outgoing.conf

anyone knows what to do?

Greets,
Alex Vanhecke
 
Back
Top