Postfix, SMTP Server, Jaguar 10.2.8
Trying to install "Postfix" to allow me to send emails using a local SMTP server. I am following the instructions available here:
Postfix Instructions
I hhave downloaded Postfix 2.1.5 from Postfix and then gone through the instructions. On entering the second command
newaliases
I get the following message:
newaliases: warning: valid_hostname: misplaced delimiter: Chris-Hindss-Computer.local.
newaliases: fatal: unable to use my own hostname
if I then continue and compile Postfix it compiles fine (logged in as Administrator) but when I come to edit main.cf in Pico it tells me that it cannot save to the file main.cf which I assumed to be a permissions issue. I tried again logged in as the "root" user and this time Postfix had errors on compiling.
Has anyone managed to get this working and established what is wrong. Here are the instructions I am using without the waffle:
sudo touch /etc/aliases # create empty aliases file if necessary
newaliases
cd
cd Desktop
cd postfix-2.1.5
make
cd auxiliary/MacOSX
sudo ./backup-sendmail-binaries
sudo ./niscript
cd ..
cd ..
sudo make install
I then follow all default selections, including setting setgid to "maildrop"
pico /etc/postfix/main.cf
I then cannot save the changes to main.cf
mkdir /Library/StartupItems
sudo ./backup-postfix-binaries
sudo ./activate-postfix
The last two steps fail also.
Any help will be greatly appreciated
Thanks
Chris
Postfix Instructions
I hhave downloaded Postfix 2.1.5 from Postfix and then gone through the instructions. On entering the second command
newaliases
I get the following message:
newaliases: warning: valid_hostname: misplaced delimiter: Chris-Hindss-Computer.local.
newaliases: fatal: unable to use my own hostname
if I then continue and compile Postfix it compiles fine (logged in as Administrator) but when I come to edit main.cf in Pico it tells me that it cannot save to the file main.cf which I assumed to be a permissions issue. I tried again logged in as the "root" user and this time Postfix had errors on compiling.
Has anyone managed to get this working and established what is wrong. Here are the instructions I am using without the waffle:
sudo touch /etc/aliases # create empty aliases file if necessary
newaliases
cd
cd Desktop
cd postfix-2.1.5
make
cd auxiliary/MacOSX
sudo ./backup-sendmail-binaries
sudo ./niscript
cd ..
cd ..
sudo make install
I then follow all default selections, including setting setgid to "maildrop"
pico /etc/postfix/main.cf
I then cannot save the changes to main.cf
mkdir /Library/StartupItems
sudo ./backup-postfix-binaries
sudo ./activate-postfix
The last two steps fail also.
Any help will be greatly appreciated
Thanks
Chris
Comments
postalias: fatal: open database /etc/aliases.db: Permission denied
doesn't matter if I add "sudo" before the command either. Haven't tried with being logged in as root. More info for the fire...
Regards
Chris