============ accept =========== xyz-d@domain.com (Only addresses below this line can be automatically removed) aaa@Ddomain.com bbb@Ddomain.com ============ accept2 ========== ccc@Ddomain.com ============ accept.txt ========== You are not allowed to send email to xyz@domain.com ============ rc.custom ======== # # Assign the fully qualified mail address of the maintainer of this list # to "maintainer". If empty, request-mail will not be mailed to any # maintainer and will be stored in the "request" file for this list. # maintainer=qqq@domain.com #LOGABSTRACT=yes # uncomment in case of emergency #VERBOSE=yes # uncomment in case of real emergency #size_limit = 524288 # sanity cutoff value for submissions #idcache_size = 8192 # duplicate-msgid cache size in bytes archive_hist=10 #archive_log = $LOGFILE # log file for archive retrievals #subscribe_log = $LOGFILE # log file for administrivia #maxhist = 32 # bounce history limit #minbounce = 4 # no. of bounces before removal #cutoff_bounce = 256 # lines to keep in bounce processing #match_threshold= 30730 # for close matches to the list #medium_threshold= 28672 # for not so close matches to the list #loose_threshold= 24476 # for loosely finding your name #auto_off_threshold= $medium_threshold # for auto-unsubscribing bouncers #off_threshold = $loose_threshold # for unsubscribing #reject_threshold= $match_threshold # for rejecting subscriptions #submit_threshold= $medium_threshold # for permitting submissions #unsub_assist ##unsub_assist = 8 # uncomment (and change perhaps) this # line to enable unsubscription # assistance; it specifies the no. of # multigram matches an unsuccessful # unsubscriber will receive back #foreign_submit = yes foreign_submit # uncomment this line if you # want to restrict submitting to # people on the accept list #restrict_archive ##restrict_archive= yes # uncomment this line if you # want to restrict archive retrievals # to people on the accept list #force_subscribe ##force_subscribe= yes # uncomment to cause people to # be autosubscribed upon first # submission to the list #auto_unsubscribe= yes ##auto_unsubscribe # uncomment to disable unattended # unsubscription handling #auto_subscribe = yes ##auto_subscribe # uncomment to disable unattended # subscription handling #auto_help ##auto_help = yes # uncomment to enable default help # responses to all undecipherable # requests #moderated_flag ##moderated_flag= yes # uncomment this to make the list # moderated (you must create a # `moderators' file for this to work) # set moderator_PASSWORD to get # stricter checking #cc_requests ##cc_requests = yes # uncomment if you want subscribe # and help requests to be Cc'd to # the maintainer #cc_unsubrequests ##cc_unsubrequests= yes # uncomment if you want unsubscribe # requests to be Cc'd to the maintainer #divertcheck = yes ##divertcheck # uncomment to disable the check for # misfiled administrative requests #pass_diverts ##pass_diverts = yes # uncomment to pass on administrative # requests diverted from the normal # list to the maintainer unprocessed # (instead of trying to handle them) #reply_to ##reply_to = "Resent-Reply-To: $listaddr" # uncomment (and perhaps change # it to "Reply-To") to force replies # to go to the list (discouraged) # why discouraged? see: # http://garcon.unicom.com/FAQ/reply-to-harmful.html #digest_flag ##digest_flag = yes # uncomment this if you want digests #digest_age = 262144 # maximum age of a digest in seconds #digest_size = 32768 # maximum size of a digest in bytes #undigested_list = $list@$domain # Reply-To: address for digests #moderator_PASSWORD = # put the optional password for # moderators here, this definition # can contain regular expression magic # characters (to support multiple # passwords) #X_COMMAND = X-Command X_COMMAND_PASSWORD=lexilexi # X-Command mails here #daemon_bias='100^0 ^From:.*daemon@ok' # You could set "daemon_bias" to # positively discriminate some # mail address not to be from a daemon. Either with a regexp as demonstrated # or with more complicated recipes that simply set it to '100^0' or nothing. #RC_LOCAL_SUBMIT_00 = rc.local.s00 # Uncomment (and change) these to #RC_LOCAL_SUBMIT_10 = rc.local.s10 # call up customised local scripts #RC_LOCAL_SUBMIT_20 = rc.local.s20 # at predefined points. #RC_LOCAL_REQUEST_00 = rc.local.r00 #RC_LOCAL_REQUEST_10 = rc.local.r10 #RC_LOCAL_REQUEST_20 = rc.local.r20 #RC_LOCAL_REQUEST_30 = rc.local.r30 RC_CUSTOM # clear this one from the environment # so that we include this file only # once ============ rc.submit ======== File Manager File : /home/evjohn/evjohn-mail/dbc/rc.submit # BEFORE editing this file, you should make sure that it is not linked to # the master version (../.etc/rc.submit) anymore (i.e. "delink rc.submit" # if you do not want your changes to affect all archive servers). # # 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.submit,v 1.83 1997/04/28 00:27:43 srb Exp $ INCLUDERC=$RC_INIT INCLUDERC=$RC_CUSTOM INCLUDERC=$RC_LOCAL_SUBMIT_00 # # The following recipe makes sure that: # The mail has a sane size (i.e. it is not inordinately big) # It does not look like an administrative request. # It wasn't sent by this list itself. # It wasn't sent by a daemon (misdirected bounce message perhaps). # :0 * < $size_limit * !$^($X_COMMAND:|X-Loop: $\listaddr) * ! B ?? $^^$X_COMMAND: * $$daemon_bias * -100^0 ^FROM_MAILER|\ ^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )\ ([^>]*[^(.%@a-z0-9])?(\ LIST(SERV|proc)|NETSERV|bounce|autoanswer|echo|mirror\ )(([^).!:a-z0-9][-_a-z0-9]*)?[%@> ][^<)]*(\(.*\).*)?)?$([^>]|$) * 1^0 { :0 * B ?? >640 * 9876543210^0 { } # # Does it look like a regular submission? # Or perhaps more like an administrative request? # Look at the start of the body, and see if this could be an administrative # request, pass it on to rc.request in that case. # :0 * $$=^0 * 9876543210^0 !divertcheck ?? y { } :0 * $$=^0 * !B ?? ^^(.*$(.*$(.*$(.*$(.*$(.*$(.*$(.*$)?)?)?)?)?)?)?)?[^]>} a-z0-9] * 9876543210^0 B ?? ^^.*$.*$.*$.*$.*$.*$.*$.*$.*$ { } :0 * $$=^0 * $${maintainer:+9876543210^0 ^From[: ](.*\<)?$\maintainer\>} * 9876543210^0 ^(Subject:(.*\<)?(Re:|magazine)\>)|X-(Diagnostic|Mailing-List): * -25^0 ^\ Subject:([ ]*(archives?:?([ ]+(\ (send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\ list|show|search|[fe]?grep|find|maxfiles|version|help|info)\ ([ ]|$)|[ ]*$)|\ help|info|join|leave|\ (Could you )?(please )?\ (cancel(( my)? subscription)?|add|\ sign( [^ ]+ |-)?o(n|ff)|(un|de)?-?sub)[ ]*$)|\ .*( (join|leave|add .* to|(delete|remove) .* from|\ (take|sign|get) .* off|(put|sign) .* on) .* [a-z-]*list|\ (un-?|sub?)s(cr|c|r)i(be|ption))\>) * -50^0 ^Subject:[ ]*[(<]no(ne| subject\ ( (\(file transmission|given))?)[>)]$ * 50^0 ^Subject:.*[a-z] * -100^0 B ?? ^^([ ]|$)*\ ((((archives?:?($|[ ]+)|\ ((send|get)(me)?|gimme|retrieve|mail|ls|dir(ectory)?|\ list|show|search|[fe]?grep|find|maxfiles|version|help|info)\ ([ ].*)?$)([ ]|$)*)+\ ([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^|\ (help|info)[ ]*$|\ (add|join|leave|sign( [^ ]+ |-)?o(n|ff)|(un|de)?-?sub)\>)|\ ([^ a-z].*$(.*$(.*$(.*$(.*$)?)?)?)?)?^^|\ .*( (join|leave|add .* to|(delete|remove) .* from|\ (take|sign|get) .* off|(put|sign) .* on) .* [a-z-]*list|\ (un-?|sub?)scri(be|ption))\>|\ ^^) { # # Then check to see if the sender is on the accept list (if foreign_submit # is not set). # :0 * 9876543210^0 foreign_submit ?? y * 2^0 ? formail -X"From " -xFrom: -xReply-To: -xSender: -xResent-From: \ -xResent-Reply-To: -xResent-Sender: -xReturn-Path: | \ multigram -b1 -m -l$submit_threshold -L$domain \ -x$listaddr -x$listreq accept accept2 { INCLUDERC=$RC_LOCAL_SUBMIT_10 :0 * moderated_flag ?? y { :0 Bfw # contract header and body * ^^Approved:.*$^ | sed -e '1,/^$/{' -e '/^$/d' -e '}' :0 * !$^Approved:.*$moderator_PASSWORD | formail -R"From X-Envelope-From:" -uDate: -iReturn-Receipt-To: \ -iRead-Receipt-To: -iAcknowledge-To: | \ $SENDMAIL $sendmailOPT `cat moderators` :0 fhw | formail -IApproved: } # # Eliminate duplicate submissions by checking the Message-ID: field. # :0 Wh :msgid.lock | formail -q- -D $idcache_size msgid.cache # # Check if we need to autosubscribe anyone not on the dist list. # :0 * force_subscribe ?? y * !? if test y = "$moderated_flag" ;\ then formail -xFrom: -xSender: -xReply-To: ;\ else formail -X"From " -xFrom: -xReply-To: -xSender: -xResent-From: \ -xResent-Reply-To: -xResent-Sender: -xReturn-Path: ;\ fi | multigram -b1 -m -l$submit_threshold -L$domain \ -x$listaddr -x$listreq dist { # # Yes, well, then check if the person isn't on the reject list. # :0 * ? multigram -b1 -l$reject_threshold reject { :0 wfh | formail -A "X-Diagnostic: Found on the reject list" \ -A "X-Diagnostic: `multigram -b1 -l$reject_threshold reject`" HOST=continue_with_rc.request } LOCKFILE=tmp.lock :0 whc | formail -rtzc -xTo: >tmp.from :0 Wc :dist.lock | sed -e '/^$/,/^-- $/ d' | formail -I "Subject: auto subscribe" \ >tmp.request; subscribe >$subscribe_log LOCKFILE } # # Check if this is a digested mailinglist. If yes, processing stops # here and the mail will be added to the digest. # :0 * digest_flag ?? y { # # Forward the article back to the undigested list, if it hasn't # come from there. # :0 c * undigested_list ?? y * $!^X-Loop: $\undigested_list ! $sendmailOPT $undigested_list # # Finally digest the mail. # :0 w :tmp.lock | digest } ARCHIVE # Wipe ARCHIVE from the environment # # Check if we are the first mailinglist to distribute this message, if so # archive the message. # :0 * archive_hist ?? [1-9] * !^X-Mailing-List: { :0 c archive/latest/. ARCHIVE=$LASTFOLDER # Remember where it was archived # # Truncate the archive to the correct number of files (and # possibly other housekeeping chores to keep the archive # current). # :0 c hi | arch_trunc } # # Main header munger for submissions passing through this list. # oldshellmetas="$SHELLMETAS" SHELLMETAS # Save a shell, procmail can # do this one by itself. :0 wfh | formail -b -IFrom\ -IReceived: -IReturn-Receipt-To: -IErrors-To: \ -IX-Pmrqc: -IX-Confirm-Reading-To: -IX-Ack: -IAcknowledge-To: \ -IRead-Receipt-To: -IReturn-Receipt-Requested: -IX-Diagnostic: \ -iStatus: -iReturn-Path: -iX-Envelope-To: -iX-Envelope-From: \ -I"Precedence: list" -I"Resent-Sender: $listreq" \ -uDate: -aMessage-ID: -aResent-Message-ID: \ -a"To: $listaddr" -a"Resent-From: $listaddr" -A"X-Loop: $listaddr" \ -a"Subject: Unidentified subject!" ${reply_to:+"-a$reply_to"} \ -a"X-Mailing-List: <$listaddr> $ARCHIVE" SHELLMETAS="$oldshellmetas" oldshellmetas INCLUDERC=$RC_LOCAL_SUBMIT_20 # # The following recipe will distribute the message to the subscribers # using the native $SENDMAIL, but only if you disabled the alternative # sendmail (choplist). # :0 w: dist.lock * !alt_sendmail ?? . ! $sendmailOPT $listdist # # Alternate sendmail call (used by default), does not use the file- # including -dist alias. # :0 Ew: dist.lock | $alt_sendmail $SENDMAIL $sendmailOPT $sendmailOPTi :0 wfh | formail -A "X-Diagnostic: $SENDMAIL $listdist failed" HOST=continue_with_rc.request } :0 E wfh | formail -A "X-Diagnostic: Not on the accept list" :0 A c * ? test -f accept.txt { :0 fh | formail -i"From: $listreq" -kbrtA"X-Loop: $listaddr" ; cat accept.txt :0 ! $sendmailOPT -t } } } :0 fhw * pass_diverts ?? y * !^X-Diagnostic: | formail -A "X-Diagnostic: Diverted & unprocessed" HOST=continue_with_rc.request Press this button to Size: 20 30 40 50 60 80 90 Height: 10 20 30 40 50 60 File Manager Main Menu