comparison smtp.t @ 45:d68b85def521

Tests: use 127.0.0.1 instead of localhost. Name 'localhost' is ambiguous if ipv6 present on system.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 02 Nov 2008 15:01:41 +0300
parents 7bf0e8a1d66c
children 573c8293ac38
comparison
equal deleted inserted replaced
44:daa295331acd 45:d68b85def521
37 worker_connections 1024; 37 worker_connections 1024;
38 } 38 }
39 39
40 mail { 40 mail {
41 proxy_pass_error_message on; 41 proxy_pass_error_message on;
42 auth_http http://localhost:8080/mail/auth; 42 auth_http http://127.0.0.1:8080/mail/auth;
43 xclient off; 43 xclient off;
44 44
45 server { 45 server {
46 listen localhost:8025; 46 listen 127.0.0.1:8025;
47 protocol smtp; 47 protocol smtp;
48 smtp_auth login plain none; 48 smtp_auth login plain none;
49 } 49 }
50 } 50 }
51 51
55 client_body_temp_path %%TESTDIR%%/client_body_temp; 55 client_body_temp_path %%TESTDIR%%/client_body_temp;
56 fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; 56 fastcgi_temp_path %%TESTDIR%%/fastcgi_temp;
57 proxy_temp_path %%TESTDIR%%/proxy_temp; 57 proxy_temp_path %%TESTDIR%%/proxy_temp;
58 58
59 server { 59 server {
60 listen localhost:8080; 60 listen 127.0.0.1:8080;
61 server_name localhost; 61 server_name localhost;
62 62
63 location = /mail/auth { 63 location = /mail/auth {
64 set $reply ERROR; 64 set $reply ERROR;
65 65