我有一个带有 Postfix 的 VPS。电子邮件正在工作 - 我可以向它发送消息和从它发送消息,并使用mutt
我的 GMail 帐户进行测试。
但是,我想将发送到我的 VPS 的所有邮件转发到我的 GMail 帐户,以便全部集中在一个地方。
我尝试在我的.forward
. 它们不会出现在 中mutt
,也不会出现在 GMail 中。
mail.log
建议电子邮件已发送,并且我在mail.err
. 从我的角度来看,GMail 似乎只是接收电子邮件并将其丢弃,但这不可能是正确的!
附录:在中指定我的转发电子邮件地址/etc/postfix/virtual
会导致相同的结果:
Apr 4 08:49:28 vps-375 postfix/smtpd[16235]: 8062044D1B2F: client=mail-qw0-f48.google.com[209.85.216.48]
Apr 4 08:49:28 vps-375 postfix/cleanup[16239]: 8062044D1B2F: message-id=<BANLkTina6U==71+ZW-bafMbE6QCHqeYQ4g@mail.gmail.com>
Apr 4 08:49:28 vps-375 postfix/qmgr[15970]: 8062044D1B2F: from=<redacted@gmail.com>, size=1581, nrcpt=1 (queue active)
Apr 4 08:49:29 vps-375 postfix/smtp[16240]: 8062044D1B2F: to=<redacted+domain@gmail.com>, orig_to=<dave@domain.net>, relay=gmail-smtp-in.l.google.com[209.85.143.27]:25, delay=1.3, delays=0.41/0.02/0.36/0.52, dsn=2.0.0, status=sent (250 2.0.0 OK 1301903372 m53si9513199wej.191)
Apr 4 08:49:29 …
Run Code Online (Sandbox Code Playgroud)