-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can anyone give me any suggestions on how to get getmail to delete the messages off the mail server once they're downloaded? I've tried for over a week now to get it right, read the man pages & docs, googled all over, experimented, & the problem still persists. My .getmailrc looks like this:
[options] verbose = 1 read_all = false delete = true message_log = ~/.getmail/log [retriever] type = SimplePOP3Retriever server = mail.cableone.net username = dennyboy password = xxxxxxxx [destination] #type = Maildir #path = /home/dennyboy/Mail/ type = MDA_external path = /usr/local/bin/procmail unixfrom = true Here's the .procmailrc: # Please check if all the paths in PATH are reachable, remove the ones that # are not. PATH=$HOME/bin:$HOME:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:. SHELL=/bin/ksh LINEBUF=4096 VERBOSE=on MAILDIR=$HOME/Mail # You'd better make sure it exists DEFAULT=$MAILDIR/inbox FORMAIL=/usr/local/bin/formail SENDMAIL=/usr/sbin/sendmail PMDIR=$HOME/.procmail LOGFILE=$PMDIR/.procmail-log LOCKFILE=$HOME/.lockmail COMSAT=no PER=([EMAIL PROTECTED]|[EMAIL PROTECTED]) FBSDALL=([EMAIL PROTECTED]|[EMAIL PROTECTED]) OBSDALL=([EMAIL PROTECTED]) :0 *$ ^From:.*$PER per/ :0 *$ ^From:.*$FBSDALL fbsd/ :0 *$ ^From:.*$OBSDALL obsd/ :0 * inbox/ # Anything that has not been delivered by now will go to $DEFAULT # using LOCKFILE=$DEFAULT$LOCKEXT When I take procmail out of .getmailrc & just download everything to my inbox, there's no problem. The problem starts every time I try to use procmail. Below is typical output of a getmail session: 2007-07-13 14:23:31 Delivery error (command procmail 17884 error (0, procmail: [17884] Fri Jul 13 14:23:31 2007 procmail: Assigning "MAILDIR=/home/dennyboy/Mail" procmail: Assigning "DEFAULT=/home/dennyboy/Mail/inbox" procmail: Assigning "PMDIR=/home/dennyboy/.procmail" procmail: Assigning "LOGFILE=/home/dennyboy/.procmail/.procmail-log" procmail: Opening "/home/dennyboy/.procmail/.procmail-log")) 2007-07-13 14:23:31 msg 13/13 (2274 bytes) msgid UID54784-1149445332 from <[EMAIL PROTECTED]> The messages get downloaded, sometimes filtered, sometimes not, but are still invariably on the mail server despite the 'delete = true' line in .getmailrc. I've also searched through the getmail & procmail archives & haven't found what I needed. I was wondering too, if any of the permissions on the subdirs of ~/Mail were causing problems & did some experimentation with that, but it didn't help either. All of hat said so no one will think I'm just sitting back on my duff crying "fix it, wah wah" for me. ;) Thanks for any & all help. Denny White -- =============================================================== GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A =============================================================== iD8DBQFGl9XNy0Ty5RZE55oRAgywAKClAKPcfC+fodb8q+2bhCehYgf46wCgnd0I qa/jJ1DRLdiaWaqgBz09gQE= =snaa -----END PGP SIGNATURE-----