The list if valid recipients in those domains is specified in relay_recipient_maps. Specify one or more map files listing the valid recipients; all other recipients are rejected.
http://www.postfix.org/postconf.5.html#relay_recipient_maps
If this file is scp'ed as a plain text file, you will need to postmap it to create the indexed table.

Hi.

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?

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?

Thanks.

--
Santiago Romero


Reply via email to