Skip to Content.
Sympa Menu

en - Re: [sympa-users] Stumped with bounces (-owner)

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: BJ Walraven <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Stumped with bounces (-owner)
  • Date: Thu, 22 Jul 2010 17:02:46 -0400 (EDT)

Ah, figured out my own problem, but thought I'd post it in case it helps anyone...

On this page:
https://www.sympa.org/faq/postfix?s[]=regexp

Olivier Korn posts the correct info on how the transport_regexp and virtual_regexp should be configured for Postfix.

The problem I was seeing also showed up in the /var/log/maillog, which was the final clue:
Jul 22 09:22:25 [redacted] postfix/smtpd[10562]: warning: regexp map /home/sympa/etc/virtual_regexp, line 1: out of range replacement index "1": skipping this rule

Verifying the /home/sympa/etc/virtual_regexp file, I had:
/^.*-owner\@[redacted]\.emich\.edu$/    $1+owner@[redacted].emich.edu
instead of:
/^(.*)-owner\@[redacted]\.emich\.edu$/    $1+owner@[redacted].emich.edu

Once I added in the parentheses around the match, went back to using ${user} for the bouncequeue in /etc/postfix/master.cf (instead of ${recipient}), and restarted postfix, all was well.

Hope this helps someone.
Thanks,

BJ
Walraven
Messaging and Collaboration Systems Administrator
Eastern Michigan University - Division of IT

----- Original Message -----
From: "BJ Walraven" <address@concealed>
To: address@concealed
Sent: Tuesday, July 13, 2010 5:20:38 PM GMT -05:00 US/Canada Eastern
Subject: [sympa-users] Stumped with bounces (-owner)

Hello,

I've got a Sympa 6.0.1 install on CentOS 5.3 (x64) that I've been using for a while, and just recently came across an issue that is stumping me.

I see that others have had this issue, but I have yet to find a working solution for it.

I'm using postfix with Sympa, and have configured it from these docs:
https://www.sympa.org/faq/postfix_howto?s[]=transport&s[]=regexp

I see from this page that bouncing would be an issue with this config:
http://www.sympa.org/faq/postfix

Which it is, per the sympa logs.  I'm testing against a list called "test-list":

bounced[21617]: List::new() Incorrect name: listname "test-list-owner" matches one of service aliases
bounced[21617]: Skipping bouncefile test-list-owner@[redacted].emich.edu.1279052835.21712 for unknown list test-list-owner@[redacted].emich.edu
bounced[21617]: tools::save_to_bad() Saving file /home/sympa/var/spool/sympa/bounce/test-list-owner@[redacted].emich.edu.1279052835.21712 to /home/sympa/var/spool/sympa/bounce/bad/test-list-owner@[redacted].emich.edu.1279052835.21712

So, per Oliver Korn's contribution at the bottom of http://www.sympa.org/faq/postfix, I've tried changing the config to use ${user} instead of ${recipient} in the master.cf, with the associated changes to transport_regexp and a virtual_regexp file, and the pointers to them in main.cf.

When I do this, I'm seeing:

bounced[22483]: List::new() Missing robot parameter, cannot create list object for test-list-owner
bounced[21856]: Skipping bouncefile test-list-owner.1279053067.21892 for unknown list test-list-owner@0
bounced[21856]: tools::save_to_bad() Saving file /home/sympa/var/spool/sympa/bounce/test-list-owner.1279053067.21892 to /home/sympa/var/spool/sympa/bounce/bad/test-list-owner.1279053067.21892

It's obvious to me that my matching and replacing isn't working as expected.

I've found a few messages on the list that deal with this, but the only solution I've seen is to use the recipient_delimiter = -, which would be an issue with my current listnames.

Any ideas?

Thanks,

BJ
Walraven
Messaging and Collaboration Systems Administrator
Eastern Michigan University - Division of IT






Archive powered by MHonArc 2.6.19+.

Top of Page