blob: 9e07c188d796d3384100c223de29720c32362857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# m-sync -- retrieve mail
# Edit this script to your own preferences.
USERNAME=john@ankarstrom.se
[ -z "$PASSWORD" ] && PASSWORD=`getpw`
export USERNAME PASSWORD
mkfifo mbox.i.fifo
m-filter < mbox.i.fifo >> mbox.i &
m-pop -m mbox -i mbox.i -j mbox.i.fifo
rm mbox.i.fifo
|