homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alfmel
Recipients alfmel, barry
Date 2010年07月05日.16:20:38
SpamBayes Score 0.21408726
Marked as misclassified No
Message-id <1278346841.06.0.147409219565.issue9168@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010年07月05日 16:20:42alfmelsetrecipients: + alfmel, barry
2010年07月05日 16:20:41alfmelsetmessageid: <1278346841.06.0.147409219565.issue9168@psf.upfronthosting.co.za>
2010年07月05日 16:20:39alfmellinkissue9168 messages
2010年07月05日 16:20:39alfmelcreate

AltStyle によって変換されたページ (->オリジナル) /