This is a discussion on Re: [courier-users] couriermlm questions within the Courier-Imap forums, part of the Mail Servers and Related category; Thanks Sam. I realize couriermlm looks at the From: header, however, I certainly do have the From: as containing the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 "ricardo@americasnet.com" 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/ ricardo@americasnet.com (03-Mar-2006) And here's the corresponding log output: Mar 5 13:55:12 server3 courierlocal: id=1001DC58.440B5E3F.00000434,from=<ricardo@americ asnet.com>,addr=<lista-reflexoes1@listas.americasnet.com>: RECIPIENT lista-reflexoes1@listas.americasnet.com Mar 5 13:55:12 server3 courierlocal: id=1001DC58.440B5E3F.00000434,from=<ricardo@americ asnet.com>,addr=<lista-reflexoes1@listas.americasnet.com>: From: Ricardo Kleemann <ricardo@americasnet.com> Mar 5 13:55:12 server3 courierlocal: id=1001DC58.440B5E3F.00000434,from=<ricardo@americ asnet.com>,addr=<lista-reflexoes1@listas.americasnet.com>: You are not subscribed to this mailing list. Mar 5 13:55:12 server3 courierlocal: id=1001DC58.440B5E3F.00000434,from=<ricardo@americ asnet.com>,addr=<lista-reflexoes1@listas.americasnet.com>,status: failure > > Also, I have one subscriber to the list: > > # couriermlm lsub /home/lista/listname/ > ricardo@americasnet.com (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=<ricardo@americ asnet.com>,addr=<lista-listname@listas.americasnet.com>: > 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=...720&dat=121642 _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |