You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# start smtp debugging server, can pass an option port parameter. Default to 1025
|
|
function pysmtp
|
|
if test -n "$argv"
|
|
set SMTPPORT $argv
|
|
else
|
|
set SMTPPORT 1025
|
|
end
|
|
|
|
echo "smtp server started on port" $SMTPPORT;
|
|
_python -m smtpd -n -c DebuggingServer localhost:$SMTPPORT;
|
|
end
|