Eolaire Eolaire
Seo é an painéal rialaithe CWP: staitisticí agus graif freastalaí poist postfixYouTubeFíseán Teagaisc ▼
Suiteáil Painéal Rialaithe CWP, is féidir leat stádas staidrimh an fhreastalaí ríomhphoist a fheiceáil go héasca i bhfoirm píchairt ▼
líne ordaithe coitianta postfix
Seo achoimre ar roinnt línte ordaithe postfix coitianta.
Liostaigh scuainí poist agus MAIOrdú L_ID ▼
postqueue -p
mailq
postqueue -p |tail
postqueue -p
和mailq
Tá an t-ordú mar an gcéanna.
ordú tosaithe postfix
Tosaigh freastalaí postfix ▼
postfix:postfix start
stop freastalaí postfix ▼
postfix:postfix
Athlódáil cumraíocht postfix ▼
service postfix reload
Atosaigh ordú seirbhíse postfix
Atosaigh freastalaí postfix ▼
service postfix restart
Féach ar leagan postfix ▼
postconf mail_version
Taispeáin luach réamhshocraithe postcheartaithe ▼
postconf -d
Taispeáin luachanna postfix neamh-réamhshocraithe ▼
postconf -n
Athnuaigh scuaine ríomhphoist ▼
postfix flush
ordú dífhabhtaithe postfix
Próiseáil an scuaine láithreach ▼
postqueue -f
Próiseáil aon ríomhphost atá greamaithe sa scuaine ▼
postsuper -r ALL && postqueue -f
Léigh ríomhphost ón scuaine ríomhphoist ▼
postcat -q MAIL_ID
Bain an teachtaireacht MAIL_ID den scuaine ▼
postsuper -d MAIL_ID
Bain gach teachtaireacht ón scuaine ▼
postsuper -d ALL
Go tapa bain go léir as an scuaine poist ▼
find /var/spool/postfix/deferred/ -type f | xargs -n1 basename | xargs -n1 postsuper -d
Scrios gach teachtaireacht sa scuaine moillithe ▼
postsuper -d ALL deferred
orduithe cothabhála postfix
Sórtáil agus comhaireamh ríomhphoist de réir "Ó Seoladh" ▼
postqueue -p | awk '/^[0-9,A-F]/ {print $7}' | sort | uniq -c | sort -n
Scrios gach ríomhphost seolta: mailto:[email protected] ▼
postqueue -p|grep '^[A-Z0-9]'|grep user@ adminlogs. info|cut -f1 -d' '|tr -d \*|postsuper -d -
Scrios gach ríomhphost a seoladh ó [email protected]▼
postqueue -p|awk '/^[0-9,A-F].*user@ admin.info / {print $1}'|cut -d '!' -f 1|postsuper -d -
Scrios gach ríomhphost ón bhfearann adminlogs.info▼
postqueue -p | grep '^[A-Z0-9]'|grep @adminlogs. info|cut -f1 -d' ' |tr -d \*|postsuper -d -
Tá staitisticí scuaine teachtaireachta gearr ▼
postqueue -p | tail -n 1
Líon na ríomhphost sa scuaine poist ▼
postqueue -p | grep -c "^[A-Z0-9]"
R-phost Comhaireamh Tapa sa scuaine Ríomhphoist ▼
find /var/spool/postfix/deferred -type f | wc -l
Féach ar loga ríomhphoist ▼
tail -f /var/log/maillog
Comhair agus sórtáil logáil isteach pop3/imap rathúla ▼
grep "\-login" /var/log/dovecot-info.log |grep "登录:"|awk {'print $7'}|sort|uniq -c|sort -n
Comhair agus sórtáil logins postfix rathúla SMTP (chun spammers a rianú)▼
grep -i "sasl_username" /var/log/maillog |awk {'print $9'}|sort|uniq -c|sort -n
Comhair agus sórtáil logáil isteach iarshocrú SMTP ar an dáta cruinn "6 Meitheamh" ▼
grep -i "sasl_username" /var/log/maillog |grep "Jun 18"|awk {'print $9'}|sort|uniq -c|sort -n
Déan anailís ar logaí postfhix ▼
pflogsumm /var/log/maillog | less
- Mura bhfuil pflogsum agat, is féidir leat an pacáiste rpm seo a shuiteáil"
postfix-perl-scripts
"
Tá postfix seachain turscar thus teagaisc ▼
Tá súil agam Blag Chen Weiliang ( https://www.chenweiliang.com/ ) shared "Postfix Common Command Line: Seol Ríomhphost chuig an tSeirbhís Tosaigh, Atosaigh, Dífhabhtaithe agus Cothabháil", rud atá cabhrach duit.
Fáilte romhat nasc an ailt seo a roinnt:https://www.chenweiliang.com/cwl-27769.html
Fáilte chuig cainéal Telegram de bhlag Chen Weiliang chun na nuashonruithe is déanaí a fháil!
📚 Tá luach ollmhór sa treoir seo, 🌟 Seo deis annamh, ná caill é! ⏰⌛💨
Roinnigí agus más maith libh!
Is iad do chomhroinnt agus do thaitin ár spreagadh leanúnach!