Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mail(yes) in fcrontab for a user can work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 268
Location: Utility Muffin Research Kitchen

PostPosted: Fri Sep 15, 2017 8:03 am    Post subject: mail(yes) in fcrontab for a user can work Reply with quote

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
View user's profile Send private message
BasketCase
n00b
n00b


Joined: 02 Sep 2003
Posts: 67
Location: Orlando, FL

PostPosted: Wed Oct 30, 2019 8:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
arantius
n00b
n00b


Joined: 03 Jan 2004
Posts: 69

PostPosted: Wed Apr 08, 2020 12:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum