dongtang5776 2013-08-27 07:30
浏览 321
已采纳

Postfix用ip地址代替域名

I have virtual server without domain name yet. On server is Ubuntu LAMP installed. I will have domain name later. I can access on server via public static ip address. I want make only simple sending email from php script from this server. I want use Postfix. But I read that Postfix needs FQDN. Before I start install and configure Postfix I want know if is possible use ip address instead domain name for Postfix. Very thanks.

  • 写回答

1条回答 默认 最新

  • duanhan8757 2013-08-27 20:12
    关注

    As far as I know there is no way to make postfix send mail to the Internet without FQDN. It can be set up to exchange mail between local users, though, but that's obvoiusly not going to help you. The reason behind this is quite simple: The vast majority of the mail servers are verifying peer's identity on SMTP connection using reverse DNS lookup. If your IP has no nice DNS name assigned, then your mail is quite likely to be considered spam. So even though you might manage to bypass FQDN requirement, your recipients still may not receive your mails. It can even be dangerous, as your IP may get stuck into spam lists after that.

    I see two options for your here:

    1. Wait for the correct domain name to be associated with your IP
    2. Or use mailbox on an established public service like gmail or hotmail to send mails from. This will play well as a temporary solution until you got your DNS record in place.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码