Cobalt RAQ4 Mailscanner Installation problems

Steve Knott steve at WEBTONES.CO.UK
Fri Mar 19 12:11:48 GMT 2004


Sorted!
Got a reply back from Joe the guy who wrote the guide.

Heres his reply

When you stop MailScanner, do

killall -9 sendmail

then do

ps -auxw | grep -i mail

to make sure nothing is running,then start MailScanner.

-----------
Obviously sendmail hadn't properly shutdown before starting MailScanner.

Thanks for a great program.

Regards
Steve



On 18 Mar 2004, at 23:51, Mike Kercher wrote:

> If you removed those directories, did you reconfigure sendmail to NOT
> use
> /var/spool/mqueue/q* ?
>
> Mike
>
>
>> -----Original Message-----
>> From: MailScanner mailing list
>> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Steve Knott
>> Sent: Thursday, March 18, 2004 5:49 PM
>> To: MAILSCANNER at JISCMAIL.AC.UK
>> Subject: Re: Cobalt RAQ4 Mailscanner Installation problems
>>
>> Mike
>>
>>         Those directories were removed as per the
>> instructions so I wouldn't know how to setup what your
>> suggesting. I was rather hoping the instructions I followed
>> would have worked without a hitch.  I read on the cobalt
>> forums that others had, had success installing on a raq4 so I
>> dived in somewhat blindly but optimistic :) By shutting down
>> MailScanner and restarting sendmail I have at least got email
>> working again but I would really like to get MailScanner
>> working for obvious reasons.
>>
>> Thanks
>> Steve
>>
>>
>> On 18 Mar 2004, at 23:02, Mike Kercher wrote:
>>
>>> I have a rule defined for my queues.
>>>
>>> In /etc/MailScanner/MailScanner.conf:
>>>
>>> Outgoing Queue Dir = /etc/MailScanner/rules/outgoing.queue.rules
>>>
>>> Then, my outgoing.queue.rules:
>>>
>>> To:     /^[a-g]/                /var/spool/mqueue/q1
>>> To:     /^[h-m]/                /var/spool/mqueue/q2
>>> To:     /^[n-s]/                /var/spool/mqueue/q3
>>> To:     /^[t-z]/                /var/spool/mqueue/q4
>>> FromOrTo:       default         /var/spool/mqueue/q5
>>>
>>> I don't know for sure if this will help you or not.
>>>
>>> Mike
>>>
>>>
>>>
>>>
>>> ________________________________
>>>
>>>         From: MailScanner mailing list
>>> [mailto:MAILSCANNER at JISCMAIL.AC.UK]
>>> On Behalf Of Steve Knott
>>>         Sent: Thursday, March 18, 2004 4:11 PM
>>>         To: MAILSCANNER at JISCMAIL.AC.UK
>>>         Subject: Cobalt RAQ4 Mailscanner Installation problems
>>>
>>>
>>>         Hi,
>>>         I have followed the instructions here to the letter:
>>>
>>>         http://www.qitc.net/support/mailscanner/
>>>
>>>         Everything went fine until this part:
>>>
>>>         OK, nearly there. Now we want to stop sendmail and start
>>> MailScanner and make sure it stays that way in the event of
>> a reboot.
>>>
>>>         /etc/rc.d/init.d/MailScanner stop
>>>
>>>         This gave the following output:
>>>
>>>         [root spool]# /etc/rc.d/init.d/MailScanner stop
>>>         Shutting down MailScanner daemons:
>>>         MailScanner: ERROR!
>>>         incoming sendmail: head: /var/run/sendmail.in.pid: No such
>>> file or directory
>>>         head: /var/run/sm-client.pid: No such file or directory
>>>         ok
>>>         outgoing sendmail: head: /var/run/sendmail.out.pid: No such
>>> file or directory
>>>         ok
>>>
>>>         so I continued anyway:
>>>
>>>         [root spool]# ps auxw | grep -i mail
>>>         root 4043 0.0 0.2 2596 380 ? S Jan30 0:14 sendmail:
>> accepting
>>> connections
>>>         root 20843 0.0 0.3 1360 504 pts/0 S 20:59 0:00 grep -i mail
>>>
>>>         [root spool]# chkconfig sendmail off
>>>         [root spool]# chkconfig --level 2345 MailScanner on
>>>         [root spool]# /etc/rc.d/init.d/MailScanner start
>>>         Starting MailScanner daemons:
>>>         incoming sendmail: ok
>>>         outgoing sendmail: ok
>>>         MailScanner: ok
>>>
>>>         [root spool]# ps auxw | grep -i mail
>>>         root 4043 0.0 0.2 2596 380 ? S Jan30 0:14 sendmail:
>> accepting
>>> connections
>>>         root 20923 0.0 1.0 2584 1300 ? S 21:00 0:00
>> /usr/sbin/sendmail
>>> -bd -OPrivacyOptions noetrn -ODeliveryMode queueon
>>>         root 20929 0.0 1.0 2584 1288 ? S 21:00 0:00
>> /usr/sbin/sendmail
>>> -q15m -OPidFile /var/run/sendmail.out.pid
>>>         root 20946 0.0 7.9 11440 10208 ? S 21:00 0:00 perl
>>> -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/Ma
>>>         root 20947 2.6 8.5 12196 10952 ? S 21:00 0:00 perl
>>> -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/Ma
>>>         root 20952 6.8 8.5 12196 10952 ? S 21:00 0:00 perl
>>> -I/usr/lib/MailScanner /usr/sbin/MailScanner /etc/MailScanner/Ma
>>>         root 20956 0.0 0.3 1360 504 pts/0 S 21:00 0:00 grep -i mail
>>>
>>>
>>>         If I do:
>>>
>>>         [root /root]# tail -f -n100 /var/log/maillog
>>>
>>>         I get disturbing lines like:
>>>
>>>         Mar 18 21:32:46 www in.qpopper[22729]: apop "steve"
>>>         Mar 18 21:32:46 www in.qpopper[22729]: steve at
>> 81.86.100.107
>>> (81.86.100.107): -ERR [AUTH] not authenticated
>>>
>>>         Mar 18 21:33:29 www sendmail[22772]: i2ILXTR22772:
>>> SYSERR(root):
>>> Can't create transcript file q3/xfi2ILXTR22772: No such file or
>>> directory
>>>         Mar 18 21:33:29 www sendmail[22772]: i2ILXTR22772:
>>> from=<etcetc at hotmail.com>, size=0, class=0, nrcpts=1, proto=SMTP,
>>> daemon=MTA, relay=[210.0.186.247]
>>>
>>>         The outcome is I can no longer receive email in any
>> mailbox on
>>> the server or send email from OpenWebmail it also throws up
>> an error
>>> like Can't create transcript file?
>>>
>>>         Does anyone have any ideas how to get Mailscanner running?
>>>
>>>         In MailScanner.conf I have left the Virus Scanners
>> = none as I
>>> have installed clamav instead of F-prot but wanted to make sure
>>> Mailscanner was working before enabling that.
>>>
>>>         Thanks
>>>         Steve Knott
>>>
>>>
>>
>



More information about the MailScanner mailing list