Re: [xmail] Email all local accounts?

2011-11-18 Thread Fred
tenance_mail($account)) { echo "Error sending mail to " . $account; exit; } } echo "Email sent to " . count($accounts) . " accounts.\n"; exit; ?> From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.

Re: [xmail] Email all local accounts?

2011-11-18 Thread Ivo Smits
Hi, I don't think this is directly supported. You can generate a list of e-mail addresses from the mailusers file, for example using this command on linux: cat mailusers.tab | sed -n 's/^"\([^"]*\)"\t"\([^"]*\)"\t.*$/\2@\1/p' You could write the output to a file and pass it to sendmail using

[xmail] Email all local accounts?

2011-11-18 Thread Fred
Hey guys, Quick question; is there a way to broadcast an email to all XMail accounts on a single server? I need to inform everyone, about 800 accounts, that I will do hardware maintenance this week-end. Thanks ___ xmail mailing list x