Skip to Content.
Sympa Menu

en - Re: [sympa-users] sympa bounces via postfix transport. I have a problem

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] sympa bounces via postfix transport. I have a problem
  • Date: Fri, 27 Mar 2015 12:16:55 +0100

Hi Nikolay,

I a m more a sendmail guy, but in the manual page you quoted, there is this part that should help you:

This in master.cf:

sympa     unix  -       n       n       -       -       pipe
  flags=R user=sympa argv=/usr/lib/sympa/bin/queue ${recipient}
 sympabounce     unix  -       n       n       -       -       pipe
  flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${recipient}

An that in transport_regexp:


/^.*\-owner@lists\.mydomain\.tld$/      sympabounce:
/^.*\@lists\.mydomain\.tld$/    sympa:

And finally that in main.cf:

relay_domains = $mydestination, lists.mydomain.tld
transport_maps = regexp:/etc/postfix/transport_regexp
sympa_destination_recipient_limit = 1
sympabounce_destination_recipient_limit = 1

Shouldn't it solve your problem? It looks like it indeed spots the -owner addresses and pipes them to the right Sympa program, doesn't it?

Best regards,

David

Le 26/03/15 20:07, Nikolay Shaplov a écrit :
Hi!

I am now trying to configure my postfix to use sympa mysql database as a source 
for lookup hashes... I've almost succeeded, but met one problem:

I am sending bounces to bouncequeue almost in the same way as described at

http://www.sympa.org/faq/postfix#managing_aliases_directly_in_the_postfix_transport_table

but there is a problem.

In postfix I can have the full to address, or part of it (one before @, one 
after @ etc).

But when I am sending bounce messages to bouncequeue I should give full list 
name as a param i.e.

/usr/lib/sympa/bin/bouncequeue address@concealed

But when receiving bounce message I have only address@concealed 
in "to" address, and I do not know how I can cut off -owner part using postfix. 

Example, I gave link to, does not really work with bounces... All bounces are 
really goes to bounces/bad as not correct list name are given at the args. I 
do not think there is any easy way to run sympa with postfix transport...

I think that the easiest way to solve this problem is to allow bounced to 
accept not only address@concealed list name, but also 
address@concealed, so bounced will cut off -owner part, get proper 
list name and do what it should.

This decision will make configuring sympa much more simple.

If this idea is good for you, I can provide a patch (I am perl programmer, 
that would not be difficult)

What do you think?




--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page