mutt—linux命令行发带附件邮件—message file too big


问题:

db.sql 文件 220MB

[root@localhost ~]# echo db.sql | mutt aaa@163.com bbb@163.com -a db.sql -s "db.sql backup"

postdrop: warning: uid=0: File too large
sendmail: fatal: root(0): message file too big
发送信件出错,子进程已退出 75 (Deferred.)。
无法发送此信件。

-------------------------------------------------------------

解决办法: 在命令行中设置postfix的message_size_limit的值

[root@localhost ~]# postconf -e "message_size_limit=409600000"            //设置400MB

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(64) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
posted @ 2016-02-01 00:00  张同光  阅读(386)  评论(0编辑  收藏  举报