[courier-users] Increased error logging verbosity?

2002-05-29 Thread Peter C. Norton

I'm getting the following in my logs:

May 29 10:24:51 ghetto courierlocal:
id=00112A60.3CF4E387.42EF,from=spacey@mailhost,addr=[EMAIL PROTECTED]:
maildir.open: Permission denied

What would it take for the open method to print the directory that
failed to be opened to syslog as well?

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Increased error logging verbosity?

2002-05-29 Thread Peter C. Norton

To answer my own question, a hack to do this is to change
courier/module.local/deliver.c line 530:

   if ((delivf=fopen(p, w)) == 0)  
   {
sprintf(buf, maildir.open %s:, p);
delivery_error(buf);
return (-1);
   }

-Peter
   

On Wed, May 29, 2002 at 02:28:01PM -0700, Peter C. Norton wrote:
 I'm getting the following in my logs:
 
 May 29 10:24:51 ghetto courierlocal:
 id=00112A60.3CF4E387.42EF,from=spacey@mailhost,addr=[EMAIL PROTECTED]:
 maildir.open: Permission denied
 
 What would it take for the open method to print the directory that
 failed to be opened to syslog as well?
 
 -- 
 The 5 year plan:
 In five years we'll make up another plan.
 Or just re-use this one.
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users