[Dovecot] dovecot.index mtime

pod pod at herald.ox.ac.uk
Tue Nov 13 14:41:56 EET 2007


>>>>> "BH" == Benjamin R Haskell <dovecot at benizi.com> writes:

    BH> Since you're not doing anything protocol-specific (like echo "* OK
    BH> [ALERT] Blah"), you could use the symlink trick to only require
    BH> one script:

    BH> ln -s /path/script /path/imap
    BH> ln -s /path/script /path/pop3

    BH> Then replace the exec with:
    BH> exec /usr/libexec/dovecot/`basename $0`

I was thinking about the "-l imap" in the sessreg invocation but clearly
one could use `basename $0` to handle that too.  My preference is to avoid
scripts whose behaviour is determined by the name by which they were
invoked.


More information about the dovecot mailing list