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:Re: relay_domains and virtual_mailbox_domains not working together
Group:Postfix-users
From:Rajkumar S
Date:29 Nov 2007


 
On Nov 28, 2007 3:38 PM, mouss <mlist.only> wrote:
>
> Rajkumar S wrote:
> > 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:
> > virtual_mailbox_domains = proxy:ldap:/etc/postfix/virtual_ldap/domains
>
> do not list a domain in multiple domain classes. so sarovar.org,
> users.sarovar.org, lists.sarovar.org should not be found in
> virtual_mailbox_domains.

They were not listed in virtual_mailbox_domains

postfix:/etc/postfix# postmap -q sarovar.org
ldap:/etc/postfix/virtual_ldap/domains
postmap: warning: dict_ldap_open: /etc/postfix/virtual_ldap/domains:
Fixed query_filter (objectClass=dcObject) is probably useless
horde.usablebytes.com,yios.org,acidpuppies.com,asnetproxy.homelinux.org

I have now fixed (objectClass=dcObject) to
(&(defaultDomain=%s)(objectClass=dcObject)) and it's now working.

postfix:/etc/postfix# postmap -q asnetproxy.homelinux.org
ldap:/etc/postfix/virtual_ldap/domains
asnetproxy.homelinux.org

Thanks for your answer.

raj


© 2004-2008 readlist.com