Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

talk:howtos:network_services:postfix_dovecot_mysql:postfix [2015/09/14 14:20 (UTC)]
tim created
talk:howtos:network_services:postfix_dovecot_mysql:postfix [2017/04/02 02:50 (UTC)] (current)
23.54.19.31 corrected mistake in virtual mailbox config file
Line 4: Line 4:
 </​code>​ </​code>​
 before postfix is installed, as postfix has its own sendmail executable to provide functionality for other programs which expect to use sendmail. --- //​[[wiki:​user:​tim|Tim Dickson]] 2015/09/14 14:13// before postfix is installed, as postfix has its own sendmail executable to provide functionality for other programs which expect to use sendmail. --- //​[[wiki:​user:​tim|Tim Dickson]] 2015/09/14 14:13//
 +
 +
 +====== Mistake in the virtual mailbox configuration:​ ======
 +
 +
 +To use mysql on a remote server, I had to replace "​host"​ with "​hosts"​ in the virtual mailbox configurations--postfix defaults to '​localhost'​ anyways, which is why this error goes undetected, but want something besides the default value, and this error must be fixed as thus:  ​
 +
 +<​code>​
 +emacs /​etc/​postfix/​mysql-virtual-mailbox-domains.cf
 +
 +# Enter the following lines #
 +user= mailuser
 +password = {your mailuser password}
 +hosts = {mysql server'​s ip address}
 +dbname = mailserver
 +query = SELECT 1 FROM virtual_domains WHERE name='​%s'​
 +</​code>​
 +
 +(the revision is the "​s"​ that was added to "​host"​) -- slac.in.the.box

In Other Languages
QR Code
QR Code talk:howtos:network_services:postfix_dovecot_mysql:postfix (generated for current page)