On Saturday 02 Jan 2016 2:32:36 PM Ed Greshko wrote:
Well, since your cronjob is a program which performs an email
function and
since those errors being reported are referencing files in your directory I
would say the most likely cause is the interaction between your cronjob and
an MTA and not anything having to do with files in /etc.
You said that installing sendmail "did clear up a lot of entries". So, are
you still getting errors?
As I said, the rss2email package may work best with "sendmail" as opposed to
another mta such as postfix.
Is this what you see now with the alternatives command?
[root@meimei etc]# alternatives --list | grep mta
mta manual /usr/sbin/sendmail.sendmail
Would have been nice to know what it was before you installed it.
Yes, sendmail.sendmail is the mta on my system too.
I see no sendmail error after I remove the r2e entryl from the crontab.
rss2email should not be using sendmail.
I start getting sendmail and crond entries as soon as I add r2e to the
crontab. I see that one crond entry is made every time a cronjob is run.
Now that being solved. I have to look why I have numerous "fedora rngd[878]:
read error" entries.
--
Regards,
Sudhir Khanger,
sudhirkhanger.com.
-----------------------------------------------------------------------
[sudhir@fedora ~]$ journalctl -b | grep sendmail
Jan 02 21:00:11 fedora sendmail[7216]: My unqualified host name (fedora)
unknown; sleeping for retry
Jan 02 21:01:11 fedora sendmail[7216]: unable to qualify my own domain name
(fedora) -- using short name
Jan 02 21:01:12 fedora sendmail[7216]: u02FVC8x007216: from=sudhir, size=598,
class=-60, nrcpts=1, msgid=<201601021531.u02FVC8x007216@fedora>,
relay=sudhir@localhost
Jan 02 21:01:12 fedora sendmail[7216]: u02FVC8x007216: to=sudhir,
ctladdr=sudhir (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=138598, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]
[sudhir@fedora ~]$ journalctl -b | grep sendmail
Jan 02 21:00:11 fedora sendmail[7216]: My unqualified host name (fedora)
unknown; sleeping for retry
Jan 02 21:01:11 fedora sendmail[7216]: unable to qualify my own domain name
(fedora) -- using short name
Jan 02 21:01:12 fedora sendmail[7216]: u02FVC8x007216: from=sudhir, size=598,
class=-60, nrcpts=1, msgid=<201601021531.u02FVC8x007216@fedora>,
relay=sudhir@localhost
Jan 02 21:01:12 fedora sendmail[7216]: u02FVC8x007216: to=sudhir,
ctladdr=sudhir (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=138598, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]
Jan 02 21:30:11 fedora sendmail[8978]: My unqualified host name (fedora)
unknown; sleeping for retry
Jan 02 21:31:11 fedora sendmail[8978]: unable to qualify my own domain name
(fedora) -- using short name
Jan 02 21:31:11 fedora sendmail[8978]: u02G1Brd008978: from=sudhir, size=598,
class=-60, nrcpts=1, msgid=<201601021601.u02G1Brd008978@fedora>,
relay=sudhir@localhost
Jan 02 21:31:11 fedora sendmail[8978]: u02G1Brd008978: to=sudhir,
ctladdr=sudhir (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=138598, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]
Jan 02 22:00:11 fedora sendmail[10539]: My unqualified host name (fedora)
unknown; sleeping for retry
[sudhir@fedora ~]$ journalctl -b | grep crond
Jan 02 20:13:19 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=crond
comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 02 20:13:19 fedora crond[1233]: (CRON) INFO (RANDOM_DELAY will be scaled
with factor 84% if used.)
Jan 02 20:13:20 fedora crond[1233]: (CRON) INFO (running with inotify support)
Jan 02 21:00:01 fedora audit[7168]: USER_ACCT pid=7168 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023
msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_localuser
acct="sudhir" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron
res=success'
Jan 02 21:00:01 fedora audit[7168]: CRED_ACQ pid=7168 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023
msg='op=PAM:setcred grantors=pam_env,pam_unix acct="sudhir"
exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Jan 02 21:00:01 fedora audit[7168]: USER_START pid=7168 uid=0 auid=1000 ses=2
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_open
grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd acct="sudhir"
exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Jan 02 21:00:01 fedora audit[7168]: CRED_REFR pid=7168 uid=0 auid=1000 ses=2
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred
grantors=pam_env,pam_unix acct="sudhir" exe="/usr/sbin/crond"
hostname=?
addr=? terminal=cron res=success'
Jan 02 21:01:12 fedora audit[7168]: CRED_DISP pid=7168 uid=0 auid=1000 ses=2
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred
grantors=pam_env,pam_unix acct="sudhir" exe="/usr/sbin/crond"
hostname=?
addr=? terminal=cron res=success'
Jan 02 21:01:12 fedora audit[7168]: USER_END pid=7168 uid=0 auid=1000 ses=2
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_close
grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd acct="sudhir"
exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Jan 02 21:30:01 fedora audit[8934]: USER_ACCT pid=8934 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023
msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_localuser
acct="sudhir" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron
res=success'
Jan 02 21:30:01 fedora audit[8934]: CRED_ACQ pid=8934 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023
msg='op=PAM:setcred grantors=pam_env,pam_unix acct="sudhir"
exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Jan 02 21:30:01 fedora audit[8934]: USER_START pid=8934 uid=0 auid=1000 ses=3
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_open
grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd acct="sudhir"
exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Jan 02 21:30:01 fedora audit[8934]: CRED_REFR pid=8934 uid=0 auid=1000 ses=3
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred
grantors=pam_env,pam_unix acct="sudhir" exe="/usr/sbin/crond"
hostname=?
addr=? terminal=cron res=success'
Jan 02 21:31:11 fedora audit[8934]: CRED_DISP pid=8934 uid=0 auid=1000 ses=3
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred
grantors=pam_env,pam_unix acct="sudhir" exe="/usr/sbin/crond"
hostname=?
addr=? terminal=cron res=success'
Jan 02 21:31:11 fedora audit[8934]: USER_END pid=8934 uid=0 auid=1000 ses=3
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_close
grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd acct="sudhir"
exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Jan 02 22:00:01 fedora audit[10494]: USER_ACCT pid=10494 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023
msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_localuser
acct="sudhir" exe="/usr/sbin/crond" hostname=? addr=? terminal=cron
res=success'
Jan 02 22:00:01 fedora audit[10494]: CRED_ACQ pid=10494 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023
msg='op=PAM:setcred grantors=pam_env,pam_unix acct="sudhir"
exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Jan 02 22:00:01 fedora audit[10494]: USER_START pid=10494 uid=0 auid=1000
ses=4 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_open
grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd acct="sudhir"
exe="/usr/sbin/crond" hostname=? addr=? terminal=cron res=success'
Jan 02 22:00:01 fedora audit[10494]: CRED_REFR pid=10494 uid=0 auid=1000 ses=4
subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred
grantors=pam_env,pam_unix acct="sudhir" exe="/usr/sbin/crond"
hostname=?
addr=? terminal=cron res=success'