Message109336
The SMTP proxy server in Python (smtpd.py) allows you to shed privileges and run as user nobody. However, if you are trying to use port 25, the server will shed privileges before binding the port, causing a bind failure. By moving the setuid code between the creation of the proxy server and the aysncore loop, we can bind a port below 1024 and run as nobody. |
|
Date |
User |
Action |
Args |
2010-07-05 16:20:42 | alfmel | set | recipients:
+ alfmel, barry |
2010-07-05 16:20:41 | alfmel | set | messageid: <1278346841.06.0.147409219565.issue9168@psf.upfronthosting.co.za> |
2010-07-05 16:20:39 | alfmel | link | issue9168 messages |
2010-07-05 16:20:39 | alfmel | create | |
|