I can't install the ssmtp port:
this gives error:
So I tried:
and got the same error.
Then I tried:
1.
2.
and got the same error.
I downloaded the distfile from the Debian site:
and after extracting to a dir and:
1.
2.
3.
I get this result with error at the end:
ssmtp.conf isn't generated but all other dir's/files before it are.
Does this imply the port can't be fetched because it has been removed as it has a hostname related error in its configure file?
More importantly - what are my options to install ssmtp?
My goal is to replace sendmail on a web server with ssmtp, which will forward mail to a mail server that has been successfully built using the PurpleHat guide here:
While I'm here, as I'm a noob with email servers - if anyone has setup forwarding mail to a mail server like in the link (Dovecot, Postfix, ... using SSL,TLS) - your advice would be appreciated.
Code:
cd /usr/ports/mail/ssmtp/ && make install replace clean
this gives error:
Code:
Couldn't fetch it - please try to retrieve this...
So I tried:
Code:
make distclean
and got the same error.
Then I tried:
1.
Code:
rm -f distinfo
Code:
make makesum
and got the same error.
I downloaded the distfile from the Debian site:
Code:
fetch http://ftp.de.debian.org/debian/pool/main/s/ssmtp/ssmtp_2.64.orig.tar.bz2
and after extracting to a dir and:
1.
Code:
./configure
Code:
make
Code:
make install replace clean
I get this result with error at the end:
Code:
/usr/bin/install -c -d -m 755 /usr/local/sbin
/usr/bin/install -c -s -m 755 ssmtp /usr/local/sbin/ssmtp
/usr/bin/install -c -d -m 755 /usr/local/man/man8
/usr/bin/install -c -m 644 ./ssmtp.8 /usr/local/man/man8/ssmtp.8
/usr/bin/install -c -d -m 755 /usr/local/etc/ssmtp
/usr/bin/install -c -m 644 ./revaliases /usr/local/etc/ssmtp/revaliases
./generate_config /usr/local/etc/ssmtp/ssmtp.conf
hostname: illegal option -- -
usage: hostname [-fs] [name-of-host]
*** Error code 1
Stop in /usr/ports/mail/ssmtp/temp/ssmtp-2.64.
ssmtp.conf isn't generated but all other dir's/files before it are.
Does this imply the port can't be fetched because it has been removed as it has a hostname related error in its configure file?
More importantly - what are my options to install ssmtp?
My goal is to replace sendmail on a web server with ssmtp, which will forward mail to a mail server that has been successfully built using the PurpleHat guide here:
Code:
http://www.purplehat.org/?page_id=4
While I'm here, as I'm a noob with email servers - if anyone has setup forwarding mail to a mail server like in the link (Dovecot, Postfix, ... using SSL,TLS) - your advice would be appreciated.