NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 bernina.u3.cyberlab.fhnw.ch bernina

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


------------------------------------------
cat /etc/hostname
bernina

------------------------------------------
cat /etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
addresses:
- 192.168.97.24/22
routes:
- to: default
via: 192.168.96.1
nameservers:
addresses:
- 192.168.64.10
- 192.168.64.11

------------------------------------------
cat /etc/bind/named.conf.options
options {
directory "/var/cache/bind";
forwarders {
192.168.97.24;
192.168.97.25;
};
empty-zones-enable false;
dnssec-validation auto;
listen-on-v6 { any; };
};

------------------------------------------
cat /etc/bind/named.conf.local
zone "u3.cyberlab-fhnw.ch." {
type master;
key-directory "/var/lib/bind/u3.cyberlab-fhnw.ch.keys";
dnssec-policy default;
inline-signing yes;
file "/var/lib/bind/db.u3.cyberlab-fhnw.ch";
};

zone "u3.cyberlab.fhnw.ch." {
type master;
key-directory "/var/lib/bind/u3.cyberlab.fhnw.ch.keys";
dnssec-policy default;
inline-signing yes;
file "/var/lib/bind/db.u3.cyberlab.fhnw.ch";
};

zone "24/29.97.168.192.in-addr.arpa." {
type master;
key-directory "/var/lib/bind/reverse.keys";
dnssec-policy default;
inline-signing yes;
file "/var/lib/bind/db.reverse";
};

------------------------------------------
cat /var/lib/bind/db.u3.cyberlab.fhnw.ch
$TTL 300
@ IN SOA ns1 postmaster.u3.cyberlab.fhnw.ch. (
2023112106 ; SERIAL
80 ; REFRESH
80 ; RETRY
80 ; EXPIRE
80 ; NEGATIVE CACHE TTL
)
IN NS ns1.u3.cyberlab.fhnw.ch.
IN NS ns2.u3.cyberlab.fhnw.ch.
IN MX 10 mail.u3.cyberlab.fhnw.ch.
IN TXT "v=spf1 mx -all"
mail._domainkey IN TXT ( "v=DKIM1; h=sha256; k=rsa; "
"p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAytaEZsUB2HadIzzE4V8HBgVBATfQkyG3jUCkMPEwVgPNvTRmqKmx7QyttTy8BV5zGPH23vpH7lfcShMghuiqYw8lT1VpynvzRRyt5wiVVlXqzb4PYgQoLIoAbzWgjt4eWtOJ4KnNaIm2+OOgChdPWLLQgLhnwwROxQSie/l5SCi7szKBscd3VaP+llKQMPPMlUhEgzh2xDEbHK"
"VYXBmStyhV7aa34D2BzdWJQjOiUv78Ma4PGn/BnTy//UWCq4cZC9KJgevPIeBeBXoNBGZCNI4+YaYQkHk8+MRDkgtZom2RfzQiuHUelm51y8ADaC7mdrE6eeVnb8xaR3IUdB6IZQIDAQAB" )
ns1 IN A 192.168.97.24
ns2 IN A 192.168.97.25
bernina IN A 192.168.97.24
mail IN CNAME bernina

------------------------------------------
cat /var/lib/bind/db.u3.cyberlab-fhnw.ch
$TTL 300
@ IN SOA ns1 postmaster.u3.cyberlab-fhnw.ch. (
2023112106 ; SERIAL
80 ; REFRESH
80 ; RETRY
80 ; EXPIRE
80 ; NEGATIVE CACHE TTL
)
IN NS ns1.u3.cyberlab-fhnw.ch.
IN NS ns2.u3.cyberlab-fhnw.ch.
IN MX 10 mail.u3.cyberlab-fhnw.ch.
IN TXT "v=spf1 mx -all"
mail._domainkey IN TXT ( "v=DKIM1; h=sha256; k=rsa; "
"p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAytaEZsUB2HadIzzE4V8HBgVBATfQkyG3jUCkMPEwVgPNvTRmqKmx7QyttTy8BV5zGPH23vpH7lfcShMghuiqYw8lT1VpynvzRRyt5wiVVlXqzb4PYgQoLIoAbzWgjt4eWtOJ4KnNaIm2+OOgChdPWLLQgLhnwwROxQSie/l5SCi7szKBscd3VaP+llKQMPPMlUhEgzh2xDEbHK"
"VYXBmStyhV7aa34D2BzdWJQjOiUv78Ma4PGn/BnTy//UWCq4cZC9KJgevPIeBeBXoNBGZCNI4+YaYQkHk8+MRDkgtZom2RfzQiuHUelm51y8ADaC7mdrE6eeVnb8xaR3IUdB6IZQIDAQAB" )
ns1 IN A 192.168.97.24
ns2 IN A 192.168.97.25
bernina IN A 192.168.97.24
mail IN CNAME bernina

------------------------------------------
cat /var/lib/bind/db.reverse
$TTL 300
$ORIGIN 24/29.97.168.192.in-addr.arpa.
@ IN SOA ns1.u3.cyberlab.fhnw.ch. postmaster.u3.cyberlab.fhnw.ch. (
2023112101 ; SERIAL
80 ; REFRESH
80 ; RETRY
80 ; EXPIRE
80 ; NEGATIVE CACHE TTL
)

IN NS ns1.u3.cyberlab.fhnw.ch.
IN NS ns2.u3.cyberlab.fhnw.ch.
24 PTR bernina.u3.cyberlab.fhnw.ch.
root@bernina:/etc/opendkim#

------------------------------------------
cat /etc/postfix/main.cf
compatibility_level = 3.6
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix/sbin
data_directory = /var/lib/postfix
mail_owner = postfix
mydomain = u3.cyberlab.fhnw.ch
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mail.$mydomain, www.$mydomain, ftp.$mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8, [::1]/128, [fe80::]/10
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
inet_protocols = ipv4
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination check_policy_service unix:private/postfix-policyd-spf check_policy_service inet:127.0.0.1:10023

smtpd_tls_security_level = may
smtp_tls_security_level = may
# smtpd_tls_cert_file = /etc/ssl/certs/mailserver.crt
# smtp_tls_key_file = /etc/ssl/private/mailserver.key
# smtpd_tls_protocols = !SSLv2, !SSLv3
# smtp_tls_protocols = !SSLv2, !SSLv3

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = noanonymous

smtpd_proxy_options = speed_adjust

milter_protocol = 6
milter_default_action = accept
smtpd_milters = inet:localhost:10080
non_smtpd_milters = inet:localhost:10080

content_filter = smtp-amavis:[127.0.0.1]:10024

------------------------------------------
cat /etc/postfix/master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master" or
# on-line: http://www.postfix.org/master.5.html).
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (no) (never) (100)
# ==========================================================================
smtp inet n - y - - smtpd
#smtp inet n - y - 1 postscreen
#smtpd pass - - y - - smtpd
#dnsblog unix - - y - 0 dnsblog
#tlsproxy unix - - y - 0 tlsproxy
# Choose one: enable submission for loopback clients only, or for any client.
#127.0.0.1:submission inet n - y - - smtpd
#submission inet n - y - - smtpd
# -o syslog_name=postfix/submission
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_tls_auth_only=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
# Choose one: enable smtps for loopback clients only, or for any client.
#127.0.0.1:smtps inet n - y - - smtpd
#smtps inet n - y - - smtpd
# -o syslog_name=postfix/smtps
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - y - - qmqpd
pickup unix n - y 60 1 pickup
-o content_filter=
-o receive_override_options=no_header_body_checks
cleanup unix n - y - 0 cleanup
qmgr unix n - n 300 1 qmgr
#qmgr unix n - n 300 1 oqmgr
tlsmgr unix - - y 1000? 1 tlsmgr
rewrite unix - - y - - trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
trace unix - - y - 0 bounce
verify unix - - y - 1 verify
flush unix n - y 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - y - - smtp
relay unix - - y - - smtp
-o syslog_name=postfix/$service_name
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - y - - showq
error unix - - y - - error
retry unix - - y - - error
discard unix - - y - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - y - - lmtp
anvil unix - - y - 1 anvil
scache unix - - y - 1 scache
postlog unix-dgram n - n - 1 postlogd
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRXhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
# mailbox_transport = lmtp:inet:localhost
# virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# flags=DRX user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FRX user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
smtp-amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20

127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks

postfix-policyd-spf unix - n n - 0 spawn user=policyd-spf argv=/usr/bin/policyd-spf

------------------------------------------
cat /etc/default/postgrey
# postgrey startup options, created for Debian

# you may want to set
# --delay=N how long to greylist, seconds (default: 300)
# --max-age=N delete old entries after N days (default: 35)
# see also the postgrey(8) manpage

POSTGREY_OPTS="--inet=10023 --delay=30"

# the --greylist-text commandline argument can not be easily passed through
# POSTGREY_OPTS when it contains spaces. So, insert your text here:
#POSTGREY_TEXT="Your customized rejection message here"

------------------------------------------
cat /etc/aliases
# See man 5 aliases for format
postmaster: root
abuse: root
root: root
clamav: root

------------------------------------------
cat /etc/amavis/conf.d/15-content_filter_mode
use strict;

# You can modify this file to re-enable SPAM checking through spamassassin
# and to re-enable antivirus checking.

#
# Default antivirus checking mode
# Please note, that anti-virus checking is DISABLED by
# default.
# If You wish to enable it, please uncomment the following lines:


@bypass_virus_checks_maps = (
%bypass_virus_checks, @bypass_virus_checks_acl, $bypass_virus_checks_re);


#
# Default SPAM checking mode
# Please note, that anti-spam checking is DISABLED by
# default.
# If You wish to enable it, please uncomment the following lines:


@bypass_spam_checks_maps = (
%bypass_spam_checks, @bypass_spam_checks_acl, $bypass_spam_checks_re);

1; # ensure a defined return

------------------------------------------
cat /etc/opendkim.conf
Mode sv
AutoRestart Yes
AutoRestartRate 10/1h
UMask 002
UserID opendkim:opendkim
Syslog yes
KeyTable /etc/opendkim/KeyTable
SigningTable refile:/etc/opendkim/SigningTable
Canonicalization relaxed/relaxed
LogResults yes
LogWhy yes
SyslogSuccess yes
Socket inet:10080@localhost
SignatureAlgorithm rsa-sha256

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------

------------------------------------------
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.