You are not logged in.
In /var/spool/dma are some 200+ messages a few are cron daily reports the rest are ' fail to deliver'.
I don't see anything in /etc/dma/dma.conf that looks like it should be other than default except SMARTHOST smtp.frontier.com
/etc/aliases points everything to root, then root to mike.
I didn't expect it to make a diference but created /root/Mail just in case. It didn't help.
I use fetchmail and mutt to read mail from off site and that works fine.
Thinking it might be a permissions problem I looked at these:
mike@DevuanPI4b:~> ls -l /var/mail
lrwxrwxrwx 1 root root 26 Feb 10 11:06 /var/mail -> /mc/docs/letters/incoming/
Mikemike@DevuanPI4b:~> ls -l /var/mail/
total 312
-rw--w---- 1 mike mail 317051 May 4 16:17 mike
-rw--w---- 1 root mail 0 Feb 20 02:05 root
mike@DevuanPI4b:~> ls -l /mc/docs/letters/incoming/
total 312
-rw--w---- 1 mike mail 317051 May 4 16:17 mike
-rw--w---- 1 root mail 0 Feb 20 02:05 root
At the moment I'm baffled, what am I missing?
Suggestions welcome.
Thanks,
Mike
Last edited by Mike (2024-05-04 23:09:11)
Offline
Dragom or Dragon?
Online
Yeah, I'm not much of a typist.
Dragonfly.
Offline
BTW, where did you get 'Dragom' from?
Did I originally post the question as 'Dragomfly' and you changed it to 'Dragonfly'?
If so, Thank you.
Mike
Last edited by Mike (2024-05-05 14:52:20)
Offline
It was typed in title of this thread. I corrected it after your confirmation.
Online
The problem turned out to be permissions.
I'm running on a RaspberryPi4b and switching back and forth between Debian bookworm and Devuan daedalus.
I kept finding that I didn't have access to emails downloaded in one system while on the other.
Since my personal stuff is on a thumb drive that moves between the two systems and is mounted as /mc on both, I set
~/Mail -> /mc/docs/letters/ and /var/spool/mail -> /mc/docs/letters/incoming/.
Being a touch paranoid /mc and /mc/* was owned mike:mike with 770 permissions.
Since fetchmail and mutt were run by mike that wasn't a problem but cron couldn't deliver a daily report.
Setting all the path /mc/docs/letters/incoming to 771 and changing */incoming ownership to mike:mail has allowed cron mail to get delivered..
Though I've been using Linux for a decade I've still a lot to learn.
Be well all,
Mike
Offline