LoginSignup
0
0

More than 5 years have passed since last update.

IMAP サーバーに残っている特定のフォルダに入ってるメールを消すやつ

Last updated at Posted at 2014-08-04

iPhone でメールを送信すると送信済みにメールデータが残っているのが鬱陶しかったので fetchmail で削除するようにしました。


poll imap_server
        proto imap
        timeout 30
        username imap_user_name
        password imap_password
        ssl #必要であれば
        folder Sent
        flush

あとは iPhone からメールを送信してメールが消えるか maillog や iPhone を用いて確認すればよいでしょう。
(もちろん別の folder を指定して削除することも可能です。)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0