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