Re: check_sender_access SQL Query

2009-03-28 Thread JohnD
Use the Email Address Patterns for the lookup key sequence in http://www.postfix.org/access.5.html and apply that to the pgsql_table document.. A check sender access will always reference the MAIL FROM given to Postfix. It is up to you and your needs as to what the table will contain and

Re: check_sender_access SQL Query

2009-03-28 Thread mouss
JohnD a écrit : Use the Email Address Patterns for the lookup key sequence in http://www.postfix.org/access.5.html and apply that to the pgsql_table document.. A check sender access will always reference the MAIL FROM given to Postfix. It is up to you and your needs as to what the table

check_sender_access SQL Query

2009-03-27 Thread JohnD
Hi, I have been running Postfix 2.5.x on a linux server using virtual domains with PostgreSQL for a while now and I've just implemented a basic check_sender_access policy using a hash. Everything works fine, but now I would like to convert this to an SQL statement and store the data in the

Re: check_sender_access SQL Query

2009-03-27 Thread Brian Evans - Postfix List
JohnD wrote: Hi, I have been running Postfix 2.5.x on a linux server using virtual domains with PostgreSQL for a while now and I've just implemented a basic check_sender_access policy using a hash. Everything works fine, but now I would like to convert this to an SQL statement and store the