![](https://secure.gravatar.com/avatar/f0ff2f74924c706841e42508ca8bd5b1.jpg?s=120&d=mm&r=g)
I've set up a mail list with the name "Cn-dailydeals" that resides on a certain server. Our Interactive department has written a php script that sends an email to this list that continuously gets held due to the "implicit address" stuff.
Posts to the list back in December of 2007 suggested I could create an alias to get around the problem. I've tried every which way to create the regexp that will match this but am failing terribly.
The sender is getting the following back from the post:
Your mail to 'Cn-dailydeals' with the subject
Gazette-Mail Daily Deal
Is being held until the list moderator can review it for approval.
The reason it is being held:
Message has implicit destination
Can someone suggest a proper regexp to match this, and do I need the "@server" part in the alias?
I've tried using escapes and everyting, but nothing seems to work.
Thanks for any help
steve campbell
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Steve Campbell wrote:
Exactly what is in the To: (and Cc: if any) header of this post? You can see these headers in the admindb interface display of the held post.
[...]
Can someone suggest a proper regexp to match this, and do I need the "@server" part in the alias?
Answer the above question and we can tell you.
Or better yet, make the php script create a message with the header
To: Cn-dailydeals@...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/f0ff2f74924c706841e42508ca8bd5b1.jpg?s=120&d=mm&r=g)
I looked at these in the admin interface, and didn't see a specific "To" line, so I thought it must be looking at the envelope.
The Message Headers has the following in it:
Received: from xxx.xxxxxxx.xxx (linus.cnpapers.net [10.0.0.140]) by xxxxxxxx.cnpapers.net (8.12.11.20060308/8.12.11) with ESMTP id p9VIp1Fr020768 for <cn-dailydeals@xxxxxxx.cnpapers.net>; Mon, 31 Oct 2011 14:51:01 -0400
I x'ed out a little to try and keep spam away, although that's almost impossible in today's world. There is a "for" address in the header line.
There's an earlier line in the headers where the address appears proper, though still not a real "To", but another "for" line.
The To line in my MailWatch headers shows a normal To address.
Thanks for the help.
steve
On 10/31/2011 3:49 PM, Mark Sapiro wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 10/31/2011 1:03 PM, Steve Campbell wrote:
I looked at these in the admin interface, and didn't see a specific "To" line, so I thought it must be looking at the envelope.
MTAs, etc. look at the envelope for delivery information, but Mailman looks at the To: and Cc: headers to determine if the list is explicitly addressed.
Which is a reflection of the envelope recipient, but Mailman is not considering that at this point. The envelope must have been addressed to the list or the post wouldn't be there at all. Mailman is verifying that the list or an acceptable alias is explicitly addressed in a To: or Cc: header which is not true in this case.
That too is the envelope recipient.
You have two choices. Make the PHP script put the list address in a To: header in the mail or turn off the list's require_explicit_destination.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/f0ff2f74924c706841e42508ca8bd5b1.jpg?s=120&d=mm&r=g)
On 10/31/2011 4:16 PM, Mark Sapiro wrote:
Thanks Mark,
I'll talk to the script writer and see if he can modify his code. I turned off the require_explicit_destination before I left yesterday to get it fudged and working.
Another lesson learned: There's not always a "To:" in the headers.
I originally thought the moderation notification was telling me what the implicit address was that needed to be aliased. It's no wonder I couldn't find a proper regexp to match.
steve campbell
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Steve Campbell wrote:
Exactly what is in the To: (and Cc: if any) header of this post? You can see these headers in the admindb interface display of the held post.
[...]
Can someone suggest a proper regexp to match this, and do I need the "@server" part in the alias?
Answer the above question and we can tell you.
Or better yet, make the php script create a message with the header
To: Cn-dailydeals@...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/f0ff2f74924c706841e42508ca8bd5b1.jpg?s=120&d=mm&r=g)
I looked at these in the admin interface, and didn't see a specific "To" line, so I thought it must be looking at the envelope.
The Message Headers has the following in it:
Received: from xxx.xxxxxxx.xxx (linus.cnpapers.net [10.0.0.140]) by xxxxxxxx.cnpapers.net (8.12.11.20060308/8.12.11) with ESMTP id p9VIp1Fr020768 for <cn-dailydeals@xxxxxxx.cnpapers.net>; Mon, 31 Oct 2011 14:51:01 -0400
I x'ed out a little to try and keep spam away, although that's almost impossible in today's world. There is a "for" address in the header line.
There's an earlier line in the headers where the address appears proper, though still not a real "To", but another "for" line.
The To line in my MailWatch headers shows a normal To address.
Thanks for the help.
steve
On 10/31/2011 3:49 PM, Mark Sapiro wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 10/31/2011 1:03 PM, Steve Campbell wrote:
I looked at these in the admin interface, and didn't see a specific "To" line, so I thought it must be looking at the envelope.
MTAs, etc. look at the envelope for delivery information, but Mailman looks at the To: and Cc: headers to determine if the list is explicitly addressed.
Which is a reflection of the envelope recipient, but Mailman is not considering that at this point. The envelope must have been addressed to the list or the post wouldn't be there at all. Mailman is verifying that the list or an acceptable alias is explicitly addressed in a To: or Cc: header which is not true in this case.
That too is the envelope recipient.
You have two choices. Make the PHP script put the list address in a To: header in the mail or turn off the list's require_explicit_destination.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/f0ff2f74924c706841e42508ca8bd5b1.jpg?s=120&d=mm&r=g)
On 10/31/2011 4:16 PM, Mark Sapiro wrote:
Thanks Mark,
I'll talk to the script writer and see if he can modify his code. I turned off the require_explicit_destination before I left yesterday to get it fudged and working.
Another lesson learned: There's not always a "To:" in the headers.
I originally thought the moderation notification was telling me what the implicit address was that needed to be aliased. It's no wonder I couldn't find a proper regexp to match.
steve campbell
participants (2)
-
Mark Sapiro
-
Steve Campbell