[bglug] Problema transport con Postfix

Manuel manetta@mediacom.it
Gio 2 Nov 2006 19:13:39 CET


Citando Alexandro Ghettini <joeriker@cyber-city.us>:

Ciao Alex

> transport_maps = proxy:mysql:/etc/postfix/mysql/virtual_transport.cf
> virtual_transport = $transport_maps

in /etc/postfix/mysql/virtual_transport.cf dovresti avere qualcosa di simile:

user = <username>
password = <password>
dbname = <database>
table = transport
select_field = relayto
where_field = domain
hosts = localhost

e la tabella transport dovrebbe avere una struttura simile:
| domain | relayto | active |

domain: dominio.tld
relayto: smtp:[aa.bb.cc.dd]
additional_conditions = and active = '1'

e in main.cf una riga del tipo:
relay_domains = $mydestination,$transport_maps

Ciao
Manuel



Maggiori informazioni sulla lista bglug