what ever here is the postfix part of my config just incase you need it
*/etc/postfix/main.cf * (edit and add below lines or replace
existing)relay_domains =
pgsql:/etc/postfix/pgsql-relay_domains.cftransport_maps =
pgsql:/etc/postfix/pgsql-transports.cfwhitelist_policy = check_client_access
pgsql:/etc/postfix/pgsql-global_lists.cf, check_sender_access
pgsql:/etc/postfix/pgsql-global_lists.cf*/etc/postfix/pgsql-global_lists.cf*
new fileuser = baruwapassword = verysecretpwdbname = baruwaquery = SELECT
CONCAT('PERMIT') FROM lists WHERE from_address='%s' AND list_type=1 UNION
SELECT CONCAT('REJECT') FROM lists WHERE from_address='%s' AND
list_type=2;hosts = 127.0.0.1*/etc/postfix/pgsql-relay_domains.cf  * new
file user = baruwapassword = verysecretpwdbname = baruwaquery = SELECT name
FROM maildomains WHERE name='%s' AND status='TRUE' AND delivery_mode=1;hosts
= 127.0.0.1*/etc/postfix/pgsql-transports.cf* new fileuser = baruwapassword
= verysecretpwdbname = baruwaquery = SELECT CONCAT('smtp:[',
destinations.address, ']:', port) FROM destinations, maildomains WHERE
maildomains.name = '%s' AND destinations.enabled='TRUE' AND maildomains.id =
destinations.domain_id;hosts = 127.0.0.1



--
View this message in context: 
http://baruwa-users-list.963389.n3.nabble.com/Preview-Error-Failed-coercing-to-Unicode-need-string-or-buffer-NoneType-found-tp4026916p4027622.html
Sent from the Baruwa users list mailing list archive at Nabble.com.
_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to