Postfix Dovecot SquirrelMail

时间:2013-07-09 23:55:32

标签: postfix-mta dovecot squirrelmail

希望有人可以帮我解决这个问题。

当前设置

Home Verzion路由器 - 阻止动态IP地址端口

Windows server 2008 - > Hyper-V - > Centos6

后缀

达夫科特

SquirrelMail的

**删除了Sendmail

所以我可以收到来自anywho@anywhere.com的电子邮件,我现在可以发送到anywho@anywhere.com我遇到的唯一问题是,当我发送到anywho@anywhere.com时,它就像我@gmail一样。 COM

我希望以me@mydomain.com

来表达

看起来我的发送域名已更改。我做错了什么

我可以发布我的日志,但他们不会给出任何错误,所以我不确定这会有多大帮助。

我可以发布的任何其他信息让我知道

[root@thenerdservice log]# grep -v \# /etc/postfix/main.cf |grep -v ^$
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = mail.mydomain.com
mydomain = mydomain.com
myorigin = $myhostname
myorigin = $mydomain
inet_interfaces = all
inet_protocols = ipv4
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.1.0/24, 127.0.0.0/8, 8.8.8.8
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
smtp_always_send_ehlo = yes
relayhost = [smtp.gmail.com]:587
smtp_sasl_tls_security_options = noanonymous
smtp_use_tls = yes
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_sasl_tls_security_options = noanonymous
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/


debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
queue_directory = /var/spool/postfix

1 个答案:

答案 0 :(得分:1)

您正在使用中继主机。
它应该显示为 you@gmail.com ,因为gmail会将发件人交换为反映您的 gmail帐户

只有当您拥有 STATIC IP时,才能以you@domain.com的身份发送电子邮件。大多数电子邮件提供商都会将动态IP地址列入黑名单

如果您有静态IP,只需删除 relayhost ,* smtp_sasl_password_maps *并且通常为sasl,除非您知道自己在做什么。


要检查您是否已列入黑名单 click here