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: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Mon Apr 03 2006 - 16:19:00 CDT


On Mon, Apr 03, 2006 at 06:55:55PM +0200, Marcel de Reuver wrote:

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

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.