Article 4YY3J Send email from server failure

Send email from server failure

by
hatfani
from LinuxQuestions.org on (#4YY3J)
Dear all,

I am trying to send an email to my gmail account by this command
Code:sendmail user@example.com < /wall.txtwall.txt input:
Hi it's me
bye

anyhow, at first it gave me this error:
postconf: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol.
So I change inet protocols in /etc/postfix/main.cf from "all" to "ipv4" and ran a restart Code:service postfix restartAfter the restart, I used my sendmail command again and it didn't give any error but I also didn't receive any email.
I tried to use other commands like mail, mailx to no avail.
Any help?
Thank you.latest?d=yIl2AUoC8zA latest?i=NIUe9KrDtn0:vAY0iKCik6c:F7zBnMy latest?i=NIUe9KrDtn0:vAY0iKCik6c:V_sGLiP latest?d=qj6IDK7rITs latest?i=NIUe9KrDtn0:vAY0iKCik6c:gIN9vFwNIUe9KrDtn0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments