My mistake. I had the backslash in there to continue on to the next
line, but didn't notice that the <cr> wasn't in there (it was being line
wrapped). Should've been:
~vpopmail/bin/vpopbull -n -V \
| ezmlm-sub ~vpopmail/domains/domainname.net/mailinglistname
I think this is actually better. More logical to break the line before
the pipe (|), and continuations should be indented for readability.
I hate lines that are really long. Probably comes from IBM punch card
daze. ;)
--
-Eric 'shubes'
Scott Hughes wrote:
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?
---------------------------------------------------------------------------------
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]