postfix with dbmail is really simple. A basic configuration is to define
the following parameters on main.cf


myhostname
mydomain
myorigin
inet_interfaces
mydestination
local_recipient_maps
mynetworks
relay_domains

Postfix can check recipients, destination and make simple form of
pop-before-smtp connecting to dbmail including the following lines in your
main.cf

mydestination = yourdomain.com mysql:/etc/postfix/mydestination.cf
local_recipient_maps = mysql:/etc/postfix/mysql-recipients.cf $alias_maps
mynetworks = 10.10.0.10/24 mysql:/etc/postfix/sql-relay.cf

mydestination.cf
user = dbmaildbuser
password = dbmaildbpasswd
hosts = localhost
dbname = dbmaildb
table = DBMA_MTA
select_field = mydestination
where_field = mydestination

mysql-recipients.cf
user = dbmaildbuser
password = dbmaildbpasswd
hosts = localhost
dbname = dbmaildb
table = dbmail_aliases
select_field = alias
where_field = alias

sql-relay.cf
user = dbmaildbuser
password = dbmaildbpasswd
hosts = localhost
dbname = dbmail
table = dbmail_pbsp
select_field = ipnumber
where_field = ipnumber

You can read the postfix.org documentation it is well explained. Also I
recommend you to read about defining your "mynetworks and relay_domains"
parameters to avoid an open relay server.

good luck

Humberto





> Hi!
>
> I'm not familiar with postfix, worked with sendmail before. Now I want to
> try postfix with dbmail for hosting company's mailserver. Is there any
> good
> step-by-step howto for postfixinstallation with dbmail. I've tried to make
> it with INSTALL.postfix instructions but had no sucess. I'm not asking for
> help, but please share any links to good HOWTOs if you know it.
>
>
> Thanks,
> Georgy.
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to