Skip to Content.
Sympa Menu

en - [sympa-users] Postfix and regexp aliases

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Redmond Militante <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Postfix and regexp aliases
  • Date: Fri, 16 Jun 2006 09:17:06 -0500

I'm trying to get postfix and regexp aliases to work. I had been following
the faq at http://www.sympa.org/fom-serve/cache/217.html, specifically
Olivier's instructions at the bottom. When I send mail to a sympa list, I
get a returned mail with the message

----- Transcript of session follows -----
... while talking to sympadev.uchicago.edu.:
>>> DATA
<<< 550 <address@concealed>: Recipient address rejected: User unknown
in local recipient table
550 5.1.1 <address@concealed>... User unknown
<<< 554 Error: no valid recipients

*/etc/mail/sympa_aliases exists and is owned by user sympa.
-rw-r--r-- 1 sympa sympa 9737 Jun 15 17:07 /etc/mail/sympa_aliases

*newaliases doesn't require special arguments on this system.

Snippet of maillog
Jun 16 09:08:30 announce postfix/qmgr[12420]: warning: connect to transport
sympa: Connection refused
Jun 16 09:08:38 announce postfix/smtpd[12491]: connect from
relay00.uchicago.edu[128.135.12.75]
Jun 16 09:08:38 announce postfix/smtpd[12491]: NOQUEUE: reject: RCPT from
relay00.uchicago.edu[128.135.12.75]: 550 <address@concealed>:
Recipient address rejected: User unknown in local recipient table;
from=<address@concealed> to=<address@concealed> proto=ESMTP
helo=<relay00.uchicago.edu>
Jun 16 09:08:39 announce postfix/smtpd[12491]: disconnect from
relay00.uchicago.edu[128.135.12.75]

Our /etc/postfix/main.cf has the following lines
-------
myhostname = announce.uchicago.edu
mydomain = uchicago.edu
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain, localhost,
sympadev.uchicago.edu
local_recipient_maps = $virtual_alias_maps,
regexp:/etc/postfix/transport_regexp
relay_domains = $mydestination, announce.uchicago.edu
transport_maps = regexp:/etc/postfix/transport_regexp
sympa_destination_recipient_limit = 1
sympabounce_destination_recipient_limit = 1
virtual_alias_maps = regexp:/etc/postfix/virtual_regexp
recipient_delimiter = +

Our master.cf has the following lines
-------
sympa unix - n n - - pipe
flags=R user=sympa argv=/home/sympa/bin/queue ${recipient}
sympabounce unix - n n - - pipe
flags=R user=sympa argv=/home/sympa/bin/bouncequeue ${user}

Our transport_regexp has the following lines
-------
^.*+owner\@announce\.uchicago\.edu$/ sympabounce:
/^.*\@announce\.uchicago\.edu$/ sympa:


Our virtual_regexp looks like
-------
/^(.*)-owner\@(.*)$/ $1+owner@$2


It looks like the regexp aliases are not working. Any advice appreciated.

Redmond


--
Redmond Militante / NSIT / The University of Chicago
PGP Public Key: <http://home.uchicago.edu/~rjm/pubkey.asc>



Archive powered by MHonArc 2.6.19+.

Top of Page