![有没有办法将带有 zip 文件附件的邮件从终端发送到 gmail 或 google apps 邮件?](https://linux22.com/image/987912/%E6%9C%89%E6%B2%A1%E6%9C%89%E5%8A%9E%E6%B3%95%E5%B0%86%E5%B8%A6%E6%9C%89%20zip%20%E6%96%87%E4%BB%B6%E9%99%84%E4%BB%B6%E7%9A%84%E9%82%AE%E4%BB%B6%E4%BB%8E%E7%BB%88%E7%AB%AF%E5%8F%91%E9%80%81%E5%88%B0%20gmail%20%E6%88%96%20google%20apps%20%E9%82%AE%E4%BB%B6%EF%BC%9F.png)
我尝试从终端发送带有 zip 文件附件的邮件。邮件被 gmail 或 google apps 邮件拒绝。我收到如下错误:
<[email protected]>: host ASPMX.L.GOOGLE.com[74.125.23.27] said: 552-5.7.0 This
message was blocked because its content presents a potential 552-5.7.0
security issue. Please visit 552-5.7.0
https://support.google.com/mail/answer/6590 to review our message 552 5.7.0
content and attachment content guidelines. 69si4122998ioc.181 - gsmtp (in
reply to end of DATA command)
答案1
您的 zip 文件可能包含 Gmail 附件政策。
简而言之,如果 zip 文件包含可执行文件,或者 zip 文件受密码保护并且包含另一个 zip 文件,它会拒绝您的电子邮件。
大小超过 25MB 的邮件(包括附件)也会被拒绝。