免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3675 | 回复: 5
打印 上一主题 下一主题

[Mail] postfix+courier-pop+courier-imap能发不能收? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-27 12:08 |只看该作者 |倒序浏览
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree{queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree{queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = onlyfs
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = onlyfs, localhost.localdomain, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
#=====sasl======#
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains, reject_unauth_destination
smtpd_client_restrictions = permit_sasl_authenticated



我在DEBIAN里面用postfix+courier-pop+courier-imap建立一个邮件系统,outlook 能发不能收,但是在服务器端MAILX可以看到啊
各位大侠帮帮看看吧 !

onlyfs:/etc/postfix/sasl# su - guohaili
maiguohaili@onlyfs:~$ mail
Mail version 8.1.2 01/15/2001.  Type ? for help.
"/var/mail/guohaili": 9 messages 9 new
>N  1 guohaili@onlyfs    Mon Aug 27 18:17   42/1452  dfdd
N  2 guohaili@onlyfs    Mon Aug 27 18:18   44/1486  test
N  3 guohaili@onlyfs    Mon Aug 27 18:31  669/48898 outlook test
N  4 guohaili@onlyfs    Mon Aug 27 18:33   42/1477  =?gb2312?B?ztK1xNPKvP6y4srU?=
N  5 guohaili@onlyfs    Mon Aug 27 18:55   44/1495  test
N  6 guohaili@onlyfs    Mon Aug 27 18:55   42/1452  111
N  7 MAILER-DAEMON@onl  Mon Aug 27 19:02   99/3308  Undelivered Mail Returned to Sender
N  8 guohaili@onlyfs    Mon Aug 27 19:03   42/1453  2222
N  9 guohaili@onlyfs    Mon Aug 27 19:44   44/1490  asdfa

论坛徽章:
0
2 [报告]
发表于 2007-08-27 12:17 |只看该作者
onlyfs:/etc/postfix/sasl# telnet 172.18.1.100 25
Trying 172.18.1.100...
Connected to 172.18.1.100.
Escape character is '^]'.
220 onlyfs ESMTP Postfix (Debian/GNU)



onlyfs:/etc/postfix/sasl# telnet 172.18.1.100 110
Trying 172.18.1.100...
Connected to 172.18.1.100.
Escape character is '^]'.
+OK Hello there.




25 110端口都是打开的

论坛徽章:
0
3 [报告]
发表于 2007-08-27 16:10 |只看该作者
服了,没有知道吗?
也太冷清了吧

论坛徽章:
0
4 [报告]
发表于 2007-08-27 18:03 |只看该作者
你的courier-pop3是这么设置的?
用mailbox还是maildir?

论坛徽章:
0
5 [报告]
发表于 2007-08-28 08:34 |只看该作者
在那个配置文件里面可以看出来呢!

论坛徽章:
0
6 [报告]
发表于 2007-08-28 09:15 |只看该作者
在/etc/postfix/main.cf
里面加home_mailbox = Maildir/
采用maildir方式收信就可以了 谢谢4楼的兄弟
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP