Santiago Romero:
>  Now I have a nice hash file with all the valid accounts, but ...
> 
>  How do I deal in a relay_recipient_maps file with qmail's mailing list 
> addresses?

How does qmail know that an address is valid or not? If a Postfix
maptype can be invented that reads that type of file, then it could
be queried by the proxymap daemon. This is easiest to add on Linux
where maps can be dynamically linked into Postfix.

>  I mean:
> 
> listname-accept-variabl...@domain.com,
> listname-reject-variabl...@domain.com,
> 
>  This shows users like:
> 
> mylist-accept-1226307365.17468.alnfmjhhbdbhdkoie...@domain.com
> mylist-accept-1227025726.22736.pchafjnmkclakcjkn...@domain.com
> mylist-accept-1229347467.10437.mdombneemdojnihbc...@domain.com
> mylist-accept-1230115783.11450.bjgknaponiendmjff...@domain.com
> mylist-unsubscribe-user=domain....@domain.com
> 
>  Can relay_recipient_maps use a pcre table? Is it in the same format 
> than a hash file  ("pattern \t OK")? Must pcre files be postmap'ed?

The lookup result is the same.  

On the left-hand side, instead of a fixed string such as with hash
tables, you specify a regular expression with PCRE. postmap does
not "create" PCRE files. It only reads them with "postmap -q".

        Wietse

Reply via email to