How about this?:
~vpopmail/bin/vpopbull -n -V | ezmlm-sub \
~vpopmail/domains/domainnamehere.net/mailinglistnamehere
No temporary file (left over) that way. ;)
Will ezmlm-sub overlay an existing mailing list, or complain?
--
-Eric 'shubes'
Scott Hughes wrote:
Okay - Here is my script that I put into /etc/cron.hourly :
#!/bin/sh
# 06/15/2110 - Scott Hughes <[email protected]>
# Initial creation of script to create an import text file of all
# users on system and then import it into an already created
# ezmlm mailing list.
echo "All user mailing list generation..."
# Generate mailing list import file
/home/vpopmail/bin/vpopbull -n -V > ~/alluserslist.txt
# Import List into ezmlm mailing list
ezmlm-sub /home/vpopmail/domains/domainnamehere.net/mailinglistnamehere
< ~/alluserslist.txt
exit 0
Please remember that before this will work, your mail list must ALREADY
be created or the second part (ezmlm line) will fail.
I hope this helps other that have been looking to do this like I have.
If anyone should see a way to improve this, please let us know.
Scott
On 6/4/10 7:11 PM, Jake Vickers wrote:
On 06/03/2010 06:50 PM, Scott Hughes wrote:
One of the utilities that the QMT Admin has is a 'Send Email to Users
(Email Users-0.5)' button.
Does this email ALL users on ALL domains?
Thanks,
Scott
It does, but there was an issue in the PHP code at some point in the
past, which is why it's not installed by default.
Look back in the archives and you should find where the corrected code
was posted (I believe this was Lucian that posted the diff code)
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]