Postfix Cyrus Web cyradm HOWTO
Here you have to put all domainnames that are local (corresponding to sendmail's
/etc/mail/sendmail.cw)
. If you have multiple domains, separate them with
comma.
mydestination = foo.bar.org, example.com, furchbar grausam.ch,
whatever.domain.tld, mysql:/etc/postfix/mysql mydestination.cf
Relayhost
Here you define where to deliver outgoing mails. If you do not provide any host,
mail is delivered directly to the destination smtp host. Usually your relayhosts are
your internet service provider's smtp server.
relayhost = relay01.foobar.net relay02.foobar.net relay03.foobar.net
Mailtransport
Here you define how the mails accepted for local delivery should be handled. In
your situation, mail should be delivered by the cyrus delivery program.
mailbox_transport = cyrus
At the end of file you need to add:
virtual_alias_maps = hash:/etc/postfix/virtual, mysql:/etc/postfix/mysql virtual.cf
If you don't want to have a overriding /etc/postfix/virtual, skip the hash entry
Outgoing addresses should be rewritten from test0002 at domain to user.name at
virtualhost.com. This is important if you want to use a webmail interface.
sender_canonical_maps = mysql:/etc/postfix/mysql canonical.cf
Now you need to create the file
/etc/postfix/mysql virtual.cf
:
#
# mysql config file for alias lookups on postfix
# comments are ok.
#
# the user name and password to log into the mysql server
hosts = localhost
user = mail
password = secret
# the database name on the servers
dbname = mail
# the table name
table = virtual
24




MySQL Web Hosting Postfix-Cyrus-Web-cyradm MySQL Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.