On Wed, Dec 20, 2000 at 06:07:16PM -0500, [EMAIL PROTECTED] wrote:
> diggin thru my logs i find this in /var/log/qmail/smtpd
>
> 977352942.017873 tcpserver: ok 4501 usa.usaexpress.net:206.183.143.244:25
> zmamail02.zma.compaq.com:161.114.64.102::2564
> 977352942.017928 tcpserver: warning: dropping connection, unable to run
> /var/qmail/bin/qmail-smtpd-wrapper: exec format error
> 977352942.018301 tcpserver: end 4501 status 28416
> 977352942.018400 tcpserver: status: 23/40
>
> the contents of qmail-smtpd-wrapper is as follows.
Is this a cut-n-paste or did you type it into your mail message by hand?
If this is really what the script looks like, try adding a "!" after the
"#", as indicated.
> usa:/var/qmail/bin# cat qmail-smtpd-wrapper
> #/bin/bash
^----- add ! here, so it looks like this:
#!/bin/bash
> ulimit -d 1024
> exec /var/qmail/bin/qmail-smtpd ${1+"$@"}
> usa:/var/qmail/bin#
>
> i have a feeling that it may be caused by this line in my
> /etc/init.d/qmail file
>
> supervise /var/supervise/qmail/smtpd tcpserver -v
> -x/etc/tcp.smtp.cdb -u$QMAILDUID -g$NOFILESGID
> 0 smtp /var/qmail-smtpd-wrapper 2>&1
> | setuser qmaill accustamp | setuser qmaill cyclog /var/log/qmail/smtpd &
>
> the above is all on one line.
>
> i'm at wits end with this......can anyone help me out?
>
> ~kurth
>
-thl