postfix从redirect到返回path时为空

我们通过postfix从我们的服务器发送邮件,并通过返回path在收件箱中捕获反弹。 我们看到了一个奇怪的情况,即在发送过程中有时反弹会被直接发生,在这种情况下(看起来)我们的服务器正在作为一个中继,将反弹传递给反弹收件箱。 这很好 – 除了传出电子邮件失败,因为没有设置FROM地址。

所以我认为我们只需要在postfix中设置一个默认的FROM地址。 但是我不确定情况如何。 这是编辑的邮件服务器日志:

Feb 15 23:58:31 mydomain postfix/pickup[16622]: B469C261093: uid=33 from=<[email protected]> Feb 15 23:58:31 mydomain postfix/cleanup[21945]: B469C261093: message-id=<[email protected]> Feb 15 23:58:31 mydomain postfix/qmgr[15254]: B469C261093: from=<[email protected]>, size=62845, nrcpt=1 (queue active) Feb 15 23:58:31 mydomain postfix/smtp[21947]: B469C261093: to=<[email protected]>, relay=aspmx.l.google.com[xx.xx.xx.xx]:25, delay=0.07, delays=0.01/0/0.04/0.02, dsn=5.1.1, status=bounced (host aspmx.l.google.com[xx.xx.xx.xx] said: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 https://support.google.com/mail/answer/6596 81si37032134qhz.3 - gsmtp (in reply to RCPT TO command)) Feb 15 23:58:31 mydomain postfix/cleanup[21945]: C752826109A: message-id=<[email protected]> Feb 15 23:58:31 mydomain postfix/bounce[21948]: B469C261093: sender non-delivery notification: C752826109A Feb 15 23:58:31 mydomain postfix/qmgr[15254]: C752826109A: from=<>, size=3121, nrcpt=1 (queue active) Feb 15 23:58:31 mydomain postfix/qmgr[15254]: B469C261093: removed Feb 15 23:58:37 mydomain postfix/smtp[21947]: C752826109A: host mail.mydomain.info[xx.xx.xx.xx] said: 451 Temporary local problem - please try later (in reply to end of DATA command) Feb 15 23:58:39 mydomain postfix/smtp[21947]: C752826109A: to=<[email protected]>, relay=mx.something.com[xx.xx.xx.xx]:25, delay=7.5, delays=0/0/7.5/0.03, dsn=5.0.0, status=bounced (host mx.something.com[xx.xx.xx.xx] said: 550 <> Sender rejected. (in reply to MAIL FROM command)) Feb 15 23:58:39 mydomain postfix/qmgr[15254]: C752826109A: removed 

有人可以提供关于如何设置FROM地址的指导,或者如果这不是实际问题,可以提供洞察力?