If you can get a working DBMail and a working Postfix install then your two small steps away:

STEP 1 - Add dbmail as a transport to Postfix's master.cf

From the dbmail INSTALL file:

6.      Configure your MTA
       -- MTA installation for postfix --
       In the master.cf file for postfix add the following:

       dbmail    unix  -       n       n       -       -       pipe
flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d ${recipient}

STEP 2 - Configure Postfix to deliver mail for your domain to be delivered through dbmail. (assumes your domain is yourdomain.com)

Add the following to your "transport" config .

<domain>                dbmail:

If you used a hash of /etc/postfix/transport to configure your transport info you would add the following to your /etc/postfix/transport:
yourdomain.com                dbmail:

If you were using a Mysql table to provide transport info (based on "most" Postfix Mysql howtos)
Then the "domain" field would be: yourdomain.com
The transport field would be: dbmail:

Forgetting to add the colon, ":", after the transport mechanism will cause failure.

Brian Winkers
[EMAIL PROTECTED]
http://www.ultri.com




Jan-Kees Fels wrote:

Hello,

Can someone tell me where I can find some basics regarding the setup of postfix and dbmail (especially postfix)?

I really would like to use dbmail as a mailserver. I already have experience running other mailservers and mysql experience.

Everywhere where I read about postfix I read how great it is but nowhere it seems to explain in human readable form how to set it up.

Jan-Kees



Reply via email to