* El Sat, Feb 20, 2010 at 10:04:59AM -0500, escribiste:
> > > > >> WIthout changes to the existing configuration of 2.6.5 I get this 
> > > > >> error
> > > > >> using procmail as my mailbox_command:
> > > > >> Feb 19 18:34:29 adrianvb postfix/local[14290]: BD85F7006D: 
> > > > >> to=<adr...@adrianvb.xs4all.nl>, orig_to=<root>, relay=local, 
> > > > >> delay=0.03, delays=0.02/0/0/0.01, dsn=5.3.0, status=bounced (Command 
> > > > >> died with status 126: "/usr/bin/procmail". Command output: 
> > > > >> /usr/bin/procmail: /usr/bin/procmail: cannot execute binary file )
> > > > >> Anyone any ideas???
> 
> I can reproduce this error message with:
> 
>     $ /bin/bash /usr/bin/procmail
> 
> This suggests that you have:
> 
> /etc/postfix/main.cf:
>     local_command_shell = /bin/bash
> 
> The proper syntax is for command execution with bash is:
> 
> /etc/postfix/main.cf:
>     local_command_shell = /bin/bash -c
> 
> (as the manpage example suggests with its smrsh example).
AHA, now we're cooking. This actually works perfectly!!!
THis should be suggested for /bin//bash as well in the documentation.

Thanks Wietse, I knew you would give the answer!!!


> 
>       Wietse

-- 
        Adrian P. van Bloois
Postbus 2575                 email:   adr...@accu.uu.nl
3500 GN  Utrecht             voice:   +31-(0)-30-68-94649
The Netherlands              fax:     +31-30-68-94649

The whole point of cooking is to get as much flavour out of the
ingredients as possible.
        -- Delia Smith

Reply via email to