Directory artaigil
Seo bhidio oideachaidh YouTube air pannal smachd CWP: Staitistig agus clàran frithealaiche puist Postfix ▼
Le bhith a’ stàladh pannal smachd CWP, faodaidh tu staitistig frithealaiche puist-d fhaicinn gu furasta ann an cruth clàr-cearcaill. ▼

loidhne-àithne cumanta postfix
Seo geàrr-chunntas de chuid de loidhnichean àithne postfix cumanta.
Àithne gus liosta a dhèanamh de chiudhaichean puist agus IDan Puist ▼
postqueue -p
mailq
postqueue -p |tail
postqueue -p和mailqTha an àithne mar an ceudna.
òrdugh tòiseachaidh postfix
Tòisich frithealaiche postfix ▼
postfix:postfix start
cuir stad air frithealaiche postfix ▼
postfix:postfix
Ath-luchdaich rèiteachadh postfix ▼
service postfix reload
Ath-thòisich òrdugh seirbheis postfix
Ath-thòiseachadh frithealaiche postfix ▼
service postfix restart
Faic an tionndadh postfix ▼
postconf mail_version
Seall an luach postfix bunaiteach ▼
postconf -d
Seall luachan postfix neo-àbhaisteach ▼
postconf -n
Ùraich ciudha a’ phuist ▼
postfix flush
òrdugh debug postfix
Pròiseas an ciudha sa bhad ▼
postqueue -f
Pròiseas puist-d sam bith a tha steigte sa chiudha ▼
postsuper -r ALL && postqueue -f
Leugh post-d bho ciudha puist ▼
postcat -q MAIL_ID
Thoir air falbh teachdaireachd MAIL_ID on ciudha ▼
postsuper -d MAIL_ID
Thoir air falbh a h-uile brath bhon ciudha ▼
postsuper -d ALL
Thoir air falbh gu sgiobalta a h-uile càil bhon ciudha puist ▼
find /var/spool/postfix/deferred/ -type f | xargs -n1 basename | xargs -n1 postsuper -d
Sguab às a h-uile brath anns a’ chiudha dàil ▼
postsuper -d ALL deferred
òrdughan cumail suas postfix
Deasaich agus cunnt puist-d le "From Address" ▼
postqueue -p | awk '/^[0-9,A-F]/ {print $7}' | sort | uniq -c | sort -nSguab às a h-uile post-d a chaidh a chuir: mailto:[email protected] ▼
postqueue -p|grep '^[A-Z0-9]'|grep user@ adminlogs. info|cut -f1 -d' '|tr -d \*|postsuper -d -
Sguab às a h-uile post-d a chaidh a chuir bho [email protected]▼
postqueue -p|awk '/^[0-9,A-F].*user@ admin.info / {print $1}'|cut -d '!' -f 1|postsuper -d -Sguab às a h-uile post-d bhon àrainn adminlogs.info▼
postqueue -p | grep '^[A-Z0-9]'|grep @adminlogs. info|cut -f1 -d' ' |tr -d \*|postsuper -d -
Tha staitistig ciudha teachdaireachd goirid ▼
postqueue -p | tail -n 1
An àireamh de phuist-d ann an ciudha a’ phuist ▼
postqueue -p | grep -c "^[A-Z0-9]"
Cunntas luath post-d ann an ciudha a’ phuist ▼
find /var/spool/postfix/deferred -type f | wc -l
Seall loga puist ▼
tail -f /var/log/maillog
Cunnt agus rèitich logaichean soirbheachail pop3/imap ▼
grep "\-login" /var/log/dovecot-info.log |grep "登录:"|awk {'print $7'}|sort|uniq -c|sort -nCunnt agus rèitich logaichean postfix soirbheachail SMTP (airson lorg spammers) ▼
grep -i "sasl_username" /var/log/maillog |awk {'print $9'}|sort|uniq -c|sort -nCunnt agus rèitich logaichean postfix soirbheachail SMTP air an dearbh cheann-latha "6 Ògmhios" ▼
grep -i "sasl_username" /var/log/maillog |grep "Jun 18"|awk {'print $9'}|sort|uniq -c|sort -nDèan mion-sgrùdadh air logaichean postfix ▼
pflogsumm /var/log/maillog | less
- Mura h-eil pflogsum agad faodaidh tu am pasgan rpm seo a stàladh"
postfix-perl-scripts"
Tha oideachadh postfix ann cuideachd gus spam a sheachnadh ▼
Tha mi an dòchas gum bi an t-artaigil "Common Postfix Command Lines: Sending Emails to Execute Startup, Restart, Debugging, and Maintenance Services" a chaidh a cho-roinn air blog Chen Weiliang ( https://www.chenweiliang.com/ ) feumail dhut.
Faodaidh sibh ceangal an artaigil seo a cho-roinn: https://www.chenweiliang.com/cwl-27769.html

