Quoting Rae <rae at gitchee.com>: > Okay, so the better way would be not to use the adminpasswd in the > command but a userpasswd instead. > > I tried to run the command as designated in the link below but it > does not work as expected. >> >> >> <>. Rae, the following works for me, and requires procmail. A remote server sends an email message from a web form, and my Mailman server handles the request. I have to substitute a real listname for 'list' below because I have about 15 lists that do this. /etc/postfix/aliases: list-special: "|/usr/local/bin/procmail -m /etc/procmail/.list.procmailrc" /etc/procmail/.list.procmailrc: TMPDIR=/tmp MAILDIR=/dev/null DEFAULT=/dev/null LOGFILE=/dev/null # Remote script writes a From of someone at somewhere.com :0HB * ^From: .*someone at somewhere.com * ^.*approve PassWord { :0Bwc:/tmp/listsubs.lock * ^approve PassWord subscribe | grep ' subscribe' | sed -e s/.*=//g >> /tmp/list-subs; \ chmod 666 /tmp/list-subs :0Bwc:/tmp/listunsubs.lock * ^approve Password unsubscribe | grep ' unsubscribe' | sed -e s/.*=//g >> /tmp/list-unsubs; \ chmod 666 /tmp/list-unsubs } # execute only if previous didn't match # mail leftovers to owner :0E |/usr/local/mailman/mail/mailman owner list crontab: # Each hour, sub or unsub users from external web pages. 25,50 * * * * /usr/local/bin/hourly-cron 2>&1 > /dev/null /usr/local/bin/hourly-cron: #!/bin/sh # Once an hour, check /tmp/list-subs and -unsubs and act appropo. # if [ -s /tmp/list-subs ]; then /usr/local/mailman/bin/add_members -r /tmp/list-subs list cat /dev/null > /tmp/list-subs fi if [ -s /tmp/list-unsubs ]; then /usr/local/mailman/bin/remove_members -f /tmp/list-unsubs list cat /dev/null > /tmp/list-unsubs fi Dennis Black SysAdmin, Internet Applications Academic Information and Communication Technologies (AICT, formerly CNS) ph.