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:
- Wait for the correct domain name to be associated with your IP
- 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 乌班图ip地址配置及远程SSH
- ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
- ¥15 PSPICE制作一个加法器
- ¥15 javaweb项目无法正常跳转
- ¥15 VMBox虚拟机无法访问
- ¥15 skd显示找不到头文件
- ¥15 机器视觉中图片中长度与真实长度的关系
- ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
- ¥15 java 的protected权限 ,问题在注释里
- ¥15 这个是哪里有问题啊?