Thanks Sam.
I realize couriermlm looks at the From: header, however, I certainly do have
the From: as containing the subscribed address.
I've integrated maildrop now by piping to maildrop in the .courier-list
alias. That way I'm able to get some debug in the maillog. And with that I
can show that the From: does have the correct address, yet I STILL get the
error. Again, lsub shows that "[EMAIL PROTECTED]" is a subscriber, but
see the log output below. Here's how I have .mailfilter setup:
(This is all with the very latest release of everything, I just downloaded
and built the rpms yesterday)
import RECIPIENT
import SENDER
echo "RECIPIENT $RECIPIENT"
if (/^From: .*/)
{
echo $MATCH
}
if ($RECIPIENT =~ /lista-reflexoes1@/)
{
to "| /usr/lib/courier/bin/couriermlm msg /home/lista/reflexoes1/"
}
Here's the lsub output:
]$ couriermlm lsub /home/lista/reflexoes1/
[EMAIL PROTECTED] (03-Mar-2006)
And here's the corresponding log output:
Mar 5 13:55:12 server3 courierlocal:
id=1001DC58.440B5E3F.00000434,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>:
RECIPIENT [EMAIL PROTECTED]
Mar 5 13:55:12 server3 courierlocal:
id=1001DC58.440B5E3F.00000434,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>:
From: Ricardo Kleemann <[EMAIL PROTECTED]>
Mar 5 13:55:12 server3 courierlocal:
id=1001DC58.440B5E3F.00000434,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>:
You are not subscribed to this mailing list.
Mar 5 13:55:12 server3 courierlocal:
id=1001DC58.440B5E3F.00000434,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,status:
failure
Also, I have one subscriber to the list:
# couriermlm lsub /home/lista/listname/
[EMAIL PROTECTED] (03-Mar-2006)
However, when I send a message to the list, this is what I get:
Mar 3 21:51:30 server3 courierlocal:
id=0401CCB4.44092AE2.00001178,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>:
You are not subscribed to this mailing list.
Check your headers. It's whatever address you put in the From: header that
gets checked, not the envelope return address.
So, what's wrong that I'm not recognized as a subscriber, even though lsub
says I am?
You need to understand the difference between the envelope return address,
and the From: header. They are two separate entities.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users