3 msgRe: Virtual domain aliases
4 msgaddress verify vs. virtual_alias_maps
20 msgPostfix/ClamAV Config Error
4 msgsmtp /dev/poll problem
6 msgAddresses filtering for only one supported domain
14 msgGreylist question
1 msgOne transport with AUTH and other transport wit...
7 msgIs this expected reject behavior for foreign IP...

relay_domains and virtual_mailbox_domains not w...
\ Rajkumar S (28 Nov 2007)
. \ mouss (28 Nov 2007)
. . \ Rajkumar S (29 Nov 2007)

2 msgNeed help debugging a possible content filter p...
11 msgspam emails with | in front of the email addresses
9 msgunexpected domain rewrite (by postfix?)
5 msgError receiving email
20 msgPostfix 2.5-20071111, smtp.gmail.com, bouncing ...
1 msgBounce notification configure
45 msgRe: Recipient validation
2 msgUse of MySQL for lookups
8 msgproposal: change behavior with respect to recip...
11 msgOT: Any bad DKIM experiences?
8 msghashed spool directories
Subject:relay_domains and virtual_mailbox_domains not working together
Group:Postfix-users
From:Rajkumar S
Date:28 Nov 2007


 
Hi,

I am learning postfix with The Book of Postfix. I have created virtual
domains using virtual_mailbox_domains and it's working fine. Now I
need to relay mails for another server using postfix, (eventually
after anti spam and anti virus). So I added relay_domains and
transport_maps. But when I sent mails to a domain in relay_domains I
get an error: 550 5.1.1 <raj>: Recipient address rejected:
User unknown
in virtual mailbox table

Relaying works if I comment out all my virtual_* entries. I can also
sent without any problems to domains in my virtual_mailbox_domains

main.cf:

myhostname = postfix.in.mydomain.com
mydestination = $mydomain, $myhostname
myorigin = $mydomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mynetworks = 127.0.0.0/8, 192.168.3.0/25
virtual_transport = dovecot

relay_domains = sarovar.org, users.sarovar.org, lists.sarovar.org
transport_maps = hash:/etc/postfix/smtproutes

virtual_mailbox_domains = proxy:ldap:/etc/postfix/virtual_ldap/domains
virtual_uid_maps = static:1001
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/vmail
virtual_mailbox_maps = proxy:ldap:/etc/postfix/virtual_ldap/mailbox_maps
virtual_alias_maps = proxy:ldap:/etc/postfix/virtual_ldap/alias_maps

I am sure I am missing some thing to make relay_domains and
virtual_mailbox_domains work together.

Thanks in advance for help.

raj


© 2004-2008 readlist.com