Hi.

I'm trying to setup a multi-server mail architecture with a mail gateway and 2 
final dest. servers hosting mailboxes, all on the same domain.
I'm using virtual mailboxes wih MySQL backend (same for the 3 servers).

I set up the gateway which forwards to end servers.
The problem is that I can't get to send email from one end server to the 
other.
First I tried to make the server act like if the mailbox didn't exist on the 
local server (with SQL where) thinking that if it doesn't exist here, the mail 
will be relayed to the 'relay_host', but getting "User unknown in virtual 
mailbox table".
It is not working better with "relay_domains" directive, because it is already 
set in "virtual_mailbox_domains" one.

I red the all nearly all documentation I found, especially the official one, 
but 
I'm missing some details.
Hope I'm being clear enough.

Here's the main.cf:

mydomain = edatis.cam
myhostname = mparis
myorigin = $mydomain
mydestination = $myhostname localhost.$mydomain localhost
mynetworks = 127.0.0.0/8 10.0.0.0/22
#relay_domains =
relayhost = [mxhub.$mydomain]
inet_interfaces = all
alias_maps = hash:/etc/aliases
#relay_recipient_maps = proxy:mysql:/etc/postfix/mysql-users-tn.cf
transport_maps = proxy:mysql:/etc/postfix/mysql-transport.cf
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-users-fr.cf
                     proxy:mysql:/etc/postfix/mysql-aliases.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-boxes-fr.cf
virtual_mailbox_base = /var/mail
virtual_uid_maps = static:102
virtual_gid_maps = static:105

Thanks
-- 
***************************
J. Amiez
Administrateur système
j...@edatis.com

Reply via email to