[Dovecot] Virtual user and post-login 2.0.13

Timo Sirainen tss at iki.fi
Mon Aug 29 06:20:54 EEST 2011


On Sat, 2011-08-27 at 16:54 +0200, Pelle Svensson wrote:
> dovecot-postlogin.sh    (executed as root)
> =============
> #!/bin/sh
> 
> date >>/home/fetchmail/script.log
> 
> kill -s 10 `cat /home/fetchmail/.fetchmail.pid | head -n 1` >>/home/fetchmail/script.log
> 
> exit 0

exec "$@", not exit 0 as http://wiki2.dovecot.org/PostLoginScripting
shows.




More information about the dovecot mailing list