Re: Setting up sendmail to mail system messages on CentOS 6 and 7

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



> -----Original Message-----
> From: CentOS <centos-bounces@xxxxxxxxxx> On Behalf Of Fred Smith
> Sent: den 29 oktober 2018 03:23
> To: centos@xxxxxxxxxx
> Subject: Re:  Setting up sendmail to mail system messages on
> CentOS 6 and 7
> 
> On Mon, Oct 29, 2018 at 10:38:10AM +0900, マスターズ・イアン wrote:
> > On 2018/10/27 21:00, centos-request@xxxxxxxxxx wrote:
> > >I've previously configured sendmail to send system messages on selected
> > >servers running CentOS 6. Usually they just kinda' work out of the box. No
> > >problems to speak of.
> > >
> > >However most of my CentOS 7-servers are rather flakey when it comes to
> > >sendmail. Most of the time they just won't send mails for whatever
> reason.
> > >Further, most of the time I can get it working, it's usually about a
> > >firewall rule not set, the firewall not having been reloaded or some simple
> > >such.
> >
> > Another thing to try would be Postfix. I've always found that very easy to
> use and also requires almost no configuration:
> > https://www.server-world.info/en/note?os=CentOS_7&p=mail&f=1 (on
> the same site, a lot of very useful CentOS7 info)
> >
> > Usually for local servers, all I do is:
> > 1. Add root alias in /etc/aliases
> > 2. Run 'newaliases'
> > 3. Send test mail:
> > echo "test from `hostname`" | mail -s 'mail test' me@address
> >
> > That's all.
> >
> > ian
> 
> Probably not helpful, but I run a home mailserver, always used sendmail.
> Spent 15 years slowly accumulating a functioning sendmail.mc. When I
> bring up a new system I just carry over the sendmail.mc, compile it,
> restart sendmail and voila. EL7 was no different than EL6 in that regard.

Thanks, that actually helps for starters. No difference then.

--
//Sorin
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux