upgrade problems cont.

Stuart Clark newsgroup2 at SPACELINK.COM.AU
Tue Aug 31 02:26:20 IST 2004


When upgrading I accidentally did this (notice the MailScanner.)

cd /etc/MailScanner
upgrade_MailScanner_conf MailScanner.conf MailScanner.conf.rpmnew >
MailScanner.
mv -f MailScanner.conf MailScanner.old
mv -f MailScanner.new  MailScanner.conf




Also I can't find my MailScanner.conf.rpmnew anymore.
MailScanner. is empty

And when I copied the old conf file from backups I get this



[root at proxy MailScanner]# tail /var/log/maillog -f
Aug 31 11:01:01 proxy update.virus.scanners: Delaying cron job up to 600
seconds
Aug 31 11:17:02 proxy sendmail[15505]: alias database /etc/aliases rebuilt
by root
Aug 31 11:17:02 proxy sendmail[15505]: /etc/aliases: 63 aliases, longest 10
bytes, 625 bytes total
Aug 31 11:17:02 proxy sendmail[15514]: starting daemon (8.12.8): SMTP
Aug 31 11:17:03 proxy sm-msp-queue[15519]: starting daemon (8.12.8):
queueing at 00:15:00
Aug 31 11:17:03 proxy sendmail[15526]: starting daemon (8.12.8):
queueing at 00:15:00
Aug 31 11:17:04 proxy sendmail[15522]: i7V1H3vr015522:
from=<root at host@whatever.com>, size=123705, class=0, nrcpts=1,
msgid=<200408301802.i7UI2LTf002876 at host@whatever.com>, proto=ESMTP,
daemon=MTA, relay=host at whatever.com [127.0.0.1]
Aug 31 11:17:04 proxy sm-msp-queue[15521]: i7UI2LTf002876: to=root,
ctladdr=root (0/0), delay=07:14:43, xdelay=00:00:01, mailer=relay,
pri=120055, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(i7V1H3vr015522 Message accepted for delivery)
Aug 31 11:17:09 proxy sendmail[15527]: i7UGITqR029660:
to=<carlod at whatever.com.au>, delay=08:58:38, xdelay=00:00:00, mailer=esmtp,
pri=120501, relay=XXXXX.whatever.com.au. [xxx.xxx.xxx.xxx], dsn=5.1.1,
stat=User unknown
Aug 31 11:17:09 proxy sendmail[15527]: i7UGITqR029660: i7V1H37p015527: DSN:
User unknown
Aug 31 11:17:45 proxy sendmail[15551]: i7V1H3vr015522:
to=<root at host@whatever.com>, ctladdr=<root at host@whatever.com> (0/0),
delay=00:00:42, xdelay=00:00:01, mailer=local, pri=120365, dsn=2.0.0,
stat=Sent
Aug 31 11:17:48 proxy MailScanner[15553]: MailScanner E-Mail Virus Scanner
version 4.32.5 starting...
Aug 31 11:17:48 proxy MailScanner[15553]: Could not read Custom Functions
directory
Aug 31 11:17:50 proxy MailScanner[15553]: Could not read file
/var/run/MailScanner.pid
Aug 31 11:17:50 proxy MailScanner[15553]: Error in line 116, file
"/var/run/MailScanner.pid" for pidfile does not exist (or can not be read)
Aug 31 11:17:57 proxy MailScanner[15554]: MailScanner E-Mail Virus Scanner
version 4.32.5 starting...
Aug 31 11:17:57 proxy MailScanner[15554]: Could not read Custom Functions
directory
Aug 31 11:17:57 proxy MailScanner[15554]: Could not read file
/var/run/MailScanner.pid
Aug 31 11:17:57 proxy MailScanner[15554]: Error in line 116, file
"/var/run/MailScanner.pid" for pidfile does not exist (or can not be read)
Aug 31 11:18:07 proxy MailScanner[15555]: MailScanner E-Mail Virus Scanner
version 4.32.5 starting...
Aug 31 11:18:07 proxy MailScanner[15555]: Could not read Custom Functions
directory
Aug 31 11:18:07 proxy MailScanner[15555]: Could not read file
/var/run/MailScanner.pid
Aug 31 11:18:07 proxy MailScanner[15555]: Error in line 116, file
"/var/run/MailScanner.pid" for pidfile does not exist (or can not be read)
Aug 31 11:18:10 proxy sendmail[15527]: i7V1H37p015527:
to=<OJJPBTPNDGO at ameritrade.com>, delay=00:01:01, xdelay=00:01:00,
mailer=esmtp, pri=32522, relay=smtp.ameritrade.com. [199.200.9.140],
dsn=4.0.0, stat=Deferred: Connection timed out with smtp.ameritrade.com.
Aug 31 11:18:11 proxy sendmail[15527]: i7UGJHXB029716:
to=<OJJPBTPNDGO at ameritrade.com>, delay=08:58:54, xdelay=00:00:00,
mailer=esmtp, pri=122522, relay=smtp.ameritrade.com., dsn=4.0.0,
stat=Deferred: Connection timed out with smtp.ameritrade.com.
Aug 31 11:18:17 proxy MailScanner[15556]: MailScanner E-Mail Virus Scanner
version 4.32.5 starting...
Aug 31 11:18:17 proxy MailScanner[15556]: Could not read Custom Functions
directory
Aug 31 11:18:17 proxy MailScanner[15556]: Could not read file
/var/run/MailScanner.pid
Aug 31 11:18:17 proxy MailScanner[15556]: Error in line 116, file
"/var/run/MailScanner.pid" for pidfile does not exist (or can not be read)

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Julian Field
Sent: Tuesday, 31 August 2004 4:37 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: upgrade problems

At 18:00 30/08/2004, you wrote:
>Any help here?
>
>
>Unpacked
>./install.sh
>Upgraded conf file
>All looked fine
>Restarted MailScanner and got this

Check you don't have a /etc/sysconfig/MailScanner.rpmnew. If so, merge the
old settings into the new one. The new one auto-detects the MTA from
/etc/MailScanner/MailScanner.conf. What does the line in MailScanner.conf
that sets your MTA look like? It should just be like
MTA = sendmail
or similar.

I think that is where the problem is, as shown by the "Invalid MTA" error
in your output.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ 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).

------------------------ 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).



More information about the MailScanner mailing list