Reputation
234
Top tag
Next privilege 250 Rep.
View close votes
Badges
2 8
Newest
 Necromancer
Impact
~37k people reached

  • 0 posts edited
  • 0 helpful flags
  • 58 votes cast
May
14
awarded  Necromancer
Apr
20
awarded  Commentator
Apr
20
suggested rejected edit on Unable to Telnet into port 25 on CentOS PostFix Server
Apr
20
comment Unable to Telnet into port 25 on CentOS PostFix Server
This helped me (although I used inet_interfaces = all), but the file to edit is actually /etc/postfix/main.cf, not master.cf (the latter does not have the inet_interfaces parameter). I've edited your answer to reflect this.
Apr
6
awarded  Yearling
Jan
19
comment Postfix relay for gmail sending as root
Also, note that changes to the /etc/aliases files (at least for postfix, not sure about sendmail) require: /bin/newaliases ; service postfix restart #(or whatever you use to restart postfix on your distro). That aliases change ensures emails to root on your system get sent to admin@mydomain instead. Then, @c4f4t0r's answer ensures that the from message is also set to something valid, since some servers (e.g. Amazon SES) will reject the default root@localdomain.
Jan
14
answered RHEL SELinux blocking Apache access to PostgreSQL
Nov
26
revised How to override the hostname that DHCP configures on a CentOS7 box in AWS?
added note referring to related question on Fedora.
Nov
26
comment How to override the hostname that DHCP configures on a CentOS7 box in AWS?
This question was answered for a different distro, and was answered in a slightly different way. I understand why you'd want your answer to be definitive, but I think it's a little unfair to close this question as "duplicate." Maybe "similar" is more accurate.
Nov
26
awarded  Scholar
Nov
26
revised How to override the hostname that DHCP configures on a CentOS7 box in AWS?
grammar fix
Nov
26
accepted How to override the hostname that DHCP configures on a CentOS7 box in AWS?
Nov
26
comment How to override the hostname that DHCP configures on a CentOS7 box in AWS?
:-) Posted the steps I took. Please share the upvote love. :-D
Nov
26
answered How to override the hostname that DHCP configures on a CentOS7 box in AWS?
Nov
26
comment How to override the hostname that DHCP configures on a CentOS7 box in AWS?
HA! "mental." Yes, I was livid after spending hours HOURS on this problem. EC2's support hasn't helped yet either, telling me to try hostnamectl and nmcli, neither of which persisted the name on reboot. BUT! Your answer made me dig into how to make could-init override the hostname, and, by golly, IT WORKED! Hallelujah! THANK YOU. I'd accept your answer, but I think there are probably reasons to keep cloud-init installed, so I'm posting what to do.
Nov
25
awarded  Student
Nov
25
awarded  Tumbleweed
Nov
18
revised How to override the hostname that DHCP configures on a CentOS7 box in AWS?
added 106 characters in body
Nov
18
asked How to override the hostname that DHCP configures on a CentOS7 box in AWS?
Nov
18
comment Override DHCP hostname on RHEL5/CentOS/Amazon Linux
Unfortunately, this does not seem to work on CentOS7 (on AWS, with SELinux enabled, even with correct contexts). :-(