简体   繁体   English

Dovecot-LDA是否需要-f参数(目的是什么)?

[英]Does Dovecot-LDA need the -f argument (and what is its purpose)?

Dovecot-LDA seems to deliver mail without the -f argument, and delivered mail is identical with and without it, however many setup guides include it in the delivery command. Dovecot-LDA似乎在不带-f参数的情况下传递邮件,并且无论是否传递,传递的邮件都是相同的,但是许多设置指南将其包含在传递命令中。 I'm frequently seeing error messages regarding invalid -f arguments, and I figure that removing it from my delivery command should fix this. 我经常看到有关无效-f参数的错误消息,并且我认为从我的传递命令中删除它应该可以解决此问题。

How does the -f argument change Dovecot-LDA's behaviour, and do I really need to provide it? -f参数如何改变Dovecot-LDA的行为,我真的需要提供它吗?

-f sets "envelope sender". -f设置“信封发送者”。 It is email address used in SMTP protocol MAIL FROM: command to indicate where delivery failure notifications should be send. 它是SMTP协议MAIL FROM:命令中使用的电子邮件地址,用于指示应将传递失败通知发送到哪里。

AFAIK dovecot-lda does not use it itself but may be used by sieve filters. AFAIK dovecot-lda本身并不使用它, 可以由筛滤器使用。
AFAIK Most MTA/SMTP servers put envelope sender address in Return-Path: header before the final delivery (eg before passing the message to dovecot-lda ). AFAIK大多数MTA / SMTP服务器在最终传递之前(例如,在将邮件传递到dovecot-lda )将信封发件人地址放在Return-Path:标头中。

My rule of thumb suggestion: Try to fix your problem. 我的经验法则建议:尝试解决您的问题。
IF it is hard to fix AND you do not use envelope sender in sieve scripts 如果难以修复并且您没有在筛查脚本中使用信封发件人
THEN you may remove -f option from dovecot-lda command line parameters. 然后,您可以从dovecot-lda命令行参数中删除-f选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM