{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » SendMail Link On QMAIL
SendMail Link On QMAIL
Now let’s remove any old sendmail symbolic links…
rm -f /usr/lib/sendmail
rm -f /usr/sbin/sendmail
Now we will need to set up an “artificial” sendmail, which is just a symbolic link to qmail’s “sendmail”. Qmail is equipped with it’s own “sendmail” binary at /var/qmail/bin/sendmail, which is merely a direct inject into qmail.
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
That’s it! If all has gone well, sendmail should be uninstalled and the qmail sendmail should be in its place. A listing of the 2 sendmail symbolic links should look like this:
—–
Dirangkum :
—-
#!/bin/bash
dpkg –force-depends –purge exim4 exim4-base exim4-config exim4-daemon-light xmail bsd-mailx mailx libmail-sendmail-perl
rm -f /usr/lib/sendmail
rm -f /usr/sbin/sendmail
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
qmailctl restart
Filed under: 7. Operating System