- 论坛徽章:
- 0
|
小弟用postfix+dovecot+openwebmail+MailScanner+Spamassassin+saslauthd搭建了一个邮件系统,登陆openwebmail后,可以发信,但却收不到信,下面是我的一些主要的配置文件:
postfix 的配置文件:
alias_database = hash:/etc/aliases local_destination_recipient_limit = 300 local_destination_concurrency_limit = 5
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr bexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr /man
mydestination = $myhostname, $mydomain
mydomain = yjw.com
myhostname = mail.yjw.com
mynetworks = 192.168.1.0/24
myorigin = yjw.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = ar/spool/postfix
readme_directory = /usr /doc/postfix-2.3.3/README_FILES
relay_domains = yjw.com, $mydomain
sample_directory = /usr /doc/postfix-2.3.3 mples
sendmail_path = /usr/sbin ndmail.postfix
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
dovecot的配置文件:
protocols = imap imaps pop3 pop3s
listen = *
mail_extra_groups = mail
default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
openwebmail+MailScanner+Spamassassin+saslauthd 的配置大致跟网络上的差不多。没有配置虚拟用户,现在的问题就是能发信,不能收信,求解惑。谢谢 |
|