LogWatch and Postfix?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey all,

Up until I installed Postfix on my RH9 box, Logwatch was happily throwing me
E-Mails every day, just like I wanted.

Now that I've installed and configured Postfix, I no longer get the E-Mails
from logwatch at all. I've done some digging and have found that it's trying
to use 'mailx' (/bin/mail), this worked before without postfix, but now it
fails, saying it can't move a file. Looking at /bin/mail it seems that it's
not designed to work with Postfix's way of handling mailboxes (I'm using
mailboxes, not maildirs).

I see 'sendmail.postfix' and tell Logwatch to try that one, it fails also.
The ONLY way I can find to get the logwatch logs again is if I use a script
to send the log contents out to me, but there is no subject line and it's
not as clean as I'd like.

Run logwatch like this :
/usr/sbin/logwatch --debug HIGH > ~/debug.out

Here is the error I get when it tries to use /bin/mail :

cannot move file: /var/spool/temp/1070121234000.30688.srv.darknyte.net.mail

I am totally stumped about this, I've tried various things and all have
failed. Is it something I've done, a misconfiguration with LogWatch or
Postfix somewhere? Does anyone else manage to use LogWatch and PostFix
together?

If anyone has any useful or helpful suggestions I'd be most grateful.

Mr. K. Hawkes

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQEVAwUBPHjfdSBHjRAjzresAQHZpgf/ZKpt2Nl+8EmIJwT/rLFtx8yhFFKdqVk6
pQGsgeOGN1ZI5kSOU6FBeWkyVS3YKLV6UHhvHVm1MQuBwPyfnjhQGj+OuI9jQPoc
qTFb0TRQivOQoOeJq1PfIFcl53RrvRUOFAl8+jdKqZo/IFARdllknkCMTZirvp5l
M+7/4a/ua2rx8d46zab1RF5YYNHRjyJRXD913FHty5VXCX31DJ55nAho30lOKOPC
TNT+zzO1UC/J+keWSjxSSV3wPeOiOgtUtI5FiuXJmv1IXzsxjogGCTd0HUJ/04mR
H623bEhl8M8yF/x6seCNKpHDkDQjoL+ddlQGVezdgbg3z7Jd7Y6VKA==
=/whC
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux