File: README.Debian

package info (click to toggle)
getmail 3.2.5-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 428 kB
  • ctags: 161
  • sloc: python: 1,777; sh: 31; makefile: 12
file content (48 lines) | stat: -rw-r--r-- 1,848 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

Note:
 Versions of getmail prior to 3.1.0 you need to rename the recipient_header
 directive to "envelope_recipient". The authour of getmail thought there was
 simply too much confusion about it. Sorry, but you'll have to update your
 getmailrc file and rename this directive if you're using it.
 
 getmail 3.x does not have native mbox support, as all mbox-capable MDAs on a
 given system must use the same locking mechanism and support the same mbox
 subtype. You can use getmail's command delivery mechanism to deliver through
 an external mbox-aware MDA (see the next paragraph) if you must, but consider
 using maildirs instead.

 getmail includes getmail_mbox, an mbox delivery agent you can use in this
 fashion. It supports mboxrd-format mbox files and uses flock-style locking.
 Make sure these are the correct types for your system before using it, as all
 mbox-handling programs on a system must use the same types and values.

 To use getmail_mbox to deliver to mbox files, specify it as an external MDA.
 It takes the path to the mbox file as a commandline argument, as follows:

 getmail_mbox /path/to/mbox

 Example uses:
 postmaster = "|/usr/bin/getmail_mbox /path/to/mbox
 local = "^joe@.*$,|/usr/bin/getmail_mbox /home/joe/mbox
 local = "^sam@.*$,|/usr/bin/getmail_mbox /home/sam/mbox

 See: http://www.qcc.ca/~charlesc/software/getmail-3.0/faq.html#other-errors


Example how to keep cron from running multiple instances of getmail using a
simple wrapper. Copy these lines below and create for example
~/bin/getmailwrap.sh and call ~/bin/getmailwrap.sh from crontab.

Example wrapper script from: Tom Goulet <tomg@em.ca>
-- cut -- 
#!/bin/sh
if [ -f ~/.getmail_lock ] ; then
    exit
fi
touch ~/.getmail_lock
trap "rm ~/.getmail_lock ; exit 1" INT
getmail "$@"
rm ~/.getmail_lock
-- cut --

 -- Fredrik Steen <stone@debian.org>