View Single Post
  #181 (permalink)  
Old 10-17-2009, 09:29 PM
chewitt chewitt is offline
Active Member
 
Posts: 30
Default

NB: The "(Unknown command: "sendmail=")" error at the end appears to be some reference to the part of the script that installs the dummy MTA during installation, shown below:

Code:
echo
        apt-get -y install mailx
        if [ "$?" -ne "0" ]
        then
            install_fail mailx
        fi
        echo
        echo "Writing config file "/etc/mail.rc""
	echo "set sendmail=$ZM_HOME"postfix/sbin/sendmail"" >> /etc/mail.rc
        else
            echo "This script would like to send you a mail or two... so please install a dummy mta for your Distro"
	    echo
I'm not sure why that should be invoked in the runtime portion of the script.. it's a bit odd.
Reply With Quote