View previous topic :: View next topic |
Author |
Message |
Fog_Watch Apprentice
Joined: 24 Jul 2006 Posts: 268 Location: Utility Muffin Research Kitchen
|
Posted: Fri Sep 15, 2017 8:03 am Post subject: mail(yes) in fcrontab for a user can work |
|
|
It's possible to make mail(yes) in fcrontab to work for a user as well as root.
Code: | # gpasswd -a $USER nullmail #First
# chgrp nullmail /etc/nullmailer/{adminaddr,defaultdomain,me} #second
|
Regards
FogWatch.
Without the above I received the following error:
Quote: | nullmailer-inject: nullmailer-queue failed: 18 |
|
|
Back to top |
|
|
BasketCase n00b
Joined: 02 Sep 2003 Posts: 67 Location: Orlando, FL
|
Posted: Wed Oct 30, 2019 8:30 pm Post subject: |
|
|
Just in case someone else runs into this...
The can be caused by the /etc/nullmailer directory not being world readable so a chmod 755 /etc/nullmailer will fix it (the files inside can still be 640). |
|
Back to top |
|
|
arantius n00b
Joined: 03 Jan 2004 Posts: 69
|
Posted: Wed Apr 08, 2020 12:29 am Post subject: |
|
|
Thanks so much! In my case, I added a new non-world-readable control file and it was much later that I realized no mail was getting sent! Your post made me think to look and find that this was the case. |
|
Back to top |
|
|
|