Line 921: |
Line 921: |
| ===How do I find out who is logged into webmail and what IP number.=== | | ===How do I find out who is logged into webmail and what IP number.=== |
| This is logged is in /var/log/messages. | | This is logged is in /var/log/messages. |
− |
| |
− | ===How do I setup relay Clients without authentication for trusted clients ?===
| |
− |
| |
− | * For most case, you really want to allow few specific clients on your LAN or trusted networks, this is done by setting a coma separated list of ip this way (replace IP1, IP2, IP3 by valid ips).
| |
− | config set qpsmtpd UnauthenticatedRelayClients IP1,IP2,IP3
| |
− | signal-event email-update
| |
− |
| |
− | * In some case you would have a whole dedicated network with appliances needing to send email without auth, this is done this way
| |
− | db networks setprop {$network} RelayRequiresAuth disabled
| |
− | signal-event email-update
| |
− |
| |
− | * If you want to disable auth for all your local networks
| |
− | db configuration setprop qpsmtpd RelayRequiresAuth disabled
| |
− | signal-event email-update
| |
− |
| |
− | * In case you needs are not fulfilled because you need to accommodate a list of remote IP or a sub network of a larger trusted network, you can create a custom template. Here for reference the accepted formats:
| |
− | mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients
| |
− | # a subnetwork by only using a prefix of full ip
| |
− | echo "10.10.0.">> /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients/80custom
| |
− | # an external ip
| |
− | echo "99.10.1.23" >> /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients/80custom
| |
− | # an external network you control
| |
− | echo "164.163.12.1/30" >> /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients/80custom
| |
− | signal-event email-update
| |
| | | |
| ===How do I enable smtp authentication for users on the internal network=== | | ===How do I enable smtp authentication for users on the internal network=== |