[Mailman-Users] Postfix and Mailman tips in FAQ have a mistake?

Mark Sapiro mark at msapiro.net
Thu Dec 23 19:27:06 CET 2010


Konstantin Vasilyev wrote:
>
>I try to integrate my Postfix with Mailman.
>I use tip from FAQ here http://wiki.list.org/x/ZoCj
>I have  error message
>bin/genaliases
>sed: illegal option -- r
>usage: sed script [-Ealn] [-i extension] [file ...]
>       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
>[file ...]
>I remove '-r' and try again.
>result here
> bin/genaliases
>sed: 1: "s/(^[^#][^ \t]+[ \t]+). ...": \1 not defined in the RE
>
>I am not expert in sed. Can anyone help me?


The -r option is for GNU sed and says use extended regexps. It looks
like your sed wants -E instead. Try replacing -r with -E.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list