Okay - it does work, but the slash after ezmlm-sub was throwing it off. Here is the updated script and the wiki has been modified as well:

#!/bin/sh

# 06/15/2010 - 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 and then import it into ezmlm mailing list
# The next line MUST be all on one line for the script to work correctly!
~vpopmail/bin/vpopbull -n -V | ezmlm-sub ~vpopmail/domains/domainname.net/mailinglistname

exit 0
</pre>

Thanks!

Scott


On 6/5/10 2:25 PM, Eric Shubert wrote:
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?

Reply via email to