首页 > gitlab的邮件一直无法收到

gitlab的邮件一直无法收到

我在centos6上安装的gitlab是omnibus版本。按照文档里的说明也对/etc/gitlab/gitlab.rb进行了设置。但是注册新用户里邮件一直没有办法收到。
然后查看了/var/log/maillog里边的内容是这样的:

Apr 22 15:05:39 iZ23syflhhzZ postfix/cleanup[5899]: 9789EC3907: message-id=<201504220705.t3M75dkU005893@iZ23syflhhzZ>
Apr 22 15:05:39 iZ23syflhhzZ sendmail[5893]: t3M75dkU005893: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32576, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 9789EC3907)
Apr 22 15:05:39 iZ23syflhhzZ postfix/qmgr[5724]: 9789EC3907: from=<>, size=4301, nrcpt=1 (queue active)
Apr 22 15:05:39 iZ23syflhhzZ postfix/smtpd[5896]: disconnect from localhost[127.0.0.1]
Apr 22 15:05:39 iZ23syflhhzZ postfix/cleanup[5899]: A6D63C38FD: message-id=<201504220705.t3M75dkU005893@iZ23syflhhzZ>
Apr 22 15:05:39 iZ23syflhhzZ postfix/qmgr[5724]: A6D63C38FD: from=<>, size=4456, nrcpt=1 (queue active)
Apr 22 15:05:39 iZ23syflhhzZ postfix/local[5900]: 9789EC3907: to=<postmaster@iZ23syflhhzZ.localdomain>, orig_to=<postmaster@iZ23syflhhzZ>, relay=local, delay=0.1, delays=0.05/0.04/0/0.01, dsn=2.0.0, status=sent (forwarded as A6D63C38FD)
Apr 22 15:05:39 iZ23syflhhzZ postfix/qmgr[5724]: 9789EC3907: removed
Apr 22 15:05:40 iZ23syflhhzZ postfix/smtp[5902]: A6D63C38FD: to=<hiufan@qq.com>, orig_to=<postmaster@iZ23syflhhzZ>, relay=mx3.qq.com[113.108.16.62]:25, delay=0.73, delays=0.01/0.03/0.12/0.57, dsn=5.0.0, status=bounced (host mx3.qq.com[113.108.16.62] said: 550 Mail content denied. http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=20022&&no=1000726 (in reply to end of DATA command))
Apr 22 15:05:40 iZ23syflhhzZ postfix/qmgr[5724]: A6D63C38FD: removed

最困惑的是,我明明设置的是sina的邮箱,但是这里的log日志里却出现了我的qq邮箱。
请问有没有人知道这是个什么问题呢?谢谢。


其实你的日志里面写的已经很明确了,可以看看日志里的这个链接的内容:
http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=20022&am...

如果那个 qq 邮箱不是任何一个注册邮箱,那可能是其他什么程序在使用 postfix,这个就得你自己来调查了。

Gitlab 可以不使用系统的服务来发邮件,具体看看 config/initializers/smtp_settings.rb.sample 吧。

【热门文章】
【热门文章】