-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear All,
I am experiencing strange misbehavior with maildrop. There is following
rule in maildroprc:
exception {
`test -f $YAA_FLAGS/$LOGNAME.yaa`
if ( $RETURNCODE == 0 )
{
log "size - $SIZE"
cc "| /some/perl/script.pl"
}
}
When IF expression is true maildrop should pass a copy of the message to
the perl script and it does... But when the message size is bigger than
approximately 66000 bytes I have a lot of following errors (note the size,
it is about 66000 but it is wrong, the real size is bigger):
size - 138194
Date: Tue Mar 14 20:05:18 2006
From: Bla <bl...@example.com>
Subj: big test
!Err: | /usr/local/yaa/bin/yaa.pl (66703)
size - 138194
Date: Tue Mar 14 20:16:58 2006
From: Bla <bl...@example.com>
Subj: test
!Err: | /usr/local/yaa/bin/yaa.pl (66639)
Due to EXCEPTION the message is actually delivered by maildrop because I
have final TO "$DEFAULT" line and the perl script works exactly as it is
expected... But due to the error (error code 255) senders receive and
bounce notification with "command died with status 255 /usr/local/bin/
maildrop. Command output: maildrop: error writing to mailbox."
Thank you in advance for your help and advice.
iD8DBQFEFw71Zs8eJVTbpGERAu2pAKDrHQkG/SLS0VrJdpB2tGbcD3khnACfStL7
F+uaL435dz0L82dql1JYmM0=
=zTbr
-----END PGP SIGNATURE-----