Silke: Formular soll auf beiden domains (.com und .de) funktionieren

Beitrag lesen

Hallo--

neuer Tag, neues Glück.
Leider kann ich nicht immer zeitnah antworten, da ich einen 6 Monate alten Sohn habe...

hier ist der Quelltext des Programms mailer.pl:
(erst mal nur der "erste" Teil, wo ich die Variablen definiert habe - hier muss ich evtl. beide Domains angeben?)

#!/usr/bin/perl
##############################################################################

FormMail                        Version 1.9s-p7                            #

Readme and Help         http://www.scriptarchive.com/readme/formmail.html  #

Copyright 1995-2001 Matt Wright mattw@worldwidemart.com                    #

Created 06/09/95                Last Modified 02/24/02 00:34:00 PST        #

Matt's Script Archive, Inc.:    http://www.worldwidemart.com/scripts/      #

Enhanced Security Version:   ftp://ftp.monkeys.com/pub/formmail/        #

##############################################################################

COPYRIGHT NOTICE                                                           #

Copyright 1995-2001 Matthew M. Wright  All Rights Reserved.                #

#                                                                            #

FormMail may be used and modified free of charge by anyone so long as this

copyright notice and the comments above remain intact.  By using this      #

code you agree to indemnify Matthew M. Wright from any liability that      #

might arise from its use.                                                  #

#                                                                            #

Selling the code for this program without prior written consent is         #

expressly forbidden.  In other words, please ask first before you try and  #

make money off of my program.                                              #

#                                                                            #

Obtain permission before redistributing this software over the Internet or

in any other medium. In all cases copyright and header must remain intact

##############################################################################

ACCESS CONTROL FIX: Peter D. Thompson Yezek                                #

#                     http://www.securityfocus.com/archive/1/62033           #
##############################################################################

MULTIPLE SECURITY FIXES: Ronald F. Guilmette; February 16, 2002            #

#############################################################################

Define Variables                                                           #

#  Detailed Information Found In README File.                          #

$mailprog defines the location of your sendmail program on your unix       #

system.  (For FreeBSD, change this to "/usr/sbin/sendmail".)               #

$mailprog = '/usr/sbin/sendmail';

$mail_admin defines the e-mail address that should be used as the          #

SMTP envelope sender address.  This will be the address to which           #

FormMail-generated messages will be bounced if they are ever found         #

to be undeliverable for any reason.  NOTE:  This should be some            #

e-mail address that is ROUTINELY and FREQUENTLY monitored.                 #

NOTE! NOTE NOTE!  RFC 2821 absolutely _requires_ every mail server to

have a working postmaster e-mail address.  If you don't have one then

for God's sake GET ONE!  This means YOU!

$mail_admin = "postmaster";

@recipient_addresses defines the e-mail addresses that e-mail can          #

be sent to.  This must be filled in correctly to prevent SPAM and allow    #

valid addresses to receive e-mail.  Read the documentation to find out how

this variable works!!!  It is EXTREMELY IMPORTANT.                         #

@recipient_addresses = ('mylingua.com'); #Name Ihrer Domain

@recipient_domains defines the e-mail domains that e-mail can              #

be sent to.  This must be filled in correctly to prevent SPAM and allow    #

valid addresses to receive e-mail.  Read the documentation to find out how

this variable works!!!  It is EXTREMELY IMPORTANT.                         #

@recipient_domains = ('mylingua.com');

ACCESS CONTROL FIX: Peter D. Thompson Yezek                                #

@valid_ENV allows the sysadmin to define what environment variables can    #

be reported via the env_report directive.  This was implemented to fix     #

the problem reported at http://www.securityfocus.com/bid/1187              #

@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');

Done                                                                       #

##############################################################################