[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

procmail locking and demonizing



-----BEGIN PGP SIGNED MESSAGE-----

how to get fetch/procmail working as a daemon...

here's fetchmail:
# .fetchmailrc  1/16/98
poll mailer.cia-g.com
	protocol pop3
	user dmallery
	pass ??????
	mda "/usr/bin/procmail -f-"
	fetchall

ane here's procmail:

PATH=/bin:/usr/bin:/usr/bin
MAILDIR=$HOME/mail
LOGFILE=$MAILDIR/from
DEFAULT=Amisc

:0
* ^.*debian-user@lists.debian.org
deb-user

:0
* ^.*debian-changes@lists.debian.org 
deb-changes

:0
* ^.*seti@sni.net
seti
[snip]

there are at least two considerations:
1) locking and 2) $HOME

does it suffice to simply use the :0: construct on each of 
the filters in procmailrc?? what about Amisc, my default?
i can't find any evidence that pine is setting any locks
(at least not the xxxx.lock variety).  if i make an xxxx.lock
file in /mail, then pine does hold off opening that folder...

if the fetchmail/procmail runs as a daemon, started by ppp.up
then will i not have to make the $HOME reference explicit to
my account (and the location of my /mail directory?) since 
ppp.up (i think) is started as root...

i've really tried to track this one down... i hate to lose mail
and that's what happened last time i tackled this.

thanks mucho

dave






- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- 

Dave Mallery, K5EN
po box 520; ramah nm  87321
505-783-4784
running Debian GNU/Linux....."Free at last!!!!"
winNT: from the people who brought us EDLIN.

public key on keyservers..keyid: E06D8D8D
 Key fingerprint = 06 84 11 FD EB 5D 12 F2  9C E6 0C 0A 3F 11 7F 2F

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBNQMviwJbhNLgbY2NAQGCzwQAhIyobGxhmITeO+rKCElktrqlC/SKEq30
LQykH68zosS6etzyUAZFm24evIiw29oTr5D0jPF0poFPAJZl4DPGXxo6CF9yzzx7
o6U95do8JZ7Z/X7sHm7gTavtjLA/GqL+fJFGTI4yEcO9oolIVI8YgXcBW3kyO7fQ
uHnXVBKl2gk=
=/Bey
-----END PGP SIGNATURE-----


--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .


Reply to: