OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [postfix-users] Re: pipe unable to parse dash flags in argv (resolved)

From: Wietse Venema (wietseporcupine.org)
Date: Sat Oct 02 2004 - 08:45:12 CDT


> > > 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.