[Bug 520273] Re: cron doesn't send mail
** Changed in: postfix (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/520273 Title: cron doesn't send mail To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs-utils/+bug/520273/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 520273] Re: cron doesn't send mail
Here is the /var/log/mail.log if needed ** Also affects: ecryptfs-utils Importance: Undecided Status: New ** Attachment added: "complete /var/log/mail.log since last revolve." https://bugs.launchpad.net/ecryptfs-utils/+bug/520273/+attachment/1533362/+files/mail.log.tar.bz2 -- cron doesn't send mail https://bugs.launchpad.net/bugs/520273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 520273] Re: cron doesn't send mail
I have found the problem. It is caused by ecryptfs the way it is implemented in Ubuntu. Here is the culprit (found by hours of removing files and directories and rebooting): I don't like my Private folder automounted. My solution, follow the recommendations to delete .ecryptfs/auto-mount. When this is done, ecrypt tries to automount, but throws an error: Aug 31 02:43:01 localhost CRON[8404]: Skipping automatic eCryptfs mount followed by this error: Aug 31 02:43:01 localhost CRON[8405]: (woodnt) CMD (echo "hello `date`") Now I feel stupid for spending hours at this when I should have just done a simple mv .ecryptfs .ecryptfs.bak first, instead of for every dir (after I found every .xxx regular file had nothing to do with it). I then also get the above cron process tree found by ps -auxf. When I isolated .ecrpytfs, then I noted I had deleted the auto-mount and touched it to put it back. Rebooted, and I get mail and I get NO defunct sh and get no build up of cron processes. This is a significant but, but not critical and likely affects very few people, but is hard to figure out when it does! Not sure how to move this thread over to ecryptfs-utils. Please advise, Narnie PS, it seems postfix is trying to send, but gets stuck (as noted above with the \_ /usr/sbin/sendmail -i -FCronDaemon -oem woodnt getting stuck, kind like it is waiting on stdin but who knows). -- cron doesn't send mail https://bugs.launchpad.net/bugs/520273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 520273] Re: cron doesn't send mail
Look in /var/log/mail.log for evidence of postfix trying to send the mail. -- cron doesn't send mail https://bugs.launchpad.net/bugs/520273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 520273] Re: cron doesn't send mail
Sorry it took so long for this. Revisiting this issue after a fresh install of UNE 10.04 Here is the output of postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix default_transport = error inet_interfaces = loopback-only mailbox_size_limit = 0 mydestination = localhost, localhost.localdomain, localhost myhostname = localhost mynetworks = 127.0.0.0/8 [:::127.0.0.0]/104 [::1]/128 readme_directory = no recipient_delimiter = + relay_transport = error relayhost = smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes -- cron doesn't send mail https://bugs.launchpad.net/bugs/520273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 520273] Re: cron doesn't send mail
Please attach the output of postconf -n to the bug. ** Changed in: postfix (Ubuntu) Status: New => Incomplete -- cron doesn't send mail https://bugs.launchpad.net/bugs/520273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 520273] Re: cron doesn't send mail
Since cron is clearly invoking sendmail and that invokes postfix, I'm guessing it goes missing inside postfix somewhere ** Package changed: cron (Ubuntu) => postfix (Ubuntu) -- cron doesn't send mail https://bugs.launchpad.net/bugs/520273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 520273] Re: cron doesn't send mail
sorry. Forgot to show my crontab woo...@toshiba-laptop /var/log $ crontab -l MAILTO="woodnt" #m h dom mon dow command */1 * * * * /home/woodnt/bin/test_cron -- cron doesn't send mail https://bugs.launchpad.net/bugs/520273 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs