How To Install MailScanner Request

For exim 4.2*, use this instead for step 9 above:
Code:
QUEUE=
[ -f /etc/sysconfig/exim ] && . /etc/sysconfig/exim
[ "$DAEMON" = yes ] && EXIM_OPTS="$EXIM_OPTS -bd"
[ -f /etc/sysconfig/exim ] && . /etc/sysconfig/exim
[ "$DAEMON" = yes ] && EXIM_OPTS="$EXIM_OPTS -C /etc/exim_outgoing.conf"
[ -n "$QUEUE" ] && EXIM_OPTS="$EXIM_OPTS -q$QUEUE"

Then follow the rest. I've tested it and everything seems to be working.

Thanks for the instruction kaarechr!

Sincerely,

Reyner
 
QUEUE variable

kaarechr wrote :

9) Change the /etc/init.d/exim so it starts two deamons instead of one.

Original:
daemon /usr/sbin/exim $([ "$DAEMON" = yes ] && echo -bd) \
$([ -n "$QUEUE" ] && echo -q$QUEUE)

Change this to:
daemon /usr/sbin/exim $([ "$DAEMON" = yes ] && echo -bd) \
## $([ -n "$QUEUE" ] && echo -q$QUEUE)
daemon /usr/sbin/exim $([ "$DAEMON" = yes ] && echo -C) \
$(echo /etc/exim_outgoing.conf) \
$([ -n "$QUEUE" ] && echo -qf$QUEUE)

IMPORTANT: the first deamon gets queue runs disabled!

Now change the QUEUE variable to fx. 15m in /etc/init.d/exim and /etc/sysconfig/exim.
Save the files.



>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
The QUEUE variable I tried changing per his instructions and the exim service failed to start.

/etc/init.d/exim showed :

QUEUE=

/etc/sysconfig/exim showed :
QUEUE="15m"

I changed them both to :

QUEUE="fx. 15m"

and the service failed to restart.

The service does start when I leave the QUEUEs as they were originally. Am I good to go, or do I have my Syntax wrong?
 
I just do the step follow..
but some error happened

router defer_router: cannot find router driver "domainlist"

Any one have the same problem as me?
 
It should be QUEUE="15m" everywhere.

fx. 15m means "for example 15 minutes".

And I have the same problem as "different", mail is returned to sender with message :

Exim configuration error in line 366:
router defer_router: cannot find router driver "domainlist"
 
For exim 4.24 point 8 should be :

****************
8) We will leave the /exim_outgoing.conf alone (almost). Now the /etc/exim.conf needs some changing in order to just receive emails and not send them. Open /etc/exim.conf and add the following lines in the main configuration:

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

********************

All the other lines are for Exim 3

I think there is a typo for point 10

use mkdir /var/spool/exim.in/input instead of mkdir /var/spool/exim.in


And for point 13) just use :
service MailScanner restart
 
Hello ,

I chown /var/spool to mail:mail by mistake an now the exim doesnt start at all .

How do i reverse that or what are the right permissions .

Thanks ,
 
Mailscanner and User-level SpamAssassin

In the How-to section I found how to install Mailscanner and make it use ClamAV and SpamAssassin, but then I will lose the User-Level SpamAssassin that is implemented in DA.

In this thread I cannot find anything about SpamAssassin.
Can I use this method to install Mailscanner, make it scan my mails for virusses and keep the User-Level SpamAssassin working?

Or is it impossible to use the User-Level SpamAssassin together with Mailscanner?
 
Anything is possible. Even striking a match on a wet cake of soap :) .

It just takes a lot of customization.

If no one has done it for DA yet, then you're on your own.

Jeff
 
Let me rephrase my question.
Has anybody tried to get Mailscanner working together with de User-Level SpamAssassin?
I guess not, or I would have had an answer by now. :D
I'll have a go at it then.
If I make it work, you will read about it here.
 
Which hopefully will be as easy as making a match with a head of a chemical that will explode when it comes in contact with the soap.

:)

Jeff
 
MailScanner, ClamAV and User-level SpamAssassin

Hi,

Great news !
It's working fine on my server.

I already had installed the User-level SpamAssassin on my system as described on the DA website: http://help.directadmin.com/item.php?id=36

We didn't touch that and simply setup MailScanner together with ClamAV as described above. After some minor tweaking it's working great.

The details will follow later as I didn't do it all myself.
Thx to Tom Lauwers of Root Services (www.root.be).
He did the installation and made it work, I just did some more tweaking after he was done.

Problem solved ! It is possible to use the User-level SpamAssassin together with MailScanner and ClamAV.
 
hey buddy

Hi there,

Does spam caught by mailscanner get actioned the same as the user-level spamassassin? What I'm trying to do is put all spam into a .Spam folder so it doesn't make a messy inbox and the user-level spamassassin has this option but I cant find one in Mailscanner.

Thanks
Barry
 
FarCry said:
sorry, da doesnt use send mail, can't install this program.


find something that works with exim :)

Most *nix MTAs have a sendmail alias, so even if the MTA isn't sendmail you can still access the sendmail binary.
 
Back
Top