| 1 | #!/bin/bash |
| 2 | |
| 3 | exec 2>&1 |
| 4 | |
| 5 | . /etc/courier/pop3d |
| 6 | . /etc/courier/pop3d-ssl |
| 7 | |
| 8 | POP3_TLS=1 ; export POP3_TLS |
| 9 | |
| 10 | `sed -n '/^#/d;/=/p' </etc/courier/pop3d | \ |
| 11 | sed 's/=.*//;s/^/export /'` |
| 12 | `sed -n '/^#/d;/=/p' </etc/courier/pop3d-ssl | \ |
| 13 | sed 's/=.*//;s/^/export /'` |
| 14 | |
| 15 | exec \ |
| 16 | /usr/sbin/couriertcpd \ |
| 17 | -address=$SSLADDRESS -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \ |
| 18 | $TCPDOPTS \ |
| 19 | $SSLPORT /usr/bin/couriertls -server -tcpd \ |
| 20 | /usr/lib/courier/courier/courierpop3login \ |
| 21 | /usr/lib/courier/courier/courierpop3d Maildir |