Hi. I am looking how to use mail command, found some pages and tried to install mailutils and after that used the option, no configuration..
sudo apt-get install mailutils
whatever i did, ended up with a failure message such as:
ginger@multilayer:~$ mail -s "hello world" email@example.com < letter.txt
mail: cannot send message: Process exited with a non-zero status
Is it due to my firewall settings? It is like this.
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
22 ALLOW IN Anywhere
21/tcp ALLOW IN Anywhere
10999 ALLOW IN Anywhere
11001 ALLOW IN Anywhere
22 (v6) ALLOW IN Anywhere (v6)
21/tcp (v6) ALLOW IN Anywhere (v6)
10999 (v6) ALLOW IN Anywhere (v6)
11001 (v6) ALLOW IN Anywhere (v6)
Any help would be appreciated..