Starting from scratch

Scott Silva ssilva at SGVWATER.COM
Thu Apr 7 15:38:58 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Billy Pumphrey wrote:
> I didn't know if I should continue this topic or start a new one.
>
> I have gotten thus far with installing MailScanner, but I cannot figure out
> what I have done wrong or haven't done yet.
>
> 1.  Downloaded CentOS4 and installed with most server packages, development
> packages, sendmail, spamassassin.
>
> 2.  Installed this mailscanner: Version 4.40.11-1 for RedHat and Mandrake
> Linux (and other RPM-based Linux distributions)
>
> 3.  Ran these commands:
>         Chkconfig --level all sendmail off
>         Chkconfig --leve 345 MailScanner on
>         Service sendmail stop
>         Service MailScanner start
>
> 4.  I changed the following files (my mailscanner is a gateway to a
> Microsoft Exchange machine:
>         Mailertable
>                 Woodmaclaw.com          esmtp:[10.1.1.2]
>                 www.woowmaclaw.com      esmtp:[10.1.1.2]
>                         ran the command make -C /etc/mail
>
>         relaydomains
>                 woodmaclaw.com
>                 www.woodmaclaw.com
>
>         mailscanner.conf
>                 various options, but mostly default.
>                 No virus scanners, as I have not installed them yet
>                 Turned on spamassassin
>
> 5.  restarted MailScanner several times.
>
> 6.  Info...
>         I do not see any errors, here are some entries of my maillog:
>         Apr  7 09:25:34 dell8600 MailScanner[22695]: Using locktype = flock
> Apr  7 09:25:38 dell8600 MailScanner[22685]: MailScanner child caught a
> SIGHUP
> Apr  7 09:25:38 dell8600 MailScanner[22693]: MailScanner child caught a
> SIGHUP
> Apr  7 09:25:38 dell8600 MailScanner[22689]: MailScanner child caught a
> SIGHUP
> Apr  7 09:25:38 dell8600 MailScanner[22692]: MailScanner child caught a
> SIGHUP
> Apr  7 09:25:38 dell8600 MailScanner[22695]: MailScanner child caught a
> SIGHUP
> Apr  7 09:25:49 dell8600 sendmail[22741]: alias database /etc/aliases
> rebuilt by
>  bpumphrey
> Apr  7 09:25:49 dell8600 sendmail[22741]: /etc/aliases: 78 aliases, longest
> 10 b
> ytes, 802 bytes total
> Apr  7 09:25:49 dell8600 sendmail[22749]: starting daemon (8.13.1): SMTP
> Apr  7 09:25:49 dell8600 sm-msp-queue[22753]: starting daemon (8.13.1):
> queueing
> @00:15:00
> Apr  7 09:25:49 dell8600 sendmail[22758]: starting daemon (8.13.1):
> queueing at 00:
> 15:00
> Apr  7 09:25:53 dell8600 MailScanner[22777]: MailScanner E-Mail Virus
> Scanner ve
> rsion 4.40.11 starting...
> Apr  7 09:25:54 dell8600 MailScanner[22777]: Read 108 hostnames from the
> phishin
> g whitelist
> Apr  7 09:25:55 dell8600 MailScanner[22777]: Enabling SpamAssassin
> auto-whitelis
> t functionality...
> Apr  7 09:25:57 dell8600 MailScanner[22777]: Using locktype = flock
> Apr  7 09:26:04 dell8600 MailScanner[22781]: MailScanner E-Mail Virus
> Scanner ve
> rsion 4.40.11 starting...
> Apr  7 09:26:05 dell8600 MailScanner[22781]: Read 108 hostnames from the
> phishin
> g whitelist
> Apr  7 09:26:06 dell8600 MailScanner[22781]: Enabling SpamAssassin
> auto-whitelis
> t functionality...
> Apr  7 09:26:08 dell8600 MailScanner[22781]: Using locktype = flock
> Apr  7 09:26:15 dell8600 MailScanner[22783]: MailScanner E-Mail Virus
> Scanner ve
> rsion 4.40.11 starting...
> Apr  7 09:26:16 dell8600 MailScanner[22783]: Read 108 hostnames from the
> phishin
> g whitelist
> Apr  7 09:26:17 dell8600 MailScanner[22783]: Enabling SpamAssassin
> auto-whitelis
> t functionality...
> Apr  7 09:26:19 dell8600 MailScanner[22783]: Using locktype = flock
>
> 7. I do not even though if this says anything, but I checked the
> /var/spool/MailScanner/incoming directory and there seem to be mail in
> there.  There were these folders:
> 22777
> 22781
> 22783
> 22785
> 22786
> I checked the directories and they were empty.  My first guess is that
> MailScanner is not picking them up?
>
>
> Help is appreciated on trouble shooting this.  Thank you! :)
> Billy Pumphrey
>
First thing to try is setting locking to posix, because Sendmail 13 has
issues with flock.

--
"If you have ever eaten crow,
It don't taste like chicken!!"

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list