Sam Varshavchik wrote on 07/08/2008 03:37 PM:
> Chuck Williams writes:
>
>> 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
>
> That looks like couriermlm's response, which bears little relevance as 
> to the message that would be received by couriermlm.

There is no logging at all for this.  The above is the complete set of 
log entries that made to syslog for the call sequence noted earlier:

[EMAIL PROTECTED]:~$ export DEFAULT=help
[EMAIL PROTECTED]:~$ echo -e "from: [EMAIL PROTECTED]: 
[EMAIL PROTECTED]" | couriermlm ctlmsg 
/home/sanghas/sanghas-list

The logging above shows the expected behavior of the outgoing message, 
it comes from sanhgas-owner and is delivered to me.  I receive the 
message with the instantiated help template.

>
>> 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,
>
> No, the above log entries are for a message that was delivered to 
> <[EMAIL PROTECTED]>, and not "[EMAIL PROTECTED]".

Again that is all there is in syslog, nothing else.  There is no logging 
for the incoming message, which I sent from [EMAIL PROTECTED] to 
[EMAIL PROTECTED]  [EMAIL PROTECTED] is the owner of the 
list, and a local user:

[EMAIL PROTECTED]:~$ cat .courier-owner
/home/suga/Maildir
[EMAIL PROTECTED]:~$

>
>>                                      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?
>
> couriermlm is doing exactly what it's supposed to be doing, given the 
> example above, which shows no evidence of the -help address extension.
>
Yes, except the message does have the -help address extension.  Here is 
the message as saved from source from thunderbird (with my personal info 
removed):

Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 08 Jul 2008 14:58:12 -1000
From: Chuck Williams <[EMAIL PROTECTED]>
Organization: Manawiz
User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: (no subject)
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<div class="moz-signature">-- <br>
<div
 style="font-family: arial; font-style: normal; font-variant: normal; 
font-weight: normal; font-size: 10pt; line-height: normal; 
font-size-adjust: none; font-stretch: normal; color: black;">
<b>Chuck Williams</b><br>
Manawiz<br>
...Personal info omitted...
</div>
</div>
</body>
</html>

Strange, isn't it.  Any ideas?

The model of couriermlm in several of the examples in the man pages 
seems to assume a list name of user-listname, e.g. suga-sanghas in this 
case, with suga owning the dot-courier files and list directory.  My 
list is just sanghas, owned by the sanghas system user in 
/home/sanghas/sanghas-list.  Could that be at all relevant to this issue?

The description of DEFAULT in the dot-courier man page shows an example 
of DEFAULT matching bar [EMAIL PROTECTED] with a .courier-foo-default 
file, while in my case DEFAULT needs to match help in 
[EMAIL PROTECTED] with a .courier-default file.  Although it seems 
this should work, I would have suspected a problem here given the 
symptoms, except all of the other admin commands work.  E.g., mail to 
[EMAIL PROTECTED], to [EMAIL PROTECTED], to 
[EMAIL PROTECTED], etc., all do the expected thing.

Thanks for your help,

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