Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7388029
  • 博文数量: 1755
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16227
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1755)

文章存档

2024年(1)

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: LINUX

2011-07-07 18:47:42

可惜没成功,放一个配置以后修改

user  nobody;
worker_processes  1;
error_log  logs/error.log  info;
pid        logs/nginx.pid;
 
events {
  worker_connections  1024;
  multi_accept on;
}
 
mail {
  auth_http  127.0.0.1:8181/auth;
  pop3_capabilities  "TOP"  "USER" "UIDL";
#  xclient off;
  imap_capabilities  "IMAP4rev1"  "UIDPLUS";
 
  server {
    listen     110;
    protocol   pop3;
    proxy      on;
  }
 
  server {
    listen     143;
    protocol   imap;
    proxy      on;
  }
  server {
    listen      25;
    protocol    smtp;
    smtp_auth   login plain;
    proxy       on;
  }

}

http {
        include mime.types;
        default_type application/octet-stream;
        server_tokens off;
        sendfile on;
        keepalive_timeout 65;

server
{
        listen 127.0.0.1:8181;
        server_name localhost;

        location /auth {
        add_header Auth-Status OK;
        add_header Auth-Server 127.0.0.1;
        add_header Auth-Port 25;
        add_header Auth-Pass $http_auth_pass;
        return 200;
        }
}
}



阅读(1104) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~