Transport file
Drew Marshall
drew at THEMARSHALLS.CO.UK
Sat Oct 16 00:03:39 IST 2004
<x-html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Brian Berglund wrote:
<blockquote
cite="mid2E09A52C9852E24A9A084352AB68F2C51958CC at w2k3-tp.techpro.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.3790.186" name="GENERATOR">
<div><span class="769465518-15102004"><font face="Arial" size="2">Can
the transport file of postfix be setup to read from a mysql database?<br>
</font></span></div>
</blockquote>
Yes transport_map = mysql:/path/to/database/file<br>
with the database file containing the arguments for connection etc to
the database.<br>
<blockquote
cite="mid2E09A52C9852E24A9A084352AB68F2C51958CC at w2k3-tp.techpro.local"
type="cite">
<div><span class="769465518-15102004"><font face="Arial" size="2">Like
if the database has a table with </font></span></div>
<div><span class="769465518-15102004"><font face="Arial" size="2">domain
name and relay server</font></span></div>
<div><span class="769465518-15102004"><font face="Arial" size="2">whatever.com,172.26.2.1</font></span></div>
<div><span class="769465518-15102004"></span> </div>
<div><span class="769465518-15102004"><font face="Arial" size="2">Then
the transport would read from that and relay to the appropriate server?<br>
</font></span></div>
</blockquote>
Yup!<br>
<br>
See <a class="moz-txt-link-freetext" href="http://www.gentoo.org/doc/en/virt-mail-howto.xml">http://www.gentoo.org/doc/en/virt-mail-howto.xml</a> for examples (It's
not bad but written for Gentoo Linux) or for Postgre
<a class="moz-txt-link-freetext" href="http://www.postfix.org/PGSQL_README.html">http://www.postfix.org/PGSQL_README.html</a>. There are others, Google is
your friend! <br>
<br>
HTH<br>
<br>
Drew<br>
</body>
<br />--
<br />In line with our <a href="http://www.themarshalls.co.uk/policy">policy</a>, this message has been scanned for
<br />viruses and dangerous content by
<a href="http://www.mailscanner.info/">MailScanner</a>, and is
<br />believed to be clean.
</html>
------------------------ MailScanner list ------------------------
To unsubscribe, email <a href="jiscmail at jiscmail.ac.uk">jiscmail at jiscmail.ac.uk</a>
with the words:<br>
'leave mailscanner' in the body of the email.<br>
Before posting, read the MAQ (<a href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</a>)<br>and
the archives (<a href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</a>).
</x-html>
More information about the MailScanner
mailing list