Hello--
I am trying to set up qmail-scanner mrtg.
I have 2 problems.
I'm running :
/usr/bin/qs2mrtg.pl --mailsrv-name mail.samuelmurez.com && /usr/bin/mrtg /home/baronsam/samuelmurez.com/qmail-scanner/mrtg-qmail-scanner.cfg
this is from my qs2mrtg.pl :
my ($logfile)='/var/spool/qmailscan/qmail-queue.log'; my ($offsetfile)="$ENV{'HOME'}/qs2mrtg.offset"; my ($mrtg_dir)="/home/baronsam/samuelmurez.com/qmail-scanner";
should the logfile be /var/log/maillog instead ?
Problem 1 :
I am receiving the following error message (and one each for spam.txt and quarantined.txt) with both maillog and qmail-queue.log :
cat: /home/baronsam/samuelmurez.com/qmail-scanner/total.txt: No such file or directory
WARNING: Could not get any data from external command 'cat /home/baronsam/samuelmurez.com/qmail-scanner/total.txt'
Maybe the external command did not even start. (Illegal seek)
I don't understand why the .txt files are not getting created.
I'm running all this as root.
I believe I have all the mrtg files in my /home/baronsam/samuelmurez.com/qmail-scanner dir
Problem 2 :
Where do I find the appropriate index.html to put in my qmail-scanner dir ?
Any help would be appreciated,
Thanks,
--Sam
> Hi i solve that problem to set my > #my ($offsetfile)="$ENV{'HOME'}/qs2mrtg.offset"; > > to : > my ($offsetfile)='/tmp/qs2mrtg.offset'; > > hope it helps >
Dankeschon for your reply, but I'm still getting the same error.
Do you have any other ideas ? What do you know about those error messages that could help me troubleshoot ?
Thanks,
--Sam
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general