您现在的位置是:postfix删除垃圾邮件队列
postfix删除垃圾邮件队列
使用方法 ./spam_del.sh user@domain.com
[root@mail ~]# cat /usr/local/src/spam_del.sh #!/bin/bash MAIL=$1 echo $MAIL cd /tmp /usr/sbin/postqueue -p|egrep $MAIL|awk '{print $1}' > spam_queue_$MAIL.txt for i in `cat /tmp/spam_queue_$MAIL.txt` do /usr/sbin/postsuper -d ${i:0:10} /usr/sbin/postsuper -d ${i:0:11} #/usr/sbin/postsuper -d $i done
随便看看
- Linux服务器备份文件和数据库并上传到ftp
- postfix配置文件main.cf
- 清除单个用户的邮件队列postquene
- 查看Apache的并发请求数及其TCP连接状态
- PHP发送POST请求
- PHP利用fsockopen异步处理数据
- PHP函数header设置http状态码
- 判断是否微信浏览器(微信客户端)
- PHP读取Excel函数Spreadsheet_Excel_Reader
- 修改帝国CMS上传附件的命名方式(保留原文件名)
- PHP获取客户端IP地址
- json_encode中文转码\u的解决办法
- Linux检查网络并自动重启网卡
- 服务器ping监控脚本
- Linux增加新硬盘扩展VolGroup空间大小
站长简介
分类
最新文章
热门文章
- 微信支付退款结果通知解密
- 到ICANN投诉三五互联获取域名转移密码成功
- Linux修改密码提示passwd /usr/share/cracklib/pw_dict: error reading header
- {"errcode":45047,"errmsg":"out of response count limit hint]"}
- 微信html弹出点击右上角分享到朋友圈
- Apache禁用TRACE Method和添加X-frame-options响应头
- PHP将B转换为KB、MB、GB
- 构建微信公众号被动回复image图片消息xml
- mysqld_safe Number of processes running now
- CentOS使用chkconfig提示systemctl enable xxxx.service