I have an EC2 instance using Ubuntu 14.04 which is where I want to send email from. I tested it by sending an email:
echo "This is the body of the email" | mail -s "This is the subject line " firstname.lastname@example.org
But it gave me an error:
Segmentation fault (core dumped)
/var/log/syslog and found this:
Sep 25 09:26:47 my-server-hostname kernel: [321695.640722] mail: segfault at c0 ip 00007f58c4d5318e sp 00007ffdfc146f90 error 4 in libmailutils.so.4.0.0[7f58c4ccf000+a9000]
What should i do to fix this?
I don't know if this is relevant to this question, but I used a dynamic DNS address from duckdns and during the postfix setup,
"mydomainname.duckdns.org" in the
'System mail name' field.