Last active
December 18, 2015 04:58
-
-
Save koki-h/6e8caef074c63cabc2ba to your computer and use it in GitHub Desktop.
自分から届いたメールを.Sentディレクトリに自動的に移動する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #差出人が自分の場合は送信済みフォルダにメールを移動する | |
| myaddress=`pwd | cut -d/ -f5` #自分のメールアドレス | |
| if ( /^From:\s*(.*)${myaddress}@example.com/) #この例では自ドメインはexample.comとする | |
| { | |
| to "maildir/.Sent/" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment