大网数据广告活动
服务器运维问答

Can I use a local proxy mail server (using no username/password) to connect to a remote SMTP server (requiring username/password)?

· 52CE 我爱测

The title is a bit wordy but I couldn't think of a way to make it more concise without losing some meaning. Context On a Windows machine I have an application which sends mail and can connect to an SMTP mail server, but due to a …

问题原文

原帖链接 · Geesh_SO · CC BY-SA 4.0

The title is a bit wordy but I couldn't think of a way to make it more concise without losing some meaning.

Context

On a Windows machine I have an application which sends mail and can connect to an SMTP mail server, but due to a bug only it can only connect if it doesn't require a username/password. I can specify the following fields.

  • SMTP Server Address
  • SMTP Port
  • Enable SSL/TLS

However I'd like this application to connect to a mail server that does require username/password authentication.

Question

Is there any software that would act as a proxy so that I could point the application to the local proxy, and have the proxy connect to the mail server?

已采纳解答

原帖链接 · hardillb · CC BY-SA 4.0

Yes it's perfectly possible.

The function you are looking for is normally called smarthost or relayhost

Postfix and sendmail both support this feature.

Instructions for setting up sendmail here and postfix here

For the best security you probably want to make sure you limit the proxy mail server to only accept unauthenticated mail submission from your application server machine

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-02-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。