On 13/03/2012 13:01, David Southwell wrote: > qpopper has been working fine (amd64 running postfix) but on portupgrade I am > Getting the following error: > > set MISSING_OBJS to base64.o > set MISSING_SRCS to base64.c > Set AR_FLAG = -r ; RANLIB_CMD = > checking for sendmail program... ERROR: The sendmail program cannot be located > ===> Script "configure" failed unexpectedly. > > > sendmail is > [root@dns1 /usr/ports/mail/qpopper]# whereis sendmail > sendmail: /usr/local/sbin/sendmail /usr/local/man/man1/sendmail.1.gz > /usr/src/usr.sbin/sendmail > > qpopper config log includes the following lines: > > > > PATH: /usr/local/kde4/bin > PATH: /sbin > PATH: /bin > PATH: /usr/sbin > PATH: /usr/bin > PATH: /usr/games > PATH: /usr/local/sbin > PATH: /usr/local/share/lprof > PATH: /usr/local/bin > PATH: /home/admin/bin > > Does anyone have any idea why this error might occur?
Yes. All unix apps that send e-mail expect to do it by piping the mail into /usr/sbin/sendmail. Despite the name, on FreeBSD that is not actually sendmail-brand sendmail, but mailwrapper(8) -- a handy program that redirects that piped input into the MTA of your choice. (sendmail q.v. is actually in /usr/libexec/sendmail/sendmail) Restore /usr/sbin/sendmail and verify that the contents of /etc/mail/mailer.conf are sane, and qpopper should spring into life again. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature