Problem with MailScanner and CommuniGate

Derek Pitts derek at MAIL.CHEM.TAMU.EDU
Wed May 5 22:33:09 IST 2004


Derek Pitts wrote:
>
> mailscanner at jiscmail.ac.uk
>
> I am having a problem getting MailScanner to work
> correctly with CommuniGate Pro.
>
> I have:
>
> Red Hat AS 3.0  kernel 2.4.21-9.0.3.EL
> MailScanner 4.30.3-2 from RPM
> ClamAV .70 compiled on the system
> tested with CommuniGate Pro 4.1.8 and beta 4.2.2
> jrudd's ms2cgp and cgp2ms default configurations
>
> The problem I get is that mail never makes it to the
>users
> inbox.  I can watch the log file and see MailScanner
>start
> to scan the message when it is received but it seems to
> become hung somewhere in this process.  It scans the
> message over and over again without ever delivering it.
> I
> can send mail from my test email server to other email
> servers perfectly fine.  If I attach a virus test file,
> the file is scanned and identified as a virus test file.
>   If I attempt to send a message from another mail server
> to my test server with MailScanner running I get an error
> as follows
>

What does your server rule (that invokes cgp2ms) look
like?
And what headers have you set up for mailscanner to insert
into the
message?

--snips of code
Server-Wide Automated Processing Rule priority=5
"Header Field" is not "$IH:$IHV"
"Execute"       "[FILE]/usr/local/etc/cgp2ms"
"Discard"


Headers set with MailScanner.conf file
residing in /etc/MailScanner/

%org-name% = Chemistry_Department

Information Header = X-%org-name%-MailScanner-Information:
Information Header Value = Please contact the Chemistry
Helpdesk for more information

I was not sure exactly what was meant by setting the
headers, I assume that I did it correctly.

Also I am not using the default Mailscanner start script I
replaced the default script with the one from your message
to Cyrille, on "Problem with latest version of
Mailscanner"  the shortened script. I have attached it
below it resides in /etc/rc.d/init.d/

#!/bin/sh
#
case "$1" in
'start')
         /usr/sbin/check_mailscanner
         ;;
'stop')
         kill `cat /var/run/MailScanner.pid`
         ;;
*)
         echo "Usage: $0 { start | stop }"
         exit 1
         ;;
esac
exit 0
--end snip of code

Thanks
Derek

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list