-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Udo Rader schrieb:
procmail for example could make you happy here (man procmailex).
May be, but I'm using dovecots deliver.
another (more sane) option would be to write the list of newly created users into a file/database/... and have a cronjob loop over this list, create the skeleton things you need and finally remove the user if the creation was successfull. Yet keep in mind that cron jobs are executed once a minute at most, so the time between creating the user and the cronjob running might cause some mails getting in before your user has been correctly "initialized".
If the cronjob will be executed every minute, the chance for some mails getting in before the maildir has been created will be very low, because the created alias has to be synchronized to the mailrelay first. This happens every 15 minutes.
I think the cronjob approach will be the best solution.
Sebastian Ganschow Königsberger Str. 17 45770 Marl Germany
Phone: +49 2365 9 24 96 76 Mobile: +49 172 2 47 41 44 Mail: sebastian@ganschow.name -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGuMbIKWhY+QthhLYRAr0oAJ95wCphT67fVKJUZS05mxKqBVlKkwCdG1IG /ble5it+wMW7rF7YVxKps9Q= =WkL8 -----END PGP SIGNATURE-----