/media/sda-magnetic/david/Dok-15-2023-11-27/fernuni-hagen/cs-i-ii/fsm/fsm/lex-yacc-bash-etc/all00021.txt


# client
# sender
# recipient
# relay

smtpd_client_restrictions=
smtpd_sender_restrictions=
smtpd_recipient_restrictions=
smtpd_relay_restrictions=
smtpd_data_restrictions=
smtpd_end_of_data_restrictions=
smtpd_etrn_restrictions=
smptd_helo_restrictions=

mynetworks=
myhostname=
smtpd_helo_required=yes

# check_policy_service
# permit_mynetworks

# unknown
# reject_unknown_client
# reject_unknown_client_hostname
# reject_unknown_reverse_client_hostname
# reject_unknown_hostname
# reject_unknown_helo_hostname 
# reject_unknown_sender_domain
# reject_unknown_recipient_domain 

# hostname 
# reject_unknown_client_hostname
# reject_unknown_reverse_client_hostname
# reject_unknown_hostname
# reject_invalid_hostname
# reject_unknown_helo_hostanem 
# reject_non_fqdn_hostanme 

# non_fqdn 
# reject_non_fqdn_hostanme
# reject_non_fqdn_sender
# reject_non_fqdn_recipient

# sender
# reject_unknown_sender_domain
# reject_non_fqdn_sender

# recipient
# reject_unknown_recipient_domain
# reject_non_fqdn_recipient

# unauth
# reject_unauth_pipelining
# reject_unauth_destination

a CAPABILITY
a LOGIN "user" "password"
a LIST "" *
a SELECT INBOX
a FETCH 1 RFC822
a STORE 1 +FLAGS (\Seen \Deleted)
a CLOSE
a EXPUNGE
a SEARCH
a LOGOUT

HELO/EHLO
MAIL
DATA 
RST
VRTY
EXPN
NOOP
QUIT

Return-Path:
Recevied:
From:
To:
Subject:
Date:
Message-ID:
User-Agent:
MIME-Version:
Content-Transfer-Encoding:
Content-Type:
X-Priorty:
X-Assp-..:
Importance:
X-Reply-To:

%{
#include <stdio.h>
#include <ctype.h>
%}
%token NUMBER
%%
lines               :       lines expr '\n'         {printf("%d\n", $2);}
                    |       lines '\n'
                    ;
expr                :       expr '+' term           {$$=$1+$3;}
                    |       expr '-' term           {$$=$1-$3;}
                    |       term
                    ;
term                :       term '*' factor         {$$=$1*$3;}
                    |       term '/' factor         {$$=$1/$3;}
                    |       factor
                    ;
factor              :       '(' expr ')'            {$$=$2;}
                    |       NUMBER
                    ;
                    
statement           ->      assignment | cond | loop
assignment          ->      id := expr
cond                ->      if boolexpr then statement fi |
                            if boolexpr then statement else statement fi
loop                ->      while boolexpr do statement od
expr                ->      boolexpr | numexpr
boolexpr            ->      numexpr cop numexpr
numexpr             ->      numexpr + term | term
term                ->      term * factor | factor
factor              ->      id | const | (numexpr)

./skript.sh
/bin/bash ./skript.sh
bash skript.sh

#!/bin/bash

echo "Hallo"
# Kommentar

var1=Hallo
var2=Welt

echo $var1
echo $var2

if [ $var1 == $var2 ]
then 
    echo $var1
else
    echo $var2
fi

while [ $var1 == $var2 ]
do
    echo $var1
done

for var3 in "a " "b " "c "
do 
    echo $var3
done

typeset -i i=3
i=$(( 4 ))
i=$(( 3+3 ))

while [ $i -le 50 ]
do 
    echo $i
    i=$(( $i+1 ))
done

useradd
userdel
usermod
newgrp
groupadd
groupdel
groupmod
id
passwd
chfn
chsh

exit
echo
man
info
grep
locatedb
updatedb

date
cat
cut
mv
mmv
cp
cd
mkdir
rm
rmdir
unlink
touch

dd
mount/umount
lsof
lsblk
blkid

diff
comm

basename
dirname

split
shred
rsync

tree
tre-agrep

date