On Thu, 2009-06-18 at 12:21 +0530, J. Bakshi wrote: > Dear list, > > Here is a very urgent problem with **relay** in my postfix. > > My postfix is allowed to relay a particular domain. I have put the > configuration as > > ```````````````````````````````` > relay_domains = < domian_name allowed to relay> > ````````````````````````````````````` > > I maintain a text file /etc/postfix/virtual as a source of all my user > aliases. > I have done " postmap /etc/postfix/virtual" to generate the hash file. > Here is my config in main.cf > > ``````````````` > virtual_alias_maps = hash:/etc/postfix/virtual > ``````````````````````````` > > To activate the map I have restarted the postfix as usual. > > If I check the mapping with " postmap -q <username>@<domain_name> > hash:/etc/postfix/virtual " it reports back its aliases. > Even from server If I send mail to a aliases it forwarded to its actual > destination perfectly. > > But If I send mail from another mail server to any of these aliases it > is not forwarded. Should I always send mail from my own server to get > the aliases working correctly ? then waht is the use of relay domain. > I am really very very confused. Please enlighten me. > > thanks
Can you explain "not forwarded" ? ( do you mean rejected, deferred , bounced .. or anything else ) What is the error you are getting ? Post the maillogs if any Also post the output of postconf -n