Mail not working on DietPi
I have been using the terminal command 'mail' on my Ubuntu PC to send emails. To get it working I installed it using:
Code:
sudo apt install mailutils Code:
mail -s "Hello Friend" myaddress@gmail.com I tried the same install on my Raspberry Pi running DietPi and although it appears to install OK and I do not get an error message when I send an email, it never works. Is there a different way to get it installed/working on DietPi? Many thanks Tim |
Hi there,
The installation steps should be fine. Have you looked at the logs (most likely in /var/log/mail)? This should tell you whether the message was delivered to the destination server or not. Also, have you checked whether the mail might still be stuck in the local queue? Check by running "sudo mailq". Lastly, did you check that it is not perhaps filtered as spam at the destination? |
Thanks for the reply.
The mail queue is empty. I cant see any mail logs under /var/log/ would it be anywhere else? Many thanks for the help Tim Quote:
|
All times are GMT -5. The time now is 07:55 PM. |