(apologies to the moderator... I'm now subscribed under this address,
please reject the previous posting of this message)
Quoting Message from Dean Strik:
I am currently using 3 Maildir folders and a number of mbox folders.
Delivery to one of the 3 Maildir folders works just fine, but for the
two others, I get the following log output:
procmail: [47140] Tue Jul 10 00:51:24 2001
procmail: Match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-
Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-
Z0-9_.])?)bugtraq(_at_)securityfocus\(_dot_)com"
procmail: Error while writing to
"bugtraq/tmp/994719084.47140_0.l2/20010710dragon.stack.nl"
procmail: Couldn't create or rename temp file
"bugtraq/tmp/994719084.47140_0.l2/20010710dragon.stack.nl"
What could be wrong here?
I'm encountering the same problem. It is due to a bug in the new
maildir name generating code in src/exopen.c
The author of this code meant to type strlcpy instead of strlcat
Changing the indicated code below in src/exopen.c should resolve the
issue:
...
ultstr(0,(long)thepid,dot+1)
*(dot=strchr(p,'\0'))='_';
*(++dot+1)='.';
strlcat(dot+2,hostname(),end-dot); /* CHANGE THIS TO strlcpy */
}
...
It's roughly line 51 (or so). Just keep the arguments the same and
everything should suddenly just work. Someone should commit this change
in if it hasn't already been done. Thx!
FWIW, the machine affected by this in my case is a FreeBSD 4.3-STABLE
box.
--
Andy Carrel - william(_dot_)carrel(_at_)infospace(_dot_)com - +1 (206)
357-4607
Internet Sys. Eng. - Enterprise Infrastructure & Security - InfoSpace
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail