Alan Northam wrote:
When someone subscribes to my mailing list I would like to receive a copy of their email request. Is this possible using smartlist?
For lists with a lot of subscription requests it may be useful to store all -request mails somewhere, for later processing or tracking of problems. The following patch adds these mails to /var/list/backup/<listname>/request which is rotated daily by savelog (from the Smail or dpkg distribution). Index: rc.request =================================================================== RCS file: /var/cvs/infodrom.org/smartlist/rc.request,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- rc.request 26 Oct 2001 19:28:41 -0000 1.1 +++ rc.request 26 Oct 2001 19:31:34 -0000 1.2 @@ -5,12 +5,24 @@ # New mails can be temporarily stalled by creating the file rc.lock (either in # ../.etc for all lists or in the current directory for this list only). -#$Id: rc.request,v 1.1 2001/10/26 19:28:41 joey Exp $ +#$Id: rc.request,v 1.2 2001/10/26 19:31:34 joey Exp $ # modified for confirmation messages and multiple maintainers # 11 Dec. 1998, Werner Reisberger, werner@free.de INCLUDERC=$RC_INIT INCLUDERC=$RC_CUSTOM + +# +# Archive all mails for the Anti-Spam Department +# +:0 c +{ + :0 fhw + | formail + + :0: + /var/list/backup/$list/request +} INCLUDERC=$RC_LOCAL_REQUEST_00 Regards, Joey -- The only stupid question is the unasked one. Please always Cc to me when replying to me on the lists.