-
Windows does not know the SIGHUP signal. I changed line 78 in fakemail.py
for sig in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP):
to
for sig in (signal.SIGINT, signal.SIGTERM):
which seems to do the trick for me.
HTH,
Wolfgang.
2009-07-08 12:45:29 UTC by wgwerner
-
Hi - this is a great tool, thanks (I read about it in the PHP In Action book, which is the best book I've ever read on PHP coding by some distance, not to stroke your ego too much ;-))
It would be helpful to have a start / stop / restart script for fakemail; if the unit test fails due to a parse error, then tearDown() is never run and the pid of fakemail is lost forever. Obviously it can be...
2009-06-04 15:20:59 UTC by nobody
-
I'm having this trouble too, with Python 2.5.1 under Windows XP.
Should I be abandoning Python altogether? Is this a configuration issue and silence means we're idiots?
Does the Perl flavor of this work in Windows?.
2007-05-16 02:42:35 UTC by nobody
-
Logged In: YES
user_id=695819
Hi.
If it's running as root, it just means that the files will
be saved owned by root. That's probably not what you want.
To change the ownership of the mails you have to change the
ownership of the executable and then set the sticky bit. My
sysadmin knowledge sucks too, so you'll have to look that up!
If you can, have your own software use a port other...
2006-11-09 23:35:59 UTC by lastcraft
-
lastcraft committed patchset 42 of module fakemail to the fakemail CVS repository, changing 3 files.
2006-11-02 01:20:40 UTC by lastcraft
-
Fakemail python fails to run on Windows because Windows
does not support the SIGHUP signal.
To fix, change line 78 of fakemail.py from this:
for sig in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP):
to this:
for sig in (signal.SIGINT, signal.SIGTERM):
2006-11-01 14:50:24 UTC by dweingart
-
Can someone explain to me how to run fakemail on
windows with python?
I have Python version 2.3.5
When I try to execute from the command line this is
what I receive:
C:\apache2triad\python\Scripts>python fakemail.py
--host=locahost --port=10025 -
-path=.
Traceback (most recent call last):
File "fakemail.py", line 147, in ?
main()
File "fakemail.py", line 129, in main.
2006-07-10 20:27:20 UTC by mheitzenroder
-
Logged In: YES
user_id=1488652
Oops -- looks like it won't work anyway. I was wanting to
still use the mail() function, just have it go through
fakemail instead of actually being sent. But, the mail()
function obviously uses /usr/sbin/sendmail -t -i, and thus
doesn't connect with :25.
2006-03-28 23:32:40 UTC by windsurf17
-
I am lucky enough to be able to use a dedicated DEV
server and have replaced the normal MTA with fakemail
(on port 25).
I'm worried about running it as root, though, but
don't have enough sysadmin experience to know how to
start it as root (so I can use port 25), but run it as
someone else.
Thanks,
Hans.
2006-03-28 21:14:11 UTC by nobody
-
cauth committed patchset 41 of module fakemail to the fakemail CVS repository, changing 8 files.
2005-11-24 14:10:38 UTC by cauth