主题: iredmail0.7.4配置好后,往外可以发送邮件,但是从外部其他邮箱发送邮件,接收不到
==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本:0.7.4
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.0
- 与您的问题相关的日志信息: 不知道应该附上哪个日志信息
====
iredmail0.7.4配置好后,往外可以发送邮件,但是从外部其他邮箱发送邮件,接收不到;但是内部邮件可以发送和接收。
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » iRedMail 技术支持 » iredmail0.7.4配置好后,往外可以发送邮件,但是从外部其他邮箱发送邮件,接收不到
==== ==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本:0.7.4
- 使用的 Linux/BSD 发行版名称及版本号:CentOS 6.0
- 与您的问题相关的日志信息: 不知道应该附上哪个日志信息
====
iredmail0.7.4配置好后,往外可以发送邮件,但是从外部其他邮箱发送邮件,接收不到;但是内部邮件可以发送和接收。
检查一下 Postfix 的日志文件(/var/log/maillog)里是不是提示 greylisting 在起作用。
maillog里没有greylisting 这个字段
有没有 policyd 或者 cbpolicyd 字样?
有policyd-cleanup的比较多,没有cbpolicyd 字样
部分log类似如下:
Sep 18 11:28:30 localhost policyd: starting policyd v1.82
Sep 18 11:28:30 localhost policyd: connecting to mysql database: 127.0.0.1
Sep 18 11:28:30 localhost policyd: connected..
Sep 18 12:01:01 localhost policyd-cleanup: clean up process starting: policyd v1.82
Sep 18 12:01:01 localhost policyd-cleanup: connecting to mysql database: 127.0.0.1
Sep 18 12:01:01 localhost policyd-cleanup: clean up process starting: policyd v1.82
Sep 18 12:01:01 localhost policyd-cleanup: connecting to mysql database: 127.0.0.1
Sep 18 12:01:01 localhost policyd-cleanup: connected..
Sep 18 12:01:01 localhost policyd-cleanup: expiring validated records older than 7 days (1347336061)
Sep 18 12:01:01 localhost policyd-cleanup: connected..
Sep 18 12:01:01 localhost policyd-cleanup: expiring throttlesender records older than 31 days (1345262461)
Sep 18 12:01:01 localhost policyd-cleanup: expired: 0 records
Sep 18 12:01:01 localhost policyd-cleanup: expiring unvalidated records older than 2 days (1347768061)
Sep 18 12:01:01 localhost policyd-cleanup: expired: 0 records
Sep 18 12:01:01 localhost policyd-cleanup: expiring blacklisted records (1347940861)
Sep 18 12:01:01 localhost policyd-cleanup: expired: 0 records
Sep 18 12:01:01 localhost policyd-cleanup: expiring throttlesender instances older than 1 hour (1347937261)
Sep 18 12:01:01 localhost policyd-cleanup: expired: 0 records
Sep 18 12:01:01 localhost policyd-cleanup: expiring autowhitelisted records older than 7 days (1347940861)
Sep 18 12:01:01 localhost policyd-cleanup: expired: 0 records
Sep 18 12:01:01 localhost policyd-cleanup: expired: 0 records
Sep 18 12:01:01 localhost policyd-cleanup: expiring helo records older than 7 days (1347940861)
Sep 18 12:01:01 localhost policyd-cleanup: expired: 0 records
贴一下 postconf -n 命令的输出。
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
mailbox_command = /usr/libexec/dovecot/deliver
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = sict.com
myhostname = mail.sict.com
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = mail.sict.com
newaliases_path = /usr/bin/newaliases.postfix
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
queue_directory = /var/spool/postfix
queue_run_delay = 300s
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cf
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = ./dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_CAfile = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
tls_random_source = dev:/dev/urandom
transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf, proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/catchall_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf
virtual_gid_maps = static:501
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
virtual_minimum_uid = 501
virtual_transport = dovecot
virtual_uid_maps = static:501
还是没有解决,麻烦关注一下,急~~~
谢谢!!
你的域名dns是否做了mx记录?
没有,我在局域网测试的,只是改了etc/hosts文件,其他的没动
没有,我在局域网测试的,只是改了etc/hosts文件,其他的没动
你的邮箱域名要想公网上面的邮件发送到给你 ,必须在公网上做dns解析记录 否则没法找到你的邮件主机,肯定也无法接受到邮件了. 这无关iredmail
那要怎么在公网上做DNS解析呢?
iRedMail 开源邮件服务解决方案 » iRedMail 技术支持 » iredmail0.7.4配置好后,往外可以发送邮件,但是从外部其他邮箱发送邮件,接收不到
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.012 秒, 共执行查询 56 条