On 22.2.2012, at 10.03, Dag Nygren wrote:

> It would be nice BTW if dovecot added 
> the exit status it used in the log if it fails?

This wouldn't be very useful normally. If you see "Fatal" prefixed error from 
dovecot-lda, it's nearly always tempfail (75). If it crashes, the error is 
different, but then it wouldn't be able to log the error anyway.

> Will check the path out. Any way of forcing dovecot to return tempfail for 
> the 
> tests? Preferrably only for one user :-)

Run a script instead, something like:

#!/bin/sh

if [ $USER = "foo" ]; then
  exit 75
else
  exec .../dovecot-lda $@
fi

Reply via email to