in reply to (OT) help - convert sendmail to qmail

I don't know about qmail but I do know that smail and exim deliberately emulate all the command line options of sendmail to make it easy to replace sendmail.

Try just replacing your calls (or put a in a symbolic link from sendmail to qmail and leave your script alone). My guess would be that it will work. (always assuming that qmail is correctly configured of course)

Replies are listed 'Best First'.
Re: Re: help - convert sendmail to qmail
by behroozi (Beadle) on Jan 05, 2003 at 06:05 UTC
    This is not quite accurate, but very close. Qmail comes with a wrapper (in /var/qmail/bin/sendmail, or in the bin directory of wherever you installed Qmail) that emulates sendmail nicely.
      If i change the sendmail path and in that place if i keep /var/qmail/bin/sendmail... will it work? Thanks for your comment
        I'm not sure what you mean. All you have to do is put a symlink in place of the normal sendmail binary that points to /var/qmail/bin/sendmail, e.g.,

        mv /usr/bin/sendmail ~/sendmail.old
        ln -s /var/qmail/bin/sendmail /usr/bin/sendmail

        (or wherever you have sendmail installed; some distros have it in /usr/sbin).

        All will then work nicely, without changing anything else relating to sendmail.