From: "Alexey I. Froloff" <raorn@immo.ru> To: ALT Linux Community <community@altlinux.ru> Cc: ruby@altlinux.ru Subject: Re: [Comm] Как удалить "спам" на сервере провайдера? Date: Mon, 7 Jun 2004 12:34:11 +0400 Message-ID: <20040607083411.GK27567@immo.ru> (raw) In-Reply-To: <20040607041523.GC27567@immo.ru> [-- Attachment #1: Type: text/plain, Size: 755 bytes --] * Alexey I. Froloff <raorn@> [040607 08:15]: > > Настроил sylpheed-0.9.10-alt1 так, что она не принимает почту с > > адресов xx@mail.ur.ru и xx@dialup.mplik.ru, но письма-то остаются > > на сервере! Как бы их удалить не принимая?! Куда смотреть? > #! /usr/bin/ruby > require 'net/pop' > Net::POP3.new('mail.server').start('username', 'password') do |pop| > pop.mails.each do |msg| > msg.delete > end > end Интересно, а можно сказать так: ruby -rnet/pop -e 'Net::POP3.new('mail.server').start('username', 'password').mails.each.delete' ? -- Regards, Sir Raorn. ------------------- Одно точно - молчком перетаскивать ping из чрута в vserver, как его до этого перетащили в чрут, не стоит! :)) -- avl in sisyphus@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-06-07 8:34 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-06-07 4:06 Pavel N. Solovyov 2004-06-07 4:15 ` Alexey I. Froloff 2004-06-07 8:34 ` Alexey I. Froloff [this message] 2004-06-09 16:41 ` [Ruby] " Michael Shigorin 2004-06-07 6:10 ` Mike Lykov 2004-06-07 8:29 ` Pavel N. Solovyov 2004-06-07 8:32 ` Mike Lykov 2004-06-07 10:42 ` Pavel N. Solovyov 2004-06-07 10:48 ` Dolgov OV 2004-06-07 10:54 ` Mike Lykov 2004-06-07 6:37 ` Andrey Rahmatullin 2004-06-07 8:30 ` Pavel N. Solovyov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040607083411.GK27567@immo.ru \ --to=raorn@immo.ru \ --cc=community@altlinux.ru \ --cc=ruby@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git