Re: qpopper compile failure

2012-03-14 Thread David Southwell
On Tuesday 13 March 2012 07:23:37 Matthew Seaman wrote:
 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
Does that not produce problems with postfix?
How do we retain mailwrapper functionality?

spf was working fine until upgrading. What has changed? Atm I have spf turned 
off until I get this sorted.
David

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: qpopper compile failure

2012-03-14 Thread Matthew Seaman
On 14/03/2012 12:35, David Southwell wrote:
 Does that not produce problems with postfix?
 How do we retain mailwrapper functionality?

When you install postfix, it sets up /etc/mail/mailer.conf so that it
pipes any new mail into postfix.  Or, at least, it tells you what to put
in that file to achieve the required effect.  That's the point of
mailwrapper.  It lets you use whatever MTA you want to without having to
overwrite bits of the base system or make all sorts of non-portable changes.

 spf was working fine until upgrading. What has changed? Atm I have spf turned 
 off until I get this sorted.

That is a completely different problem, and nothing to do with the
presence or absence of mailwrapper as /usr/sbin/sendmail.  It's also
impossible to answer with no more information than it doesn't work.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: qpopper compile failure

2012-03-14 Thread Mel Flynn
On 3/13/2012 14: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.

Something severely wrong with your setup. It looks at several places for
sendmail and does not actually check if the program is a valid sendmail
or even executable, just that the file exists.
Not even sure where to start looking. I guess the following is a good start:
sh -c 'test -f /usr/sbin/sendmail  echo sendmail found'

If that works on the shell, take portupgrade out of the equation and run
make -C /usr/ports/mail/qpopper clean configure.

FWIW: rev 1.104 of mail/qpopper/Makefile works for me(tm), except for
the configure: WARNING: unrecognized options: --with-apopuid

-- 
Mel
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: qpopper compile failure

2012-03-14 Thread David Southwell
On Wednesday 14 March 2012 07:17:55 Mel Flynn wrote:
 On 3/13/2012 14: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.
 
 Something severely wrong with your setup. It looks at several places for
 sendmail and does not actually check if the program is a valid sendmail
 or even executable, just that the file exists.
 Not even sure where to start looking. I guess the following is a good
 start: sh -c 'test -f /usr/sbin/sendmail  echo sendmail found'
 
 If that works on the shell, take portupgrade out of the equation and run
 make -C /usr/ports/mail/qpopper clean configure.
 
 FWIW: rev 1.104 of mail/qpopper/Makefile works for me(tm), except for
 the configure: WARNING: unrecognized options: --with-apopuid
Here is what we have in response. As sendmail is in /usr/local/sbin a search 
in /usr/sbin fails:
[root@dns1 /usr/ports/mail/postfix-policyd-spf-perl]# sh -c 'test -f 
/usr/sbin/sendmail  echo sendmail found'
[root@dns1 /usr/ports/mail/postfix-policyd-spf-perl]# cd /usr/sbin/
[root@dns1 /usr/sbin]# ls -l |grep sendmail

whereis shows its location:
[root@dns1 /usr/sbin]# whereis sendmail
sendmail: /usr/local/sbin/sendmail /usr/local/man/man1/sendmail.1.gz 
/usr/src/usr.sbin/sendmail

And a modified search finds it:
[root@dns1 /usr/sbin]# sh -c 'test -f /usr/local/sbin/sendmail  echo 
sendmail found'
sendmail found
[root@dns1 /usr/sbin]# 

david
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: qpopper compile failure

2012-03-14 Thread Mel Flynn
On 3/14/2012 14:53, David Southwell wrote:
 On Wednesday 14 March 2012 07:17:55 Mel Flynn wrote:
 On 3/13/2012 14: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.

 Something severely wrong with your setup. It looks at several places for
 sendmail and does not actually check if the program is a valid sendmail
 or even executable, just that the file exists.
 Not even sure where to start looking. I guess the following is a good
 start: sh -c 'test -f /usr/sbin/sendmail  echo sendmail found'

 If that works on the shell, take portupgrade out of the equation and run
 make -C /usr/ports/mail/qpopper clean configure.

 FWIW: rev 1.104 of mail/qpopper/Makefile works for me(tm), except for
 the configure: WARNING: unrecognized options: --with-apopuid
 Here is what we have in response. As sendmail is in /usr/local/sbin a search 
 in /usr/sbin fails:
 [root@dns1 /usr/ports/mail/postfix-policyd-spf-perl]# sh -c 'test -f 
 /usr/sbin/sendmail  echo sendmail found'
 [root@dns1 /usr/ports/mail/postfix-policyd-spf-perl]# cd /usr/sbin/
 [root@dns1 /usr/sbin]# ls -l |grep sendmail

echo 'CONFIGURE_ARGS+=--sbindir=${PREFIX}/sbin'  \
/usr/ports/mail/qpopper/Makefile.local

See if that fixes things.
-- 
Mel
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: qpopper compile failure

2012-03-14 Thread David Southwell
On Wednesday 14 March 2012 07:17:55 Mel Flynn wrote:
 On 3/13/2012 14: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.
 
 Something severely wrong with your setup. It looks at several places for
 sendmail and does not actually check if the program is a valid sendmail
 or even executable, just that the file exists.
 Not even sure where to start looking. I guess the following is a good
 start: sh -c 'test -f /usr/sbin/sendmail  echo sendmail found'
 
 If that works on the shell, take portupgrade out of the equation and run
 make -C /usr/ports/mail/qpopper clean configure.
 
 FWIW: rev 1.104 of mail/qpopper/Makefile works for me(tm), except for
 the configure: WARNING: unrecognized options: --with-apopuid
Brilliant

That worked

David
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: qpopper compile failure

2012-03-14 Thread Mel Flynn
On 3/14/2012 17:27, David Southwell wrote:

 That worked

It worked to confirm my suspicions. I've filed a proper fix in:
http://www.freebsd.org/cgi/query-pr.cgi?pr=166108

-- 
Mel
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: qpopper compile failure

2012-03-13 Thread Matthew Seaman
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