On Wednesday 12 January 2005 12:56 am, Tom Collins wrote:
> On Jan 11, 2005, at 5:01 PM, Jeremy Kitchen wrote:
> > you can only do this from the command line.  Uploading a list is one
> > of the
> > things I'd like to do with qmailadmin, but I haven't gotten around to
> > figuring it out yet :)
>
> It's on my to do list.  It isn't as easy as you'd think, because if you
> try to add 100 addresses and the 15th one fails, you need a way to know
> that the other 85 weren't added.
>
> My thought it to pass each address to ezmlm-sub individually and check
> the exit code.  Then, keep track of the addresses that failed and
> display them again on the "add multiple subscribers" page.

sounds like a good idea.  I'm not sure how the code works, but you might want 
it to continually stream that information back to the client so if they're 
uploading a large list their client doesn't time out waiting for the results.

> > to do it manually:
> > /path/to/ezmlm-sub ~vpopmail/domains/example.com/list <
> > /file/of/addresses
>
> And, a reminder, make sure you su to the vpopmail account first, or do
> a `chown -R vpopmail:vchkpw ~vpopmail/domains/example.com/list`.  If
> you accidentally do it as root (as I've done in the past), you can
> really screw things up (causes problems with subscribing and
> unsubscribing).

yea, and also people who are on the list in new files created by the 
subscription process won't receive mails and will get errors when they try to 
post to the list, because the files are mode 700 owned by root :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
      kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
         GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]

Attachment: pgpSAnEouZ01C.pgp
Description: PGP signature

Reply via email to