Skip to content
Snippets Groups Projects
Commit f5bd0d46 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Add extra fluff.

parent 93a5d716
No related branches found
No related tags found
No related merge requests found
README 0 → 100644
vastgota.lysator.liu.se MX == mail.lysator.liu.se
Lysators mailserver har regeln att
`vastgota.lysator.liu.se` skickas till `smtp:[vastgota.lysator.liu.se]:1025`, och tillåter brev till `test@` och `massutskick@`.
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-N f2b-sshd
# These two should filter out anything to port 1025 except if it's from bernadotte.
-A INPUT -p tcp -m multiport --dports 22 -j f2b-sshd
-A INPUT -s mail.lysator.liu.se. -p tcp -m tcp --dport 1025 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 1025 -j DROP
-A f2b-sshd -j RETURN
[Unit]
Description=Publish WordPress entries by email
After=network.target
[Service]
Type=simple
User=www-data
ExecStart=/opt/wp-publish-by-email/main.py
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment