Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
sudo apt-get -y remove sendmail}}
'''NOTE:''' During install of postfix, a popup box may display. If it does, select '''OK''' and then '''''Internet''''' . Add your domain name (i.e. home.com) and then select '''OK'''.
Execute the following to update /etc/postfix/main.cf:
{{Code|sudo /etc/init.d/postfix restart}}
Now try sending a mail, it should reach your Gmail account(change user to match your account name):
{{Code|echo "This is Content" <nowiki>|</nowiki> sudo mail -s "This is subject" user@gmail.com}}
12,424

edits