PerÅŸembe, 05 Nisan 2012 14:04
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
https://www.cialissansordonnancefr24.com/achat-cialis-par-telephone/
RSS beslemesi, bu iletideki yorumlar için