summaryrefslogtreecommitdiff
path: root/src/m-sync
blob: 193d077ed3e9c1e3810786551d3b45d8346baed2 (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
PASSWORD=`getpw`
export USERNAME PASSWORD

mkfifo mbox.i.in
m-filter < mbox.i.in >> mbox.i &
m-pop -m mbox -i mbox.i -j mbox.i.in
rm mbox.i.in