procmail
[Top] [All Lists]

Re: Procmail and Maildir/

2000-08-23 09:08:38
Quoting guenther+procmail(_at_)gac(_dot_)edu:

What happens when you run procmail in delivery mode from the
command line?

   # procmail -d username

Errmm.... :-

server:~# procmail -d temp
Hello!
(i pressed Ctrl-D)
server:~#

no errors noted but "Hello!" is not sent to temp/Maildir/new .
However, 
if I were to remove away the above lines and let procmail do
it's own 
delivering, temp/Maildir/{cur|new|tmp} get's created and
"Hello!" get's 
thrown into temp/Maildir/new .

Well, you could always try turning on logging and see what that
shows,
no?  Put

stupid me... should have turned on logging... how can I ever forget to do 
that.... ;-p

     LOGFILE = /tmp/procmail.log
     VERBOSE = on

at the top of the /etc/procmailrc file then give it a shot and
see what
shows up in /tmp/procmail.log.

did that, but it didn't show any error, just the usual parasing of 
/etc/procmailrc stuff...

<pause>

Hmm, putting SHELL=/bin/sh at the top of the /etc/procmailrc file
may be
the ultimate solution, but you should know how to enable logging
when
trying to track down a problem.

yeap, it worked after I put in SHELL=/bin/sh at the top of my 
/etc/procmailrc file.

btw, is there any implications with putting in the SHELL statement? I 
looked through "man procmailrc" and couldn't see any implications to 
it... will it be safe? Any likely security problems?

Thanks alot for your assistance!

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>