#!/bin/sh
for user in `dbmail-users -l |grep -Ev 'anyone|public|^__|^--'|cut -f1
-d:`; do
echo "From: nobody"|dbmail-smtp -u $user -m ShinyNewMailbox
done
Jon Duggan wrote:
> Before I pull my sleeves up and start hacking together some SQL - is there
> an easy way to add an imap folder to *every* user account on the system (not
> shared, just of the same name), provided it doesn't already exist ofcourse?
> If not, does anyone already have the SQL for this?
>
> It would be nice if all new accounts created had this folder by default - is
> this possible?
>
> We're running 2.2 w/mysql 5
>
> Cheers
>
> Jon
>
>
> _______________________________________________
> DBmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>
--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail