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.


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.