Re: postfix setup challenges

2025-06-26 Thread Robert Moskowitz via users
Almost there with postfix. Google AI had me set: home_mailbox = Mailbox and the mail was going to ~/Mailbox So I changed it to: home_mailbox = /var/mail Which is where mutt looks by default. I also turned on: mail_spool_directory = /var/mail We will see how that goes.  I have the official

Re: logwatch problems

2025-06-26 Thread Robert Moskowitz via users
A whole lot of these shot out: type=AVC msg=audit(1750984177.433:5387): avc:  denied  { create } for  pid=370849 comm="local" name="Mailbox.lock" scontext=system_u:system_r:postfix_local_t:s0 tcontext=system_u:object_r:admin_home_t:s0 tclass=file permissive=0     Was caused by:     Missin

Re: logwatch problems

2025-06-26 Thread Brian Truter
This looks like SELinux is blocking some things on your system. audit2allow -w -a On Thu, Jun 26, 2025 at 5:36 PM Robert Moskowitz via users < users@lists.fedoraproject.org> wrote: > I was thinking of avoiding installing logwatch for this crontab > reporting, but it seems I installed it. > > I s

Re: postfix setup challenges

2025-06-26 Thread Robert Moskowitz via users
On 6/26/25 8:34 PM, Todd Zullinger wrote: Robert Moskowitz via users wrote: Or set up postfix local delivery to just use mailbox. More googling. The default is mbox. :) But not in ~/Mailbox default is /var/mail/user You mentioned having to change some postfix settings, perhaps sharing wh

Re: postfix setup challenges

2025-06-26 Thread Todd Zullinger
Robert Moskowitz via users wrote: > Or set up postfix local delivery to just use mailbox. > > More googling. The default is mbox. :) You mentioned having to change some postfix settings, perhaps sharing what those were might help? I started a Fedora Workstation 42 Live image, installed mailx an

Re: postfix setup challenges

2025-06-26 Thread Robert Moskowitz via users
Just run mutt, then press 'c' and give either Maildir or Mailbox. google has gotten better answering questions, once I figure out what to ask! On 6/26/25 8:06 PM, Robert Moskowitz via users wrote: Or set up postfix local delivery to just use mailbox. More googling. On 6/26/25 8:02 PM, Robert

Re: postfix setup challenges

2025-06-26 Thread Robert Moskowitz via users
Or set up postfix local delivery to just use mailbox. More googling. On 6/26/25 8:02 PM, Robert Moskowitz via users wrote: ARGH!!! :) now to config mutt to read them... On 6/26/25 7:53 PM, Samuel Sieb wrote: On 6/26/25 4:44 PM, Robert Moskowitz via users wrote: I have been working on config

Re: postfix setup challenges

2025-06-26 Thread Robert Moskowitz via users
ARGH!!!  :) now to config mutt to read them... On 6/26/25 7:53 PM, Samuel Sieb wrote: On 6/26/25 4:44 PM, Robert Moskowitz via users wrote: I have been working on configuring postfix for local delivery. I tired both: mailx -s "Subject" rgm < testit.txt mailx -s "Subject" rgm@localhost < test

Re: Getting crontab to send an email

2025-06-26 Thread Robert Moskowitz via users
On 6/26/25 7:51 PM, Todd Zullinger wrote: Samuel Sieb wrote: On 6/26/25 3:22 PM, Robert Moskowitz wrote: Try mailx for starters? Or does it need more... To get the terms right, you need an MDA or LDA, not an MTA. :-) Something that can do local mail delivery and it seems that there are no o

Re: postfix setup challenges

2025-06-26 Thread Samuel Sieb
On 6/26/25 4:44 PM, Robert Moskowitz via users wrote: I have been working on configuring postfix for local delivery. I tired both: mailx -s "Subject" rgm < testit.txt mailx -s "Subject" rgm@localhost < testit.txt /var/log/maillog shows Jun 26 19:36:52 LX140e-3 postfix/pickup[365674]: 73AF7383

Re: Getting crontab to send an email

2025-06-26 Thread Todd Zullinger
Samuel Sieb wrote: > On 6/26/25 3:22 PM, Robert Moskowitz wrote: >> Try mailx for starters? >> >> Or does it need more... > > To get the terms right, you need an MDA or LDA, not an MTA. :-) > Something that can do local mail delivery and it seems that there are no > options available other than t

postfix setup challenges

2025-06-26 Thread Robert Moskowitz via users
I have been working on configuring postfix for local delivery. I tired both: mailx -s "Subject" rgm < testit.txt mailx -s "Subject" rgm@localhost < testit.txt /var/log/maillog shows Jun 26 19:36:52 LX140e-3 postfix/pickup[365674]: 73AF7383FD8: uid=1000 from= Jun 26 19:36:52 LX140e-3 postfix/c

Re: Getting crontab to send an email

2025-06-26 Thread Samuel Sieb
On 6/26/25 3:22 PM, Robert Moskowitz wrote: On 6/26/25 6:20 PM, Samuel Sieb wrote: On 6/26/25 3:15 PM, Robert Moskowitz via users wrote: On 6/26/25 6:09 PM, Will McDonald wrote: On Thu, 26 Jun 2025 at 23:05, Will McDonald wrote:     On Thu, 26 Jun 2025 at 22:50, Robert Moskowitz via use

Re: logwatch problems

2025-06-26 Thread Robert Moskowitz via users
logwatch is installed, but not postfix.  How did that happen? What is the default activity for installing logwatch? On 6/26/25 6:36 PM, Robert Moskowitz via users wrote: I was thinking of avoiding installing logwatch for this crontab reporting, but it seems I installed it. I see /etc/cron.day

logwatch problems

2025-06-26 Thread Robert Moskowitz via users
I was thinking of avoiding installing logwatch for this crontab reporting, but it seems I installed it. I see /etc/cron.dayly/0logwatch but in /var/logs/messages I am seeing: ''' Jun 26 03:07:19 LX140e-3 audit[295067]: AVC avc:  denied  { dac_read_search } for  pid=295067 comm="sendmail" capa

Re: Getting crontab to send an email

2025-06-26 Thread Robert Moskowitz via users
On 6/26/25 6:22 PM, Robert Moskowitz via users wrote: On 6/26/25 6:20 PM, Samuel Sieb wrote: On 6/26/25 3:15 PM, Robert Moskowitz via users wrote: On 6/26/25 6:09 PM, Will McDonald wrote: On Thu, 26 Jun 2025 at 23:05, Will McDonald wrote:     On Thu, 26 Jun 2025 at 22:50, Robert Mosko

Re: Getting crontab to send an email

2025-06-26 Thread Robert Moskowitz via users
On 6/26/25 6:20 PM, Samuel Sieb wrote: On 6/26/25 3:15 PM, Robert Moskowitz via users wrote: On 6/26/25 6:09 PM, Will McDonald wrote: On Thu, 26 Jun 2025 at 23:05, Will McDonald wrote:     On Thu, 26 Jun 2025 at 22:50, Robert Moskowitz via users     wrote:     I want to get emails

Re: Getting crontab to send an email

2025-06-26 Thread Samuel Sieb
On 6/26/25 3:15 PM, Robert Moskowitz via users wrote: On 6/26/25 6:09 PM, Will McDonald wrote: On Thu, 26 Jun 2025 at 23:05, Will McDonald wrote: On Thu, 26 Jun 2025 at 22:50, Robert Moskowitz via users wrote: I want to get emails from my Fedora notebook for crontab

Re: Getting crontab to send an email

2025-06-26 Thread Robert Moskowitz via users
On 6/26/25 6:09 PM, Will McDonald wrote: On Thu, 26 Jun 2025 at 23:05, Will McDonald wrote: On Thu, 26 Jun 2025 at 22:50, Robert Moskowitz via users wrote: I want to get emails from my Fedora notebook for crontab activities. First figure out if your MTA is work

Re: Getting crontab to send an email

2025-06-26 Thread Will McDonald
On Thu, 26 Jun 2025 at 23:05, Will McDonald wrote: > On Thu, 26 Jun 2025 at 22:50, Robert Moskowitz via users < > users@lists.fedoraproject.org> wrote: > >> I want to get emails from my Fedora notebook for crontab activities. > > > First figure out if your MTA is working, then you can figure out

Re: Getting crontab to send an email

2025-06-26 Thread José María Terry Jiménez via users
> El 26 jun 2025, a las 23:50, Robert Moskowitz via users > escribió: > > ….. > > 10 4* * * rgm/usr/bin/time --password-file=pasw --verbose > /usr/bin/rsync -ah --stats /home/rgm/r/ rsync://rgm@homestor/rgm/r/ > > should do it for the rsync; in fact it does rsync the files, but n

Re: Getting crontab to send an email

2025-06-26 Thread Will McDonald
On Thu, 26 Jun 2025 at 22:50, Robert Moskowitz via users < users@lists.fedoraproject.org> wrote: > I have an Ubuntu server with logwatch installed, so it has all the > 'right' postfix setups and I get daily logwatch reports. > > I also added a cron shutdown as follows: > > 10 4* * * root

Re: rsync password-file format

2025-06-26 Thread bruce
sometimes another set of eyes to see!! the list is helpful On Thu, Jun 26, 2025, 5:36 PM Robert Moskowitz via users < users@lists.fedoraproject.org> wrote: > > > On 6/26/25 5:26 PM, Jeffrey Walton wrote: > > On Thu, Jun 26, 2025 at 5:21 PM Robert Moskowitz via users > > wrote: > >> I *AM* run

Getting crontab to send an email

2025-06-26 Thread Robert Moskowitz via users
I have an Ubuntu server with logwatch installed, so it has all the 'right' postfix setups and I get daily logwatch reports. I also added a cron shutdown as follows: 10 4    * * *   root    /usr/sbin/shutdown And I get a daily email saying the system will shutdown in ~1min. Nice. I want to get

Re: rsync password-file format

2025-06-26 Thread Robert Moskowitz via users
On 6/26/25 5:26 PM, Jeffrey Walton wrote: On Thu, Jun 26, 2025 at 5:21 PM Robert Moskowitz via users wrote: I *AM* running rsyncd on the target server. If I provide: rsync -ah --stats /home/rgm/r/ rsync://rgm@homestor/rgm/r/ I get prompted for the password in the /etc/rsyncd.secrets file,

Re: rsync password-file format

2025-06-26 Thread Jeffrey Walton
On Thu, Jun 26, 2025 at 5:21 PM Robert Moskowitz via users wrote: > > I *AM* running rsyncd on the target server. > > If I provide: > > rsync -ah --stats /home/rgm/r/ rsync://rgm@homestor/rgm/r/ > > I get prompted for the password in the /etc/rsyncd.secrets file, and it > works. > > I now create a

rsync password-file format

2025-06-26 Thread Robert Moskowitz via users
I *AM* running rsyncd on the target server. If I provide: rsync -ah --stats /home/rgm/r/ rsync://rgm@homestor/rgm/r/ I get prompted for the password in the /etc/rsyncd.secrets file, and it works. I now create a local file ~/rsync.pswd with chmod 440, and run: rsync -ah --password-file=/home