[Mailman-Users] Adding users with cron - permission problems
Adam McGreggor
adam-mailman at amyl.org.uk
Thu Jan 28 02:14:13 CET 2010
On Wed, Jan 27, 2010 at 05:29:44PM +0000, Phil Ewels wrote:
> After doing a bit of reading around, the closest I've got is to generate
> a plaintext file of email addresses for each newsletter and then use a
> cron command to sign these up, using the add_users program.
>
> To test, I've been running this cron command:
>
> echo test at testing.co.uk |
> /usr/local/cpanel/3rdparty/mailman/bin/add_members -r - info
>
> Where info is the listname (info at nanotp.org)
>
> IOError: [Errno 13] Permission denied:
> '/usr/local/cpanel/3rdparty/mailman/locks/info.lock.hephaestus.safeukdns.net.24247.0'
>
> Can anyone suggest a way to get around this problem?
If you can, run the crontab as a user in the mailman (or whatever it's
set to on your system) group.
> Or an alternative
> method of automating signups (they can be totally silent).
A bundle of HTTP POST requests? Via subscribe-...@?
More information about the Mailman-Users
mailing list