I'm trying to get MailScanner to work

Billy A. Pumphrey bpumphrey at WOODMACLAW.COM
Mon Dec 22 22:06:09 GMT 2003


That information helped me know what's going on a little better but It
didn't help the machine work.
Here are the results:


Thank You
Billy Pumphrey

-----Original Message-----
                mydomain.com    esmtp:[exchange.mydomain.com]
------------------------------------------------------
I put woodendc.woodmaclaw.com           esmtp:[woodmaclaw.com]
I did have .woodmaclaw.com      relay:[10.1.1.2]
                woodmaclaw.com  relay:[10.1.1.2]
                .woodmclaw.com  relay:[10.1.1.2]
                woodmclaw.com   relay:[10.1.1.2]
-----------------------------------------------

-----------I did so:--------
then in /etc/mail/ type 'make mailertable.db' this creates a file
usable by the sendmail queue runner.

        Stop sendmail and MailScanner
                service MailScanner stop
                service sendmail stop   	

------------  I got = Shutting down sm-client [FAILED] ----------------


        disable sendmail in /etc/init.d
                chkconfig --level 2345 sendmail off
        enable MailScanner
                chkconfig --level 2345 MailScanner on

        start your MailScanner service
                service MailScanner start

        By doing ps -auxw |grep -i mail,
        you should see a "sendmail: accepting connections" line, a
"sendmail: Queue Runner" line, and several /usr/bin/perl.... MailScanner
lines (it make take several seconds before you see multiple MailScanner
processes startup")
------------------------------------------------------------------
 I did so and noticed that these line might not be right:
Root    29460   1.0     0.0     0       0       0       ?       Z
16:58   0:00[MailScanner <defunct>]
And a lot of these:
Root 19460      0.1     0.0     0       0       0       ?       Z
16:58 0:0 [MailScanner <defunct>] which I guess is about the same of the
above.

        This all, of course, is assuming your MailScanner config is good
with SpamAssassin installed etc.

Thank You
Billy Pumphrey

-----Original Message-----
From: Kearney, Rob [mailto:RKearney at AZERTY.COM] 
Sent: Monday, December 22, 2003 4:49 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: I'm trying to get MailScanner to work

1.  You don't want sendmail to start in addition to what mailscanner
does.
    MailScanner will start a sendmail SMTP daemon process, and also a
queue
runner for outbound mail (destined for you exchange server).
                Mail is delivered from externally to the
/var/spool/mqueue.in directory.
                MailScanner will "Pick up that mail" and link it to
/var/spool/MailScanner/incoming/
                when all is said and done, MailScanner will drop it off
into
/var/spool/mqueue
                This is where the sendmail Queue Runner will pick it up
and
deliver to your exchange server.


        For sendmail, make sure you have something in
/etc/mail/mailertable
described like this:
                <yourdomain.com>
esmtp:[exchangeserver.domain.com]
        such that if you receive mail for "mydomain.com" and exchange
server
is exchange.mydomain.com, the line reads:

                mydomain.com    esmtp:[exchange.mydomain.com]

        This line says for email destined for mydomain.com, send via
ESMTP
to server in brackets (brackets prevent DNS lookups on MX records)
        then in /etc/mail/ type 'make mailertable.db' this creates a
file
usable by the sendmail queue runner.

        Stop sendmail and MailScanner
                service MailScanner stop
                service sendmail stop
        disable sendmail in /etc/init.d
                chkconfig --level 2345 sendmail off
        enable MailScanner
                chkconfig --level 2345 MailScanner on

        start your MailScanner service
                service MailScanner start

        By doing ps -auxw |grep -i mail,
        you should see a "sendmail: accepting connections" line, a
"sendmail: Queue Runner" line, and several /usr/bin/perl.... MailScanner
lines (it make take several seconds before you see multiple MailScanner
processes startup")


        This all, of course, is assuming your MailScanner config is good
with SpamAssassin installed etc.


-rob

-----Original Message-----
From: Billy Pumphrey [mailto:bpumphrey at WOODMACLAW.COM]
Sent: Monday, December 22, 2003 4:16 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: I'm trying to get MailScanner to work


Hello Everyone,
I have tried plenty o things including reading all that I could find
without going insaine :).  Pleae help, here are the details.

Situation wanted: To have the MailScanner machine sit in front of the
exchange machine to do the spam filtering and then relay it to the
exchange
server.  (typical setup)

My knowledge leve: Good at windows, not so good at Linux.

There is a machine currently setup to do that but I screwed it up some
how.  The mail will go through the MailScanner machine and pass it to
the
Exchange server but will not process any spam rules, and send mail won't
start unless I tell it to manuall.





Anyway, new machine, new install of Red Hat 9 GUI with sendmail and
spamassassin off the cd's.

- I downloaded MailScanner 4.25.14
- I tried these instructions:
   http://www.sng.ecs.soton.ac.uk/mailscanner/install/linux.shtml
   http://www.sng.ecs.soton.ac.uk/mailscanner/install/other.shtml
   http://www.sng.ecs.soton.ac.uk/mailscanner/faq.shtml
   http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/1.html
and FAQ's and such.  I'm sure that I have just missed something some
where
and hopefully someone can point it out to me.  I don't even know how to
go
about testing to see if the first step was done right.

Here are some conflicts or differences that I have seen or made me
confused
on:
- does the ./install.sh make the mqueue.in folder?  My experience it
didn't
and I tried making it manually via somewhere in the instructions above.
- I'm still a little confused on the path of the mail.  Is it mqueue,
mqueue.in then spamassassin and so on?

Please any help on this is greatly appreciated on where to start and go.




More information about the MailScanner mailing list