Hey guys, at work, mpack is working great. I can email my log files. Now, I am trying to replicate the same at home.
I have log files I am trying email myself using mpack. I know I need to install mailutils and ssmtp and configure the /etc/ssmpt/ssmtp.conf file.
when I echo "testingtesting" | mail -s "test"
testing@gmail.com
i get this error
mail: cannot send message: Process exited with a non-zero status
as for my ssmtp.conf it looks like this (i also chown willc86:willc86 and chmod 775 ssmtp.conf)
willc86@venus:~$ cat /etc/ssmtp/ssmtp.conf
root=postmaster
mailhub=smtp.gmail.com:587
hostname=venus.gateway.pace.com
FromLineOverride=YES
AuthUser=testing@gmail.com
AuthPass=testing
UseSTARTTLS=YES
any idea why it is not sending mail for me? Am I missing something? I tried a few articles and it seems like I have done everything correctly; so I am a bit stuck on this
another clue; when I run the mpack command, I get this error
sendmail: Authorization failed (534 5.7.14
https://support.google.com/mail/answer/78754 j1sm1843724obj.19 - gsmtp)
thanks for the help guys!