OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: After queue filter in 2.3-20060325

From: Marcel de Reuver (marcelde.reuver.org)
Date: Mon Apr 03 2006 - 17:11:21 CDT


> > > postlog -t postfix/disclaimer.sh -- my commandline: $0 "$"
> > > postlog -t postfix/disclaimer.sh -- sendmail commandline:
>
> > Apr 3 18:34:09 mailhost postfix/smtpd[77786]: connect from
> > xxx[192.168.10.26] Apr 3 18:34:09 mailhost postfix/smtpd[77786]:
> > D4DF147309C:
> > client=xxx[192.168.10.26]
> > Apr 3 18:34:09 mailhost postfix/cleanup[77789]: D4DF147309C:
> > message-id=<697F49EF1A9CCA4888C808AA1C020C8805C55Fxxx>
> > Apr 3 18:34:09 mailhost postfix/smtpd[77786]: disconnect from
> > xxx[192.168.10.26] Apr 3 18:34:09 mailhost postfix/qmgr[77686]:
> > D4DF147309C:
> > from=<m.de.reuverxxx>, size=793, nrcpt=1 (queue active) Apr 3
> > 18:34:10 mailhost postfix/disclaimer.sh: my commandline:
> > /usr/local/etc/postfix/disclaimer.sh -f m.de.reuverxxx --
> > marcelde.reuver.org
>
> So far so good.
>
> > Apr 3 18:34:10 mailhost postfix/disclaimer.sh: sendmail
> commandline:
> > -f m.de.reuverxxx -- marcelde.reuver.org
>
> This too.
>
> > Apr 3 18:34:10 mailhost postfix/pickup[77685]:
> 743F9473213: uid=1008
> > from=<m.de.reuverxxx>
>
> O.K. submitted via the Postfix sendmail(1).
>
> > Apr 3 18:34:10 mailhost postfix/cleanup[77789]: 743F9473213:
> > message-id=<697F49EF1A9CCA4888C808AA1C020C8805C55Fxxx>
> > Apr 3 18:34:10 mailhost postfix/qmgr[77686]: 743F9473213:
> > from=<m.de.reuverxxx>, size=2037, nrcpt=2 (queue active) Apr 3
> > 18:34:10 mailhost postfix/qmgr[77686]: 743F9473213: to=<--xxx>,
> > orig_to=<-->, relay=none, delay=0.12, delays=0.08/0.05/0/0,
> dsn=5.1.3,
> > status=bounced (bad address syntax)
>
> What getopt() library did you link this sendmail(1) with?
> Test this on the command-line.
>
> /usr/sbin/sendmail -f you -- you
>
> When I run this, there is only one recipient. Your getopt()
> implementation appears to be broken (it does not set "optind"
> correctly). Another possibility is a broken compiler.
>

When I do this, I get 2 messages and one error message about a bad address
syntax.
I run and compile Postfix on FreeBSD v4.11 gcc v2.95.4
I compiled Postfix one more time and looked for warnings and errors, but
nothing....

Best regards,
Marcel