Mailscanner & RedHat 7.2 & Ensim server **** System down ****
Denis Croombs
denis at CROOMBS.ORG
Mon May 19 20:50:04 IST 2003
I have installed Mailscanner on a Redhat 7.2 Ensim server with a number os
domains on it, it appears to be receiving e-mails OK as per this log entry
in maillog:-
May 19 19:51:56 ns sendmail[1737]: h4JIpuN01737:
from=<tep-commits-admin at lists.sourceforge.net>, size=12278, class=-60,
nrcpts=1, msgid=<E19HqeH-00066e-00 at sc8-pr-cvs1.sourceforge.net>,
proto=ESMTP, daemon=MTA, relay=lists.sourceforge.net [66.35.250.206]
May 19 19:51:56 ns sendmail[1737]: h4JIpuN01737:
to=<denis at just-servers.co.uk>, delay=00:00:00, mailer=virthostmail,
pri=150278, stat=queued
But they cannot be seen/download by the users, ANY clues as currently NO
users can get their e-mails
I am currently running this script to copy the files every minute !
#!/usr/bin/perl -w
# 10 July 2002 Orioli Pier Paolo <shiva at webcoding.it>
# This script move mail queue to the Mailscanner queuedir in order to trick
#Ensim sendmail bug when using deferred delivery modes
use File::Copy;
open(SITES,"/usr/local/bin/sitelookup -a site_root|") || die"Error fetching
domains :$!";
foreach $siteroot (<SITES> ){
$siteroot =~ s/\n$//;
$cmd="/bin/ls -1 $siteroot/qf* 2>/dev/null|";
open(QUEUE,$cmd) || die "Error fetching queues:$!";
foreach $file (<QUEUE> ){
$file =~ s/\n$//;
$filed = $file;
$filed =~ s/$siteroot//;
move($file,"/var/spool/mqueue.in$filed") || die "Error
copying mail header:$!";
$file =~ s/qf/df/;
$filed = $file;
$filed =~ s/$siteroot//;
move($file,"/var/spool/mqueue.in$filed") || die "Error
copying mail body:$!";
}
}
All clues very welcome
Thanks
Denis
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003
More information about the MailScanner
mailing list