Linux Mail Server Komutları

Yazdır PDF

Linux Mail Server da bazı faydalı komutlar...

Flush Postfix Komutu

# postfix -f

 

Kuyruktaki Mailleri Görme Komutu
# mailq

Kuyruğu Temizleme Komutu
# postsuper -d ALL

Yada
# postsuper -d ALL deferred

Script

postfix-delete.pl script


#!/usr/bin/perl
  $REGEXP = shift || die "no email-adress given (regexp-style, e.g. bl.*\@yahoo.com)!";   @data = qx</usr/sbin/postqueue -p>; for (@data) { if (/^(\w+)(\*|\!)?\s/) { $queue_id = $1; } if($queue_id) { if (/$REGEXP/i) { $Q{$queue_id} = 1; $queue_id = ""; } } }   #open(POSTSUPER,"|cat") || die "couldn't open postsuper" ; open(POSTSUPER,"|postsuper -d -") || die "couldn't open postsuper" ;   foreach (keys %Q) { print POSTSUPER "$_\n"; }; close(POSTSUPER);  


Kullanımı
./postfix-delete.pl mustafademiroz.com

Yorumlar  

 
0 #3 agsfhum 31-10-2019 05:06
http://mewkid.net/where-is-xena/ - Buy Amoxicillin Buy Amoxil zqd.vpca.mustafademiroz.com.umh.az http://mewkid.net/where-is-xena/
Alıntı
 
 
0 #2 oisiijowo 31-10-2019 04:45
http://mewkid.net/where-is-xena/ - Buy Amoxicillin Amoxicillin Online jjr.njlh.mustafademiroz.com.xbn.ei http://mewkid.net/where-is-xena/
Alıntı
 
 
0 #1 Amoiprorge 30-03-2018 04:06
The ED due to that surgery may be either temporary or permanent. He is content, as well as the complete opposite of our opinion later years has in store for us.
https://www.cialissansordonnancefr24.com/achat-cialis-par-telephone/
Alıntı
 

Yorum ekle


Güvenlik kodu
Yenile