[postfix-users] Re: pipe unable to parse dash flags in argv (resolved)

Wietse Venema wietse at porcupine.org
Sat Oct 2 06:45:17 PDT 2004


> > > There is no way to get it to associate the dash flags to sendmail and
> > > not pipe. (with quotes). escaping the dash just make sendmail think it's
> > > part of the $sender.
> > > 
> > > This is on freebsd4.10; postfix was installed from ports with all defaults.
> > 
> > You have linked Postfix with a brain dagaged GNU GETOPT routine.
> > 
> > Don't do that. Postfix requires that you use the system getopt
> > routine.

Peter C. Lai:
> Resolved now. (had to dig in the mailing list archives for the solution
> (built with -DPREPEND_PLUS_TO_OPTSTRING). Would the port maintainer please
> add this to postfix/Makefile:
> 
> detect for libgnugetopt (libgnugetopt.so) installed, and if detected:
> add -DPREPEND_PLUS_TO_OPTSTRING to POSTFIX_CCFLAGS.

I REPEAT: YOU HAVE LINKED POSTFIX WITH A BRAIN DAGAGED GNU GETOPT ROUTINE.

DON'T DO THAT. POSTFIX REQUIRES THAT YOU USE THE SYSTEM GETOPT
ROUTINE.



More information about the freebsd-ports mailing list