OK,

I'll ask for help then.

I got a fresh Postfix install.
Configured a /etc/postfix/master.cf file, added dbmail-lmtp transport, like in INSTALL.postfix written:

dbmail-lmtp     unix    -       -       n       -       -       lmtp -v


Then included emnty

local_recipient_maps =
in main.cf

Then added a few domain, for example db.inbox.ee, omega.inbox.ee into the transport file and created the hash-ed db table (postmap)

And...

Where I have to write also this domain names to get it into dbmail, not mailbox?????



Georgy.



----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "DBMail mailinglist" <[email protected]>
Sent: Wednesday, November 30, 2005 8:37 PM
Subject: Re: [Dbmail] Postfix with DBMail howto?


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


_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


Reply via email to