The current ssmtp ebuild (ssmtp-2.38.14-r1) creates a symlink to the sendmail program from /usr/bin/mail. This should be removed as the sendmail command does not support the same syntax as the mail command. This also overrides the /bin/mail command (due to PATH order) provided by the mailx ebuild (which does support the mail command syntax correctly) This "issue" can be simply resolved by removing the following line from the ebuild. dosym /usr/sbin/ssmtp /usr/bin/mail I will attach a new ebuild with this change performed. - Mike
Created attachment 3639 [details] Updated ebuild to fix /usr/bin/mail symlink issue
Attachment should have been called: ssmtp-2.38.14-r2.ebuild - Sorry.
The ebuild has been updated. It should be available in portage within 24 hours. I did not make a new revision as it is not a significant enough change in the ebuild. Thanks for reporting the bug!