Sam Varshavchik wrote on 07/08/2008 02:40 PM:
> Chuck Williams writes:
>
>> Sam Varshavchik wrote on 07/07/2008 01:34 PM:
>>> Chuck Williams writes:
>>>
>>>> Email to sanghas-help still gets forwarded to the list owner 
>>>> instead of getting the help auto-reply message.  Is something 
>>>> required to configure this?
>>>
>>> That usually indicates that .courier files are not set up correctly.
>>
>> I have spent some time looking at this, even digging into cmlm.C, but 
>> remain baffled.
>>
>> Mail to sanghas-help consistently forwards the message to the list 
>> owner with no errors reported, but:
>>
>> [EMAIL PROTECTED]:~$ export DEFAULT=help
>> [EMAIL PROTECTED]:~$ echo -e "from: [EMAIL PROTECTED]: 
>> [EMAIL PROTECTED]" | couriermlm ctlmsg 
>> /home/sanghas/sanghas-list
>>
>> sends the correct help template back to me.
>>
>> This makes be believe that DEFAULT must somehow be wrong in the 
>> environment established by the dot-courier delivery.  However, all of 
>> the other admin commands, e.g., -subscribe, -unsubscribe, -fetch-N, 
>> etc., are working properly (although for some reason I don't think 
>> the list archive is being built).
>>
>> [EMAIL PROTECTED]:~$ pwd
>> /home/sanghas
>> [EMAIL PROTECTED]:~$ ls -l .courier-default
>> -rw-r--r-- 1 sanghas sanghas 56 2008-07-07 01:52 .courier-default
>> [EMAIL PROTECTED]:~$ cat .courier-default
>> | /usr/bin/couriermlm ctlmsg /home/sanghas/sanghas-list
>> [EMAIL PROTECTED]:~$
>>
>> Any ideas?
>
> Courier logs to syslog exactly where each message was delivered to. I 
> suggest that you look there.

Yes, I have been:

Here is the correct behavior when I call couriermlm directly as above:

Jul  8 14:56:54 aloha courierd: 
newmsg,id=0000000001930439.0000000048740CD6.00003456: dns; localhost 
(localhost [127.0.0.1])
Jul  8 14:56:54 aloha courierd: 
started,id=0000000001930439.0000000048740CD6.00003456,from=<[EMAIL 
PROTECTED]>,module=local,host=chuck!!1002!1002!/home/chuck!!,addr=<chuck>
Jul  8 14:56:54 aloha courierd: Waiting.  shutdown time=none, wakeup 
time=Tue Jul  8 16:11:46 2008, queuedelivering=5, inprogress=1
Jul  8 14:56:54 aloha courierlocal: 
id=0000000001930439.0000000048740CD6.00003456,from=<[EMAIL 
PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=2465,success: 
Message delivered.
Jul  8 14:56:54 aloha courierd: 
completed,id=0000000001930439.0000000048740CD6.00003456
Jul  8 14:56:54 aloha courierd: Waiting.  shutdown time=Tue Jul  8 
15:56:37 2008, wakeup time=Tue Jul  8 15:56:37 2008, queuedelivering=4, 
inprogress=0

And here is the incorrect behavior when I send a message to sanghas-help:

Jul  8 14:58:12 aloha courieresmtpd: started,ip=[::ffff:216.235.35.135]
Jul  8 14:58:14 aloha courierd: 
newmsg,id=0000000001930439.0000000048740D26.00003462: dns; 
[192.168.1.121] ([::ffff:216.235.35.135])
Jul  8 14:58:14 aloha courierd: 
started,id=0000000001930439.0000000048740D26.00003462,from=<[EMAIL 
PROTECTED]>,module=local,host=suga!!1003!1004!/home/suga!!,addr=<suga>
Jul  8 14:58:14 aloha courierd: Waiting.  shutdown time=none, wakeup 
time=Tue Jul  8 16:11:46 2008, queuedelivering=5, inprogress=1
Jul  8 14:58:14 aloha courierlocal: 
id=0000000001930439.0000000048740D26.00003462,from=<[EMAIL 
PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=1174,success: 
Message delivered.
Jul  8 14:58:14 aloha courierd: 
completed,id=0000000001930439.0000000048740D26.00003462
Jul  8 14:58:14 aloha courierd: Waiting.  shutdown time=Tue Jul  8 
15:56:37 2008, wakeup time=Tue Jul  8 15:56:37 2008, queuedelivering=4, 
inprogress=0

The logging here seems normal to me, it's just on the wrong code path in 
cmlm or somehow using the instructions in courier-owner instead of 
courier-default.

Does this suggest any further ideas?

Thanks Sam,

Chuck


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to