Introduction
Introduction Statistics Contact Development Disclaimer Help
openbsd_001.txt - gopherhole - My gopherhole source code.
git clone git://jay.scot/gopherhole
Log
Files
Refs
---
openbsd_001.txt (420B)
---
1
2 cat > /etc/mail/smtpd.conf << EOF
3 table aliases file:/etc/mail/aliases
4 table secrets file:/etc/mail/secrets
5 listen on lo0
6
7 action "local" mbox alias <aliases>
8 action "relay" relay host smtp+tls://mailrelay@server:port auth <secrets>
9
10 match for local action "local"
11 match for any action "relay"
12 EOF
13
14 chmod 640 /etc/mail/secrets
15 chown root:_smtpd /etc/mail/secrets
16 echo "mailrelay username:password" > /etc/mail/secrets
17
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.