Re: f21 - dead.letter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, still no mail. Something else is needed. The dead.letter in /root ends with:


=====================================================


 ###################### Logwatch End #########################



/etc/cron.daily/0logwatch:

sendmail: Cannot open mail:25

=====================================================

But I see:

=====================================================


# netstat -na|grep 25
tcp        0      0 127.0.0.1:25            0.0.0.0:* LISTEN
tcp6       0      0 ::1:25                  :::* LISTEN

=====================================================


Digging a little deeper in journalctl I find:

Jan 04 03:01:07 lx120e.htt-consult.com sSMTP[16108]: Unable to locate mail
Jan 04 03:01:07 lx120e.htt-consult.com sSMTP[16108]: Cannot open mail:25
Jan 04 03:01:07 lx120e.htt-consult.com CROND[16019]: (rgm) MAIL (mailed 298 bytes of output but got status 0x0001

Jan 04 03:36:01 lx120e.htt-consult.com anacron[16050]: Job `cron.daily' started Jan 04 03:36:01 lx120e.htt-consult.com run-parts[16323]: (/etc/cron.daily) starting 0logwatch
Jan 04 03:36:09 lx120e.htt-consult.com sSMTP[16551]: Unable to locate mail
Jan 04 03:36:09 lx120e.htt-consult.com sSMTP[16551]: Cannot open mail:25
Jan 04 03:36:12 lx120e.htt-consult.com anacron[16050]: Job `cron.daily' terminated (mailing output)
Jan 04 03:36:12 lx120e.htt-consult.com sSMTP[16747]: Unable to locate mail
Jan 04 03:36:12 lx120e.htt-consult.com sSMTP[16747]: Cannot open mail:25
Jan 04 03:36:12 lx120e.htt-consult.com anacron[16050]: Tried to mail output of job `cron.daily', but mailer process (/usr/sbin/sendmail) exited with status 1 Jan 04 03:36:12 lx120e.htt-consult.com anacron[16050]: Normal exit (1 job run)


So I check up on postfix:

# systemctl -l status postfix
  postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled)
   Active: active (running) since Sat 2015-01-03 21:31:19 EST; 10h ago
Process: 11692 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS) Process: 11689 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS) Process: 11684 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=1/FAILURE)
 Main PID: 11765 (master)
   CGroup: /system.slice/postfix.service
           ├─11765 /usr/libexec/postfix/master -w
           ├─11767 qmgr -l -t unix -u
           └─18797 pickup -l -t unix -u

Jan 03 21:31:18 lx120e.htt-consult.com aliasesdb[11684]: newaliases: In sSMTP aliases are read from a plain text file Jan 03 21:31:18 lx120e.htt-consult.com aliasesdb[11684]: touch: failed to get attributes of ‘/etc/aliases.db’: No such file or directory Jan 03 21:31:19 lx120e.htt-consult.com postfix/master[11765]: daemon started -- version 2.11.3, configuration /etc/postfix


Then try to create aliases.db from the /etc/aliases that I had edited to add routing root's mail to rgm:

# newaliases
newaliases: In sSMTP aliases are read from a plain text file



??? Huh?

Advice here would be greatly appreciated. Looks like eventhough they added postfix back into the default build (remeber in F20 where they cut it?), it is not ready to run 'out of the box'.




On 01/03/2015 09:56 PM, Robert Moskowitz wrote:
I just noticed that I am getting my logwatch email dropped off as dead.letter under /root.

And that my personal cron rsync is also coming as dead.letter under /home/rgm/

It seems that postfix is not running by default:

# systemctl status postfix
  postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/postfix.service; disabled)
   Active: inactive (dead)

so I enabled and started postfix.

Is that what I need to do, and all I need to do?

I would like things to work tonight when cronie kicks off its jobs.






--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux