You are not logged in.

#1 2010-09-07 13:09:35

yabasta
Member
Registered: 2010-05-01
Posts: 167

procmail error configuring mutt

hi smile i've decided to give mutt email a try, and have been following the Wiki article to get me started. i've set up getmail to use POP3, that worked fine. then i went to set up procmail. Here are my getmailrc and .procmailrc respectively :

[retriever]
type = SimplePOP3SSLRetriever
server = pop.ntlworld.com
username = foo@ntlworld.com
port = 995
password = mypass

[destination]
type = MDA_external
path = /usr/bin/procmail
MAILDIR=$HOME/mail
DEFAULT=$MAILDIR/inbox/
LOGFILE=$MAILDIR/log

:0:
* ^To: foo@ntlworld.com
ntlworld/

once i'd changed getmailrc and made .procmailrc i ran getmail again, and this is the error i recieved :

Delivery error (command procmail 1040 wrote to stderr: procmail: Error while writing to "/home/foo/mail/log")
  msg 1/1 (3254 bytes), delivery error (command procmail 1040 wrote to stderr: procmail: Error while writing to "/home/foo/mail/log")
  1 messages (3254 bytes) retrieved, 0 skipped

i followed the wiki faithfully, at least i think i have, also i did a 'chmod 644 ~/.procmailrc' as suggested.
any ideas where i'm going wrong?

Offline

#2 2010-09-07 13:58:30

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: procmail error configuring mutt

try doing:

touch ~/mail/log

and running getmail again smile

p.s. I'm assuming you exchanged your username / passwords with "foo" and "mypass" in the examples you've posted here, correct?

Last edited by stefanwilkens (2010-09-07 13:59:42)


Arch i686 on Phenom X4 | GTX760

Offline

#3 2010-09-07 14:11:35

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: procmail error configuring mutt

hi, thanks for the reply. i did what you recommended, and yes i'd exchanged the foo and mypass hehe. sadly i still have an error :

Delivery error (command procmail 2665 wrote to stderr: procmail: Error while writing to "/home/foo/mail/log")
  msg 1/1 (3278 bytes), delivery error (command procmail 2665 wrote to stderr: procmail: Error while writing to "/home/foo/mail/log")
  1 messages (3278 bytes) retrieved, 0 skipped

Offline

#4 2010-09-07 14:27:31

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: procmail error configuring mutt

odd, I'm not familiar with mutt but I assume it's run under your user account?

could you post the output of:

$ ls -l /home/foo/mail/log

Arch i686 on Phenom X4 | GTX760

Offline

#5 2010-09-07 14:53:38

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: procmail error configuring mutt

the folder is empty. never mind, i think i shall leave procmail alone for now. it's probably just me but the wiki article seems to be as clear as mud in some places. thanks for your time though

Offline

#6 2010-09-07 15:18:09

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: procmail error configuring mutt

I'm fairly sure it's a simple rights / ownership issue, the folder shouldn't be empty if you've done the touch command successfully though.

anyway, good luck smile


Arch i686 on Phenom X4 | GTX760

Offline

Board footer

Powered by FluxBB