git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd89ae2
)
Expunges local user (defaults to "short-m") primary mail box
author
short
<>
Tue, 25 Sep 2001 11:08:20 +0000
(11:08 +0000)
committer
short
<>
Tue, 25 Sep 2001 11:08:20 +0000
(11:08 +0000)
- FIXME: stupid fetchmail implementation by redirection to "/dev/null"
bin/expunge-imap
[new file with mode: 0755]
patch
|
blob
diff --git a/bin/expunge-imap
b/bin/expunge-imap
new file mode 100755
(executable)
index 0000000..
3ae0760
--- /dev/null
+++ b/
bin/expunge-imap
@@ -0,0
+1,5
@@
+#! /bin/sh
+user="${1:-short-m}"
+echo 'poll localhost proto IMAP user '"$user"' pass '"`cat ~/priv/"$user".pwd \
+ `"' mda "cat >/dev/null" norewrite fetchall nokeep' \
+ |fetchmail -f - -s