Re: F20 Where's my system mail?

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

 



Around 04:47pm on Thursday, April 10, 2014 (UK time), Arthur Dent wrote:

> OK - So if just do "yum install sendmail" will everything work as
> before? Or will I have to spend a fortune on coffee and pizzas as I sit
> up night after night trying to configure it?

Not a fortune, but you need to tinker a little. I have my own CentOS
server on my network which is my actual mail server, and my instructions
for each time I install Fedora are as follows:

  Edit /etc/mail/sendmail.mc and add the following lines, typically
  where there commented out template is. The MAIL_HUB line follows the
  'SMART_HOST line and causes mail that would have otherwise have been
  sent to a local user to be sent to the network's mail server. The
  EXPOSED_USER line needs to be deleted or commented out to allow root
  to send masqueraded emails.

    ...
    define(`SMART_HOST', `flounder.stevesearle.com')
    define(`MAIL_HUB', `relay:flounder.stevesearle.com')
    ...
    dnl #EXPOSED_USER(`root')dnl
    ...
    MASQUERADE_AS(`stevesearle.com')
    ...
    FEATURE(masquerade_envelope)
    ...

  Regenerate /etc/mail/sendmail.cf. The sendmail-cf package must be
  installed for this, and no warnings are displayed if it isn't installed.

    # make -C /etc/mail

  Restart sendmail.

    # systemctl restart sendmail.service

  Edit /etc/aliases so that root's email is redirected to my account.

    ...
    root:    steve

  Run newaliases for the change to be shown through sendmail.

    # newaliases

I assume you need to have your SMART_HOST and MAIL_HUB lines refering to
your ISP's mail server if you want the emails passed on to there.

Steve

-- 
 
Website:  www.stevesearle.com

 17:36:11 up 13 days,  6:48,  1 user,  load average: 1.11, 1.03, 1.01

Attachment: pgpQ5xXbO0Iw_.pgp
Description: PGP signature

-- 
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