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.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试