Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
lfzyx
V2EX  ›  Linux

通过服务器发邮件,gamil和qq私人邮箱能收到,qq企业邮箱收不到,什么原因造成的?

  •  
  •   lfzyx ·
    lfzyx · Oct 28, 2013 · 4699 views
    This topic created in 4608 days ago, the information mentioned may be changed or developed.
    利用php

    mail( "****@qq.com", "验证码", "233",'From: <auth@***.com>' ) ;

    企业邮箱是qq提供的,收发邮件正常。

    难道和MX记录有关?
    3 replies    1970-01-01 08:00:00 +08:00
    lfzyx
        1
    lfzyx  
    OP
       Oct 28, 2013
    看postfix的日志是这样的

    postfix/local[9373]: 7BB0214004E: to=<zyx@***.com>, relay=local, delay=0.55, delays=0.28/0/0/0.27, dsn=5.1.1, status=bounced (unknown user: "zyx")
    Oct 28 14:06:30 zlou postfix/smtp[9398]: 7BB0214004E: to=<[email protected]>, relay=mx3.qq.com[183.62.125.223]:25, delay=2.2, delays=0.28/0.01/0.61/1.3, dsn=2.0.0, status=sent (250 Ok: queued as )


    貌似发给企业邮箱的时候会发到本地??
    BOYPT
        2
    BOYPT  
       Oct 28, 2013
    unknown user: "zyx"

    因为没有这个帐号。
    lfzyx
        3
    lfzyx  
    OP
       Oct 28, 2013
    已经自行解决,修改hostname就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5374 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 07:47 · PVG 15:47 · LAX 00:47 · JFK 03:47
    ♥ Do have faith in what you're doing.