Oprettelse af Mailing-Liste
jeg søger nogen med kendskab til mailinglister : jeg har støvet flg. mailing-script op(i Perl) - jeg har bare et par spørgsmål som jeg håber at nogen kan besvare -**nedenunder et uddrag af pl-filen der skal uploades til cgi-bin**
1) Hvordan sættes \"permission\" ?, jeg kan se \"permissions\" i FPT programmet jeg bruger men hvordan sætter man f.ex permission til 755 ?
2) Der hvor man skal sætte stien til \"mail programmet\" :
$mailprog = \"|/usr/lib/sendmail -t -oeq\";
jeg bliver forviret for : hvilket program er der tale om ?
Det skulle vist være det for at få det til at køre
Movement
Instructions:
##
## 1) Change the first line of this file to the correct path to Perl, if required.
## 2) Set the User Information variables in the next section.
## 3) Upload d-mail.pl (this file) into your cgi-bin in ASCII mode and set the permissions to 755.
## 4) Use the following subscribe/unsubscribe form in your HTML (do not change the NAME/VALUE items):
##
## <FORM ACTION=\"/cgi-bin/d-mail.pl\" METHOD=\"POST\">
## <CENTER>
## <TABLE WIDTH=\"200\" BORDER=\"2\" cellpadding=\"2\">
## <TR><TD WIDTH=\"100%\" ALIGN=\"CENTER\">
## <B>Mailing List:</B>
## <INPUT TYPE=\"TEXT\" SIZE=\"15\" NAME=\"email\" VALUE=\"\"><BR>
## <INPUT TYPE=\"RADIO\" NAME=\"subscribe\" VALUE=\"subscribe\" CHECKED>
## <FONT size=\"1\">Subscribe <INPUT TYPE=\"RADIO\" NAME=\"subscribe\" VALUE=\"unsubscribe\">Unsubscribe</FONT><BR>
## <INPUT TYPE=\"SUBMIT\" VALUE=\"Submit\"><BR>
## </TD></TR>
## </TABLE>
## </CENTER>
## </FORM>
##
## 5) You\'re done!
##
########################################################################
########################################################################
# EDIT USER INFORMATION BELOW
########################################################################
# Type the full path to your Mail program
$mailprog = \"|/usr/lib/sendmail -t -oeq\";
# Type your email address between the quotes. Make sure to place a \\ in front of the @
# As an example: d-mail\\@dankaplan.com
$admin_email = \"you\\@domain.com\";
# Email addresses to send subscribe and unsubscribe requests to.
# Make sure to place a \\ in front of the @
$subscribe = \"sign-on\\@listaddress.com\";
$unsubscribe = \"sign-off\\@listaddress.com\";
# Type the name of your mailing list
$list_name = \"Your List Name\";
# Type your website URL (example: http://www.yoursite.com)
$site_url = \"http://www.yoursite.com/\";