local mail broken and cannot mail outside server
I have just installed Ubuntu 16.04 Server on a 32-bit machine. I have two problems:
1) I cannot mail outside the server to the outside world. Can someone give me some instructions on how to config the appropriate conf file? How do I open ports 465 or 587 by command line?
2) I initially was able to mail local users until I messed up the system possibly deleting mailutils or its dependencies trying to install and uninstalled ssmtp. So I reinstalled mail utils:
> sudo apt-get install mailutils
>mail tearsforhari
Although the mail appears to be going through the motion, I do not get mail now.
>no mail for tearsforhari
I also tried
>sudo apt-get install postfix,
but the mail still does not work.
I'm lost and need to start from scratch to repair the system's mail.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: