LogWatch and Postfix?

From: K. Hawkes (k.hawkes_at_darknyte.force9.co.uk)
Date: 11/29/03

  • Next message: Pete Nesbitt: "Re: Is Secondary IDE always slower than primary?"
    To: <redhat-list@redhat.com>
    Date: Sat, 29 Nov 2003 15:54:51 -0000
    
    

    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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Pete Nesbitt: "Re: Is Secondary IDE always slower than primary?"

    Relevant Pages

    • LogWatch and Postfix?
      ... Up until I installed Postfix on my RH9 box, Logwatch was happily throwing me ... Now that I've installed and configured Postfix, I no longer get the E-Mails ...
      (RedHat)
    • Re: LogWatch and Postfix?
      ... > this problem should have nothing to do with logwatch. ... You say that postfix may not be configured/etc... ... anything obvious here or do you need a copy of my postfix config file ...
      (RedHat)
    • Re: LogWatch and Postfix?
      ... > I am at the end of my teather with this, so will backup my postfix confs, ... > uninstall both logwatch AND postfix. ... > domain name so it can send mail), then install logwatch and see whether it's ...
      (RedHat)
    • Re: LogWatch and Postfix?
      ... > I may be off base here, but as I read it, logwatch is sending email ... > postfix won't play with logwatch, ... I am at the end of my teather with this, so will backup my postfix confs, ...
      (RedHat)
    • Re: LogWatch and Postfix?
      ... > that postfix will not play with logwatch. ... It would be to your benefit to install pflogsumm ... install pflogsumm and leave it at that and find similar 'log ...
      (RedHat)