Mailscanner mrtg mountpoint
Denis Beauchemin
Denis.Beauchemin at USherbrooke.ca
Fri Sep 19 13:38:57 IST 2008
Kate Kleinschafer a écrit :
> Hi all,
> I am getting the following in my maillog:
> Unable to find a mountpoint for /var/spool/MailScanner/incoming.
> Please set MailScanner Work Directory in mailscanner-mrtg.conf to a
> valid mountpoint
>
> I did some searching and tried changing the mailscanner-mrtg.conf to /
> but this didn't help
>
> Currently my config file says:
> MailScanner Work Directory = /var/spool/MailScanner/incoming
> and
> Spool Directory = /var/spool
>
> my df shows mounts as
> /
> /boot
> /dev/shm
>
> Any ideas what i need to change?
>
> Thanks
> Kate
>
Kate,
You should put "Spool Directory = /" and "MailScanner Work Directory =
/var/spool/MailScanner/incoming" but you also need to modify /etc/fstab
to add:
none /var/spool/MailScanner/incoming tmpfs
defaults,noatime 0 0
Once this is done, stop MailScanner, "mount
/var/spool/MailScanner/incoming" and start MailScanner.
You really need to specify mount points for these graphs. And since
mailscanner-mrtg runs from /etc/cron.d/mailscanner-mrtg.crond you don't
have to restart anything for it to react to your changes.
Denis
--
_
°v° Denis Beauchemin, analyste
/(_)\ Université de Sherbrooke, S.T.I.
^ ^ T: 819.821.8000x62252 F: 819.821.8045
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3306 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080919/a66887a5/smime.bin
More information about the MailScanner
mailing list