Hello xms,

Friday, March 19, 2004, 9:11:04 PM, you wrote:

xxm> mydestination = $myhostname, localhost.$mydomain, $mydomain, domain1.com, 
domain2.com

This looks fine, but I would rather do it like this

mydestination =
        $mydomain,
        $myhostname,
        localhost,
        somehost.$mydomain,
        domain1.tld,
        domain2.tld

You should always prefer writing on different rows.

xxm> mailbox_transport = dbmail:127.0.0.1:24
xxm> relay_domains = $mydestination

I've never seen these myself. I have only "relayhost", which is empty.
For transport you can use this:

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

main.cf
transport_maps = hash:/etc/postfix/transport

I think this is more flexible and you can use external MX forwarding
in transport:

mydomain.tld    dbmail:
domain1.tdl     smtp:111.222.121.212

xxm> local_recipient_maps = mysql:/etc/postfix/recip_maps.cf
xxm> #Looks up the alias table in Dbmail database for user existance.

Yes, this is the right way and it works perfect. I have another idea
about this that I will share in a separate mail to the list.


Best regards,
Bobby
[EMAIL PROTECTED]

Reply via email to