diff options
author | randomdan <randomdan@localhost> | 2012-01-19 13:21:47 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-01-19 13:21:47 +0000 |
commit | b9e911d51baf0b2c482d453da0c88933a6315974 (patch) | |
tree | 600d97bc37486b53e5979b67c1e56b3d9034aa4f /virtual/miller-mailserver | |
parent | Add package for MIB-Ossigeno-Ultimate-Plymouth (diff) | |
download | portage-b9e911d51baf0b2c482d453da0c88933a6315974.tar.bz2 portage-b9e911d51baf0b2c482d453da0c88933a6315974.tar.xz portage-b9e911d51baf0b2c482d453da0c88933a6315974.zip |
Install a cronjob to have spamassassin autolearn from user's junk folder
Diffstat (limited to 'virtual/miller-mailserver')
-rw-r--r-- | virtual/miller-mailserver/Manifest | 2 | ||||
-rw-r--r-- | virtual/miller-mailserver/files/digest-miller-mailserver-0 | 0 | ||||
-rw-r--r-- | virtual/miller-mailserver/files/sa-learn | 4 | ||||
-rw-r--r-- | virtual/miller-mailserver/miller-mailserver-1.ebuild | 19 |
4 files changed, 25 insertions, 0 deletions
diff --git a/virtual/miller-mailserver/Manifest b/virtual/miller-mailserver/Manifest index db60eef..eb297ef 100644 --- a/virtual/miller-mailserver/Manifest +++ b/virtual/miller-mailserver/Manifest @@ -1 +1,3 @@ +AUX sa-learn 81 RMD160 757552dc2ffdfb9b03683768521813735579d30b SHA1 4b35ab90c614343a39f10314306ff168d9d8c274 SHA256 6a51cd3e7704df0a960e1051d08d2db582e73ad0222a92c0d2bc8d89963d3aec EBUILD miller-mailserver-0.ebuild 262 RMD160 0b642baee2d644cae626951f5de1d4adc93b1d4e SHA1 4bbfb1234b0f6341cc4059ba24c671f0a32c42bd SHA256 28c503d0346a21ecaf6ddd02b50be5882cfdcecda760ff7ab2fc00ada0230651 +EBUILD miller-mailserver-1.ebuild 376 RMD160 4a4aeaca073684779386db638fde6c61be9f658e SHA1 3c5c53e2545bd80ba65a37307be5e4928b80df21 SHA256 9686cd3b5f21c7bfc1518317b7ed35be3e702afea154c854a9ce693d70f8634f diff --git a/virtual/miller-mailserver/files/digest-miller-mailserver-0 b/virtual/miller-mailserver/files/digest-miller-mailserver-0 deleted file mode 100644 index e69de29..0000000 --- a/virtual/miller-mailserver/files/digest-miller-mailserver-0 +++ /dev/null diff --git a/virtual/miller-mailserver/files/sa-learn b/virtual/miller-mailserver/files/sa-learn new file mode 100644 index 0000000..db6561f --- /dev/null +++ b/virtual/miller-mailserver/files/sa-learn @@ -0,0 +1,4 @@ +#!/bin/bash + +sa-learn --spam /mnt/home/*/.maildir/.Junk/{cur,new}/* > /dev/null + diff --git a/virtual/miller-mailserver/miller-mailserver-1.ebuild b/virtual/miller-mailserver/miller-mailserver-1.ebuild new file mode 100644 index 0000000..90ecefe --- /dev/null +++ b/virtual/miller-mailserver/miller-mailserver-1.ebuild @@ -0,0 +1,19 @@ +DESCRIPTION="Virtual for Miller mail servers" + +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 mips ppc ppc-macos sparc sparc-fbsd x86 x86-fbsd" +IUSE="" +EAPI="2" + +DEPEND=" +virtual/miller-base +virtual/cron +|| ( net-mail/courier-imap mail-mta/courier ) +mail-mta/exim +mail-filter/spamassassin[berkdb] +" + +src_install() { + exeinto /etc/cron.daily + newexe "${FILESDIR}"/sa-learn sa-learn +} |