The mailserver setting should be the same as myhostname in your postfix configuration. You only need to supply username and password if the mailserver requires authentication.
You should definitely put these in the CF Administrator if possible to save repeating (and managing) them in every cfmail tag.
(Disclosure - I don't use postfix a lot and have inferred the myhostname settings required from here)
发布评论
评论(1)
邮件服务器设置应与 postfix 配置中的
myhostname
相同。如果邮件服务器需要身份验证,您只需提供用户名和密码。如果可能的话,您绝对应该将它们放入 CF 管理器中,以便在每个
cfmail
标记中避免重复(和管理)它们。(披露 - 我不经常使用 postfix,并从 此处)
The mailserver setting should be the same as
myhostname
in your postfix configuration. You only need to supply username and password if the mailserver requires authentication.You should definitely put these in the CF Administrator if possible to save repeating (and managing) them in every
cfmail
tag.(Disclosure - I don't use postfix a lot and have inferred the myhostname settings required from here)